Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 888 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 888 Bytes

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

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.sh script and submit a PR or submit an issue to notify us.

LICENSE MIT