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

24 lines 1.45 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BtcXrcTypes = void 0; var BtcXrcTypes; (function (BtcXrcTypes) { BtcXrcTypes[BtcXrcTypes["INSCRIBE"] = 1] = "INSCRIBE"; BtcXrcTypes[BtcXrcTypes["PSBT"] = 2] = "PSBT"; BtcXrcTypes[BtcXrcTypes["PSBT_MPC_UNSIGNED_LIST"] = 21] = "PSBT_MPC_UNSIGNED_LIST"; BtcXrcTypes[BtcXrcTypes["PSBT_MPC_SIGNED_LIST"] = 22] = "PSBT_MPC_SIGNED_LIST"; BtcXrcTypes[BtcXrcTypes["PSBT_MPC_UNSIGNED_BUY"] = 23] = "PSBT_MPC_UNSIGNED_BUY"; BtcXrcTypes[BtcXrcTypes["PSBT_MPC_SIGNED_BUY"] = 24] = "PSBT_MPC_SIGNED_BUY"; BtcXrcTypes[BtcXrcTypes["PSBT_MPC_UNSIGNED"] = 25] = "PSBT_MPC_UNSIGNED"; BtcXrcTypes[BtcXrcTypes["PSBT_MPC_SIGNED"] = 26] = "PSBT_MPC_SIGNED"; BtcXrcTypes[BtcXrcTypes["PSBT_RUNEMAIN"] = 27] = "PSBT_RUNEMAIN"; BtcXrcTypes[BtcXrcTypes["PSBT_KEY_SCRIPT_PATH"] = 3] = "PSBT_KEY_SCRIPT_PATH"; BtcXrcTypes[BtcXrcTypes["PSBT_KEY_SCRIPT_PATH_BATCH"] = 4] = "PSBT_KEY_SCRIPT_PATH_BATCH"; BtcXrcTypes[BtcXrcTypes["SRC20"] = 101] = "SRC20"; BtcXrcTypes[BtcXrcTypes["RUNE"] = 102] = "RUNE"; BtcXrcTypes[BtcXrcTypes["RUNEMAIN"] = 103] = "RUNEMAIN"; BtcXrcTypes[BtcXrcTypes["PSBT_DEODE"] = 104] = "PSBT_DEODE"; BtcXrcTypes[BtcXrcTypes["ARC20"] = 114] = "ARC20"; BtcXrcTypes[BtcXrcTypes["CAT20"] = 115] = "CAT20"; })(BtcXrcTypes = exports.BtcXrcTypes || (exports.BtcXrcTypes = {})); //# sourceMappingURL=common.js.map