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.

9 lines (8 loc) 259 B
/// <reference types="node" /> interface ScriptSignature { signature: Buffer; hashType: number; } export declare function decode(buffer: Buffer): ScriptSignature; export declare function encode(signature: Buffer, hashType: number): Buffer; export {};