UNPKG

@btc-vision/transaction

Version:

OPNet transaction library allows you to create and sign transactions for the OPNet network.

27 lines (26 loc) 1.13 kB
export var UnisatNetwork; (function (UnisatNetwork) { UnisatNetwork["testnet"] = "testnet"; UnisatNetwork["mainnet"] = "livenet"; UnisatNetwork["regtest"] = "regtest"; })(UnisatNetwork || (UnisatNetwork = {})); export var UnisatChainType; (function (UnisatChainType) { UnisatChainType["BITCOIN_MAINNET"] = "BITCOIN_MAINNET"; UnisatChainType["BITCOIN_TESTNET"] = "BITCOIN_TESTNET"; UnisatChainType["BITCOIN_TESTNET4"] = "BITCOIN_TESTNET4"; UnisatChainType["BITCOIN_REGTEST"] = "BITCOIN_REGTEST"; UnisatChainType["BITCOIN_SIGNET"] = "BITCOIN_SIGNET"; UnisatChainType["FRACTAL_BITCOIN_MAINNET"] = "FRACTAL_BITCOIN_MAINNET"; UnisatChainType["FRACTAL_BITCOIN_TESTNET"] = "FRACTAL_BITCOIN_TESTNET"; })(UnisatChainType || (UnisatChainType = {})); export var MessageType; (function (MessageType) { MessageType["ecdsa"] = "ecdsa"; MessageType["bip322"] = "bip322-simple"; })(MessageType || (MessageType = {})); export var SignatureType; (function (SignatureType) { SignatureType["ecdsa"] = "ecdsa"; SignatureType["schnorr"] = "schnorr"; })(SignatureType || (SignatureType = {}));