leap-core

transaction and block implementation

Usage no npm install needed!

<script type="module">
  import leapCore from 'https://cdn.skypack.dev/leap-core';
</script>

README

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.