bitcoinjs-lib/types/networks.d.ts
2019-03-07 12:11:15 +09:00

16 lines
348 B
TypeScript

export interface Network {
messagePrefix: string;
bech32: string;
bip32: Bip32;
pubKeyHash: number;
scriptHash: number;
wif: number;
}
interface Bip32 {
public: number;
private: number;
}
export declare const bitcoin: Network;
export declare const regtest: Network;
export declare const testnet: Network;
export {};