{"id":28493778,"url":"https://github.com/bitcoinjs/bip44-constants","last_synced_at":"2025-10-25T12:12:17.207Z","repository":{"id":35207840,"uuid":"39466715","full_name":"bitcoinjs/bip44-constants","owner":"bitcoinjs","description":"This package provides BIP44 coin constants as found here: https://github.com/satoshilabs/slips/blob/master/slip-0044.md","archived":false,"fork":false,"pushed_at":"2025-06-22T03:42:36.000Z","size":450,"stargazers_count":92,"open_issues_count":0,"forks_count":64,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-06-22T04:26:10.800Z","etag":null,"topics":["bip44","bitcoin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitcoinjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-07-21T19:53:33.000Z","updated_at":"2025-06-22T03:42:39.000Z","dependencies_parsed_at":"2023-01-15T16:13:06.950Z","dependency_job_id":"eaa522a4-85b6-480c-a102-23647b8b1c2f","html_url":"https://github.com/bitcoinjs/bip44-constants","commit_stats":{"total_commits":683,"total_committers":19,"mean_commits":35.94736842105263,"dds":"0.11273792093704249","last_synced_commit":"c91254772fd221bcf37fc0e3e97a0f689dcfcab3"},"previous_names":[],"tags_count":502,"template":false,"template_full_name":null,"purl":"pkg:github/bitcoinjs/bip44-constants","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoinjs%2Fbip44-constants","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoinjs%2Fbip44-constants/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoinjs%2Fbip44-constants/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoinjs%2Fbip44-constants/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitcoinjs","download_url":"https://codeload.github.com/bitcoinjs/bip44-constants/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoinjs%2Fbip44-constants/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264277793,"owners_count":23583680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bip44","bitcoin"],"created_at":"2025-06-08T09:31:10.985Z","updated_at":"2025-10-25T12:12:17.150Z","avatar_url":"https://github.com/bitcoinjs.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# BIP44 Constants\n[![NPM Package](https://img.shields.io/npm/v/bip44-constants.svg?style=flat-square)](https://www.npmjs.org/package/bip44-constants)\n\nThis package provides BIP44 coin constants as found here: https://github.com/satoshilabs/slips/blob/master/slip-0044.md\n\nYou can read more about [BIP44](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki).\n\n\n## Install\n```\nnpm i --save bip44-constants\n```\n\n## Usage\n```js\nconst constants = require('bip44-constants')\nconsole.log(constants)\n\n// iterate through constants\n// format: constant, coinSymbol, coinName\n// ie. [ 0x80000002, \"LTC\", \"Litecoin\" ]\n// Some rows have no coin and are just indices and constants\nconstants.forEach(row =\u003e {\n  const constant = row[0]\n  const coinSymbol = row[1]\n  const coinName = row[2]\n\n  // ...\n  console.log(coinName, coinSymbol, constant)\n})\n\n// Find your coin by using filter\nconst liteCoin = constants.filter(item =\u003e item[1] === 'LTC')\n// ---- OR filter on multiple elements if you are aware of duplicates\nconst liquidBitcoin = constants.filter(item =\u003e item[1] === 'LBTC' \u0026\u0026 item[2] === 'Liquid BTC')\n\n// Be sure to assert there was only one result\nassert(liteCoin.length === 1)\nassert(liquidBitcoin.length === 1)\n\nconsole.log(liteCoin[0])\n// [ 2147483650, 'LTC', 'Litecoin' ]\nconsole.log(liquidBitcoin[0])\n// [ 2147485424, 'LBTC', 'Liquid BTC' ]\n\nconsole.log(liteCoin[0][0])\n// 2147483650 (which is 0x80000002 in hex)\nconsole.log(liquidBitcoin[0][0])\n// 2147485424 (which is 0x800006f0 in hex)\n```\n\n\n## Contributors\nIf you notice that `index.js` is out of date, please run `npm run update` and submit a pull request!\nAlternatively,  please submit an issue to notify us that is out of date.\n\n\n## LICENSE [MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoinjs%2Fbip44-constants","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitcoinjs%2Fbip44-constants","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoinjs%2Fbip44-constants/lists"}