JSPM

bip44-constants

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10054
  • Score
    100M100P100Q191603F
  • License MIT

Bitcoin BIP44 constants.

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: http://doc.satoshilabs.com/slips/slip-0044.html

You can read more about BIP44

Install

npm i --save bip44-constants

Usage

var constants = require('bip44-constants')
console.dir(constants)

// iterate through constants
Object.keys(constants).forEach(function (coin) {
  var constant = constants[coin]

  // you'll proabably want to convert to integer
  var constantNum = parseInt(constant, 10)
})

Updating

If you notice that constants.json is out of date, just run the update script and submit a PR or submit an issue to notify us.

License

MIT