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 |