1 |
|
2 |
|
3 |
|
4 |
|
5 | import * as bip32 from 'bip32';
|
6 | import * as utxolib from '@bitgo/utxo-lib';
|
7 | import { V1Network } from './v2/types';
|
8 | export declare function getNetwork(network?: V1Network): utxolib.Network;
|
9 | export declare function makeRandomKey(): utxolib.ECPair.ECPairInterface;
|
10 | interface LegacyECPair {
|
11 | network: utxolib.Network;
|
12 | getPublicKeyBuffer(): Buffer;
|
13 | }
|
14 | export declare function getAddressP2PKH(key: utxolib.ECPair.ECPairInterface | bip32.BIP32Interface | LegacyECPair): string;
|
15 | export {};
|
16 |
|
\ | No newline at end of file |