Bond API for use with Parity
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.babelrc
.deps
.editorconfig
.eslintrc.json Merge in Jaco's repotting to remove es2015 babelling. Oct 21, 2017
.gitignore
.travis.yml
LICENSE
README.md
package-lock.json
package.json

README.md

oo7-parity

A library to provide Bond-related functionality for the Parity Ethereum implementation and other compatible systems.

See the oo7-parity reference for more information on usage.

Installation

npm install oo7-parity --save

Usage

var oo7parity = require('oo7-parity'),
  bonds = oo7parity.bonds,
  formatBlockNumber = oo7parity.formatBlockNumber;

// Prints a nicely formatted block number each time there's a new block.
bonds.blockNumber.map(formatBlockNumber).tie(console.log);

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Release History

  • 0.1.2 Add contract reading bonds
  • 0.1.1 Initial release