/leap-core

library for tx and block signing

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

leap-core

Build Status codecov

test:

yarn
yarn test

install:

yarn add -S leap-core

Create Transaction Proof:

const transfer = Tx.transfer(height, ins, outs).sign(privKey);
const block = new Block(parent, height);
block.proof(transfer.toRaw(), position, [SIBLING_HASH, SIBLING_HASH])

LICENSE

Most source files (lib folder and below) are made available under the terms of the GNU Affero General Public License (GNU AGPLv3). See individual files for details.