Closed untitledlt closed 3 weeks ago
sigRequests:
[{
"prevTxid":"0bd6f3bcde2604ded1564f171c5902a549f8480394821b40a683303283a1624a",
"outputIndex":1,
"inputIndex":0,
"satoshis":99822,
"address":"1Lokk79RmDdD5weTgZbFbGxW3M4NwTiSFC"
}]
Need to include script
The output script for the input you are signing
This was resolved as user error
I am trying to create an unsigned transaction using @bsv/sdk lib and later sign it using Yours wallet. No matter how I try, I am not able to produce valid signature to unlock utxo. I tried doing this on testnet and mainnet. Here's the parsed signature from whatsonchain.com (note [error] at the end):
I have created a minimal React project to show how I do that: https://github.com/untitledlt/yours-wallet-test/blob/main/src/App.tsx
Please guide me what I am doing wrong here. Thanks!