Skip to content

go-faast/bip32

This branch is up to date with kenshyx/bip32:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1f7afb5 · Jan 16, 2020

History

65 Commits
Jan 9, 2020
Apr 15, 2019
Jan 16, 2020
Jul 25, 2019
May 1, 2018
Mar 7, 2019
Mar 7, 2019
Mar 29, 2019
Mar 7, 2019
Aug 10, 2018
Mar 18, 2019
Jan 16, 2020
Jan 16, 2020
Mar 7, 2019
Mar 7, 2019

Repository files navigation

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.

About

A BIP32 compatible library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 59.9%
  • TypeScript 40.1%