parsec-lib
Version:
transaction and block implementation
26 lines (18 loc) • 490 B
Markdown
# parsec-lib
test:
```
npm install
npm test
```
install:
```
npm i -S parsec-lib
```
## 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 Parsec Lib 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.