Skip to content
A BIP32 compatible library.
JavaScript TypeScript
Branch: master
Clone or download
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.
src Match bitcoinjs-lib network Jan 9, 2020
test Add tests for low R signing Apr 15, 2019
ts-src Match bitcoinjs-lib network Jan 9, 2020
types Add lowR attribute Jul 25, 2019
.gitignore Initial commit May 1, 2018
.prettierignore Add linting with tslint Mar 7, 2019
.prettierrc.json Add linting with tslint Mar 7, 2019
.travis.yml Make Travis use gitdiff to check js and ts diff Mar 29, 2019
CONTRIBUTING.md Add contributing that links to bitcoinjs-lib Mar 7, 2019
LICENSE LICENSE should be MIT, Bitcoinjs contrib Aug 10, 2018
README.md Fix readme and update license to match LICENSE file Mar 18, 2019
package-lock.json 2.0.5 Jan 9, 2020
package.json
tsconfig.json Fix tsconfig order and add lib Mar 7, 2019
tslint.json Add linting with tslint Mar 7, 2019

README.md

bip32

Build Status

NPM

code style: prettier

A BIP32 compatible library written in TypeScript with transpiled JavaScript committed to git.

Example

TypeScript

import * as bip32 from 'bip32';
import { BIP32Interface } from 'bip32';
let node: BIP32Interface = bip32.fromBase58('xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbPy6cq3jPPqjiChkVvvNKmPGJxWUtg6LnF5kejMRNNU3TGtRBeJgk33yuGBxrMPHi');

let child: BIP32Interface = node.derivePath('m/0/0');
// ...

NodeJS

let bip32 = require('bip32')
let node = bip32.fromBase58('xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbPy6cq3jPPqjiChkVvvNKmPGJxWUtg6LnF5kejMRNNU3TGtRBeJgk33yuGBxrMPHi')

let child = node.derivePath('m/0/0')
// ...

LICENSE MIT

A derivation (and extraction for modularity) of the HDWallet/HDNode written and tested by bitcoinjs-lib contributors since 2014.

You can’t perform that action at this time.