Skip to content

Latest commit

 

History

History

spycraft-tetsy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

spycraft-tetsy

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.

Installation

npm install spycraft-tetsy --save

Usage

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);

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 spooks
  • 0.1.1 Initial release