UNPKG

@xlink-network/xlink-sdk

Version:
7 lines (6 loc) 734 B
export { BitcoinNetwork, UTXOBasic, UTXOConfirmed, UTXOSpendable, bitcoinToSatoshi, getP2TRInternalPublicKey_from_P2TR_publicKey, getRedeemScript_from_P2SH_P2WPKH_publicKey, getTapInternalKey_from_P2TR_publicKey, isSameUTXO, satoshiToBitcoin, sumUTXO } from './bitcoinUtils/bitcoinHelpers.js'; export { GetConfirmedSpendableUTXOFn, reselectSpendableUTXOsFactory, reselectSpendableUTXOsWithSafePadFactory, selectUTXOs } from './bitcoinUtils/selectUTXOs.js'; export { BitcoinRecipient, BitcoinTransactionPrepareResult, ReselectSpendableUTXOsFn, prepareTransaction } from './bitcoinUtils/prepareTransaction.js'; export { createTransaction } from './bitcoinUtils/createTransaction.js'; import '@c4/btc-utils'; import '@scure/btc-signer';