1 |
|
2 | import { BIP32Interface } from "bip32";
|
3 | import { IKeyPair } from "../interfaces";
|
4 | export declare class HDWallet {
|
5 | static readonly slip44 = 111;
|
6 | |
7 |
|
8 |
|
9 | static fromMnemonic(mnemonic: string, passphrase?: string): BIP32Interface;
|
10 | |
11 |
|
12 |
|
13 | static fromKeys(keys: IKeyPair, chainCode: Buffer): BIP32Interface;
|
14 | |
15 |
|
16 |
|
17 | static getKeys(node: BIP32Interface): IKeyPair;
|
18 | |
19 |
|
20 |
|
21 | static deriveSlip44(root: BIP32Interface, hardened?: boolean): BIP32Interface;
|
22 | |
23 |
|
24 |
|
25 | static deriveNetwork(root: BIP32Interface): BIP32Interface;
|
26 | }
|