UNPKG

bitcoinjs-lib

Version:

Client-side Bitcoin JavaScript library

31 lines (30 loc) 727 B
/** * Represents a Bitcoin network configuration,including messagePrefix, bech32, bip32, pubKeyHash, scriptHash, wif. * Support bitcoin、bitcoin testnet and bitcoin regtest. * @packageDocumentation */ export interface Network { messagePrefix: string; bech32: string; bip32: Bip32; pubKeyHash: number; scriptHash: number; wif: number; } interface Bip32 { public: number; private: number; } /** * Represents the Bitcoin network configuration. */ export declare const bitcoin: Network; /** * Represents the regtest network configuration. */ export declare const regtest: Network; /** * Represents the testnet network configuration. */ export declare const testnet: Network; export {};