Comments (2)
Change index from 0 to 1. ( "vout": 1
)
from bitcoinjs-lib.
Change index from 0 to 1. (
"vout": 1
)
I changed it:
{
"txid": "2a44f088778bee025f9c016880daac779be9f2e917f4363cb0dbe756514d6f18",
"vout": 1
}
But i get error again:
Non-witness UTXO hash for input #0 doesn't match the hash specified in the prevout
for this line: psbt.signInput(0, alice);
from bitcoinjs-lib.
Related Issues (20)
- offline signing with multiple utxos from different addresses HOT 3
- Question: Bitcoinjs-lib will support Testnet4? HOT 4
- Function to determine address type by address or redeemScript HOT 1
- Can't use tiny-secp256k1 (required by bitcoinjs-lib for ECC) in browser: fs_1.readFileSync is not a function HOT 7
- Psbt.signInput Passed but Broadcast Failure with msg `non-mandatory-script-verify-flag (Witness program hash mismatch)` HOT 5
- How to make taproot P2TR multiSig wallet HOT 3
- Error when deserializing a PSBT HOT 6
- Getting non-mandatory-script-verify-flag (Invalid Schnorr signature) on taproot key path spending with LEDGER nano HOT 1
- Tesnet: is not a valid bitcoin testnet address HOT 3
- Faucet for P2PKH testnet HOT 2
- No inputs were signed HOT 6
- Error: Need validator function to validate signatures HOT 11
- Invalid network version from bitcoin.ECPair.fromWIF(senderPrivateKey, network) - bitcoinjs-lib ^5.2.0 HOT 1
- How to combine Blockcypher /txs/new API to do RBF HOT 22
- non-mandatory-script-verify-flag (Signature must be zero for failed CHECK(MULTI)SIG operation) HOT 2
- How to sign Psbt with P2WSH(P2MS) Script? HOT 1
- How to get exact tx fee HOT 3
- [Question]: Mempool Conflict Error HOT 2
- Is the tapMerkleRoot required in the input during a key-spend?
- Feature Request: Taproot support for signAllInputsHD HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitcoinjs-lib.