{"name":"bip32","version":"5.0.0-rc.0","keywords":["bip32","bitcoinjs","bitcoin","secp256k1"],"author":{"name":"Daniel Cousens"},"license":"MIT","_id":"bip32@5.0.0-rc.0","maintainers":[{"name":"fanatid","email":"fanatid@ya.ru"},{"name":"jprichardson","email":"jprichardson@gmail.com"},{"name":"junderw","email":"jonathan.underwood4649@gmail.com"}],"homepage":"https://github.com/bitcoinjs/bip32#readme","bugs":{"url":"https://github.com/bitcoinjs/bip32/issues"},"dist":{"shasum":"848b21541ccf8f35d6f2a6ad553368df70d705ed","tarball":"http://registry-npm.ywwl.com/bip32/download/bip32-5.0.0-rc.0.tgz","fileCount":18,"integrity":"sha512-5hVFGrdCnF8GB1Lj2eEo4PRE7+jp+3xBLnfNjydivOkMvKmUKeJ9GG8uOy8prmWl3Oh154uzgfudR1FRkNBudA==","signatures":[{"sig":"MEUCIEYNDR0DKL5ARlhzJFia6BETw8rXs2TZXYytZKVSscrWAiEA3nxAv2iZ9LhuLnGGOBZFch2pqPaJ1RBMcx8ZM9R5CZg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54343,"size":9432,"noattachment":false,"key":"/bip32/-/bip32-5.0.0-rc.0.tgz"},"main":"./src/cjs/index.cjs","type":"module","types":"./src/cjs/index.d.ts","module":"./src/esm/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./src/cjs/index.d.ts","import":"./src/esm/index.js","require":"./src/cjs/index.cjs"}},"gitHead":"0dadee9402596954c02b71e3039c52a828931680","scripts":{"lint":"tslint -p tsconfig.json -c tslint.json","test":"npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage","unit":"npm run build && npm run nobuild:unit","build":"tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json","format":"npm run prettier -- --write","coverage":"npm run build && npm run nobuild:coverage","prettier":"prettier 'ts-src/**/*.ts' --ignore-path ./.prettierignore","format:ci":"npm run prettier -- --check","postbuild":"find src/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && chmod +x fixup.cjs && node fixup.cjs","gitdiff:ci":"npm run build && git diff --exit-code","nobuild:unit":"tape test/*.js","coverage-report":"npm run build && npm run nobuild:coverage-report","nobuild:coverage":"c8 --check-coverage --branches 90 --functions 90 npm run nobuild:unit","nobuild:coverage-report":"c8 report --reporter=lcov"},"_npmUser":{"name":"junderw","email":"jonathan.underwood4649@gmail.com"},"repository":{"url":"git+https://github.com/bitcoinjs/bip32.git","type":"git"},"_npmVersion":"9.5.1","description":"A BIP32 compatible library","directories":{},"_nodeVersion":"18.16.1","dependencies":{"wif":"^5.0.0","valibot":"^0.37.0","@scure/base":"^1.1.1","@noble/hashes":"^1.2.0","uint8array-tools":"^0.0.8"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.2","tape":"^5.3.0","tslint":"^6.1.0","prettier":"1.16.4","typescript":"^5.0.4","@types/node":"18.x","@types/tape":"^5.6.4","tiny-secp256k1":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/bip32_5.0.0-rc.0_1725804638547_0.770557911967009","host":"s3://npm-registry-packages"},"readme":"# bip32\n[![Github CI](https://github.com/bitcoinjs/bip32/actions/workflows/main_ci.yml/badge.svg)](https://github.com/bitcoinjs/bip32/actions/workflows/main_ci.yml) [![NPM](https://img.shields.io/npm/v/bip32.svg)](https://www.npmjs.org/package/bip32) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n\nA [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) compatible library written in TypeScript with transpiled JavaScript committed to git.\n\n\n## Example\n\nTypeScript\n\n``` typescript\nimport BIP32Factory from 'bip32';\nimport * as ecc from 'tiny-secp256k1';\nimport { BIP32Interface } from 'bip32';\n// You must wrap a tiny-secp256k1 compatible implementation\nconst bip32 = BIP32Factory(ecc);\n\nconst node: BIP32Interface = bip32.fromBase58('xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbPy6cq3jPPqjiChkVvvNKmPGJxWUtg6LnF5kejMRNNU3TGtRBeJgk33yuGBxrMPHi');\n\nconst child: BIP32Interface = node.derivePath('m/0/0');\n// ...\n```\n\nNodeJS\n\n``` javascript\nconst ecc = require('tiny-secp256k1')\nconst { BIP32Factory } = require('bip32')\n// You must wrap a tiny-secp256k1 compatible implementation\nconst bip32 = BIP32Factory(ecc)\n\nconst node = bip32.fromBase58('xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbPy6cq3jPPqjiChkVvvNKmPGJxWUtg6LnF5kejMRNNU3TGtRBeJgk33yuGBxrMPHi')\n\nconst child = node.derivePath('m/0/0')\n```\n\n## LICENSE [MIT](LICENSE)\nA derivation (and extraction for modularity) of the `HDWallet`/`HDNode` written and tested by [bitcoinjs-lib](https://github.com/bitcoinjs/bitcoinjs-lib) contributors since 2014.\n","publish_time":1725804638724,"_cnpm_publish_time":1725804638724,"dist-tags":{"latest":"5.0.1"}}