UNPKG

@okxweb3/coin-bitcoin

Version:

@okxweb3/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

4 lines (3 loc) 183 B
/// <reference types="node" /> export declare function decode(buffer: Buffer, maxLength?: number, minimal?: boolean): number; export declare function encode(_number: number): Buffer;