stratcore-lib

0.0.6 • Public • Published

stratcore-lib

A fork of bitcore-lib for Stratis.

Please note that this is an unofficial port and it has not been tested.

Install via npm

npm install stratcore-lib

Test using

npm run test

Example address creation

var stratcore = require('stratcore-lib');

var privKey = new stratcore.PrivateKey();

console.log(privKey, privKey.toAddress());

// Outputs:
// <PrivateKey: e04d8b98297ff0a8d30bacd788c32ea2cc750486f4dcd03644a2c11e25e294ea, network: livenet> <Address: SWb2KFXG8ArWg2aeoxJLAs1itxXXtPPe9E, type: pubkeyhash, network: livenet>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    2
    • latest

Version History

Package Sidebar

Install

npm i stratcore-lib

Weekly Downloads

6

Version

0.0.6

License

MIT

Unpacked Size

5.39 MB

Total Files

138

Last publish

Collaborators

  • rjmacarthy