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) 311 B
export declare function taprootTweakPrivKey(privKey: Uint8Array, merkleRoot?: Uint8Array): Uint8Array; export declare function taprootTweakPubkey(pubKey: Uint8Array, h?: Uint8Array): [Uint8Array, number]; export declare function taprootSignSighash(privKey: string, sighashes: string[], aux?: string): string[];