Skip to content
This package provides BIP44 coin constants as found here: https://github.com/satoshilabs/slips/blob/master/slip-0044.md
JavaScript
Branch: master
Clone or download
Pull request Compare This branch is 39 commits behind bitcoinjs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
CHANGELOG.md
LICENSE
README.md
index.js
package.json
update.sh

README.md

BIP44 Constants

NPM Package

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.

LICENSE MIT

You can’t perform that action at this time.