UNPKG

@okxweb3/coin-bitcoin

Version:

@ok/coin-bitcoin is a Bitcoin SDK for building Web3 wallets and applications. It supports BTC, BSV, DOGE, LTC, and TBTC, enabling private key management, transaction signing, address generation, and inscriptions like BRC-20, Runes, CAT, and Atomicals.

7 lines (6 loc) 202 B
export declare function encode(prefix: string, type: string, hash: Uint8Array): string; export declare function decode(address: string): { prefix: string; type: string; hash: Uint8Array; };