coininfo
coininfo copied to clipboard
JavaScript component for crypto currency specific information.
https://github.com/cryptocoinjs/coininfo/blob/1.0.0/lib/coins/btc.js Only in btc, blk, nbt -- do we need it? or can be deleted?
new structure `versions` (base58 prefixes) for bitcoin mainnet: ``` js { address: { p2pkh: 0x00, p2sh: 0x05, p2wpkh: 0x06, p2wsh: 0x0a }, privateKey: { compressed: 0x80, uncompressed: 0x80 }, bip32:...
If #22 will not happen, `endsWith` and `object-assign` can be used from `core-js`/`babel-runtime`
Sometimes we don't need information about all coins, maybe we should write package generator that produce next file structure: ``` root - index.js - bitcoin - index.js - mainnet -...
They are defined here: https://github.com/bitcoinjs/bip44-constants It's redundant to have them in two places.
If you accept my pull request, this issue will be resolved: https://github.com/cryptocoinjs/coininfo/issues/68