Skip to content

corymsmith/bip44-constants

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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(coinSymbol => {
  const constant = constants[coinSymbol]

  // ...
  console.log(coinSymbol, constant)
})

console.log(constants['LTC'])
// => 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

About

This package provides BIP44 coin constants as found here: https://github.com/satoshilabs/slips/blob/master/slip-0044.md

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%