Open mr-zwets opened 1 month ago
somewhat related, the ninjas.cash mint used the following code when constructing the listSourceOutputs
for walletconnect
contract: {
abiFunction: transaction.abiFunction,
redeemScript: contract.redeemScript,
artifact: contract.artifact,
}
however as Salemkode pointed out transaction.abiFunction
is private in TS
For walletConnect signing with
SIGHASH_UTXOS
, users need access to the transactions' sourceOutputs.It is easy to generate sourceOutputs with the
transactionBuilder.inputs
but
transactionBuilder.inputs
is currently a private property.releated to issue https://github.com/CashScript/cashscript/issues/191 "Create a way for the advanced transaction builder to communicate with WalletConnect for signing"