PSBT Not Signing via HWI – `0x5515` Error from `bitcoininsotype.signpsbt:4`
I'm trying to sign a valid PSBT using HWI with a hardware wallet (Ledger), but I'm getting an error during signing:
HWIError: 0x5515 error in bitcoininsotype.signpsbt:4
🔧 Setup:
-
Network: regtest
-
Hardware wallet: Ledger Nano S Plus
-
Descriptor used (watch-only wallet imported to Bitcoin Core):
tr([<fingerprint>/86h/1h/0h]tpub.../0/*)
-
UTXO:
{ "desc": "tr([fingerprint/86h/1h/0h/0/0]pubkey)#checksum", "amount": 1.0, ... }
-
PSBT creation (using
bitcoin-cli
):bitcoin-cli -regtest -rpcwallet=tapwatch walletcreatefundedpsbt \ "[{ \"txid\": \"...\", \"vout\": 0 }]" \ "[{ \"bcrt1...\": 0.00099 }]" \ 0 '{ "includeWatching": true, "replaceable": false, "subtractFeeFromOutputs": [0] }'
-
Signing command:
hwi --device-type ledger --fingerprint <FPR> signpsbt <base64_psbt>
❌ Problem:
HWI throws this error:
0x5515 error in bitcoininsotype.signpsbt:4
-
PSBT inputs are Taproot (Bech32m).
-
Wallet was created via:
createwallet "tapwatch" true true "" true
-
Descriptor imported using
importdescriptors
.
✅ Tried:
- Verified descriptor and derivation paths.
- Funded address matches the descriptor.
- Ledger is on latest firmware.
- Ledger Live is not running (to avoid interference).
- Attempted multiple derivation paths:
m/86h/1h/0h/0/0
andm/86h/1h/0h/0/1
.
🧠 Questions:
- What does the
0x5515
error code indicate? - Is it possible that HWI/Bitcoin Core is producing an invalid or incomplete PSBT for Ledger?
- Are there specific limitations with Ledger regarding Taproot + HWI signing (e.g., script type, derivation path)?
- How can I fix or debug this issue?
Any insight into what this error means or how to resolve it would be appreciated.
from Recent Questions - Bitcoin Stack Exchange https://ift.tt/h1bEV6n
via IFTTT