A library to provide Spook
-related functionality for the Parity Ethereum
implementation and other compatible systems.
See the spycraft-tetsy reference for more information on usage.
npm install spycraft-tetsy --save
var spycrafttetsy = require('spycraft-tetsy'),
spooks = spycrafttetsy.spooks,
formatBlockNumber = spycrafttetsy.formatBlockNumber;
// Prints a nicely formatted block number each time there's a new block.
spooks.blockNumber.map(formatBlockNumber).tie(console.log);
npm test
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.
- 0.1.2 Add contract reading spooks
- 0.1.1 Initial release