You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) compatible library.
8
+
A [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) compatible library written in TypeScript with transpiled JavaScript committed to git.
9
9
10
10
11
11
## Example
12
+
13
+
TypeScript
14
+
15
+
```typescript
16
+
import*asbip32from'bip32';
17
+
import { BIP32Interface } from'bip32';
18
+
let node:BIP32Interface=bip32.fromBase58('xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbPy6cq3jPPqjiChkVvvNKmPGJxWUtg6LnF5kejMRNNU3TGtRBeJgk33yuGBxrMPHi');
19
+
20
+
let child:BIP32Interface=node.derivePath('m/0/0');
21
+
// ...
22
+
```
23
+
24
+
NodeJS
25
+
12
26
```javascript
13
27
let bip32 =require('bip32')
14
28
let node =bip32.fromBase58('xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbPy6cq3jPPqjiChkVvvNKmPGJxWUtg6LnF5kejMRNNU3TGtRBeJgk33yuGBxrMPHi')
0 commit comments