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.

20 lines (19 loc) 447 B
export declare enum BtcXrcTypes { INSCRIBE = 1, PSBT = 2, PSBT_MPC_UNSIGNED_LIST = 21, PSBT_MPC_SIGNED_LIST = 22, PSBT_MPC_UNSIGNED_BUY = 23, PSBT_MPC_SIGNED_BUY = 24, PSBT_MPC_UNSIGNED = 25, PSBT_MPC_SIGNED = 26, PSBT_RUNEMAIN = 27, PSBT_KEY_SCRIPT_PATH = 3, PSBT_KEY_SCRIPT_PATH_BATCH = 4, SRC20 = 101, RUNE = 102, RUNEMAIN = 103, PSBT_DECODE = 104, ARC20 = 114, CAT20 = 115 }