JSPM

  • Created
  • Published
  • Downloads 20180
  • Score
    100M100P100Q132243F

JavaScript component for crypto currency specific information.

Package Exports

  • coininfo

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (coininfo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

coininfo

JavaScript component for crypto currency specific information.

Installation

npm install --save coininfo

Usage

var coininfo = require('coininfo');
console.dir(coininfo('LTC')) // => { versions: { public: 48, private: 176, scripthash: 5} }

Useful to use in conjunction with coinkey and coinstring.

Supported

Crypto Coin Public Address Private Wallet Import Format Script Hash
BTC 0x00 0x80 0x05
BTC-TEST 0x6F 0xEF 0xC4
DOGE 0x1E 0x9E 0x16
DOGE-TEST 0x71 0xF1 0xC4
LTC 0x30 0xB0 0x05
LTC-TEST 0x6F 0xEF 0xC4
NMC 0x34 0xB4 0x05