Package Exports
- bip44-constants
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 (bip44-constants) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
BIP44 Constants
This package provides BIP44 coin constants as found here: https://github.com/satoshilabs/slips/blob/master/slip-0044.md
You can read more about BIP44.
Install
npm i --save bip44-constants
Usage
const constants = require('bip44-constants')
console.log(constants)
// iterate through constants
Object.keys(constants).forEach(coin => {
const constant = constants[coin]
// ...
console.log(coin, constant)
})
console.log(constants['Litecoin'])
// => 2147483650 // equivalent to 0x80000002
Contributors
If you notice that constants.json
is out of date, please run ./update.sh > index.js
and submit a pull request!
Alternatively, please submit an issue to notify us that is out of date.