Tangem Wallet Pack of 2 - Secure Crypto Wallet - Trusted Cold Storage for Bitcoin, Ethereum, NFT's &

Tangem Wallet Pack of 2 - Secure Crypto Wallet - Trusted Cold Storage for Bitcoin, Ethereum, NFT's &
Key item features Ultimate Security: Generates a private key that remains on the card, safeguarding crypto and NFTs from hackers with EAL6+ certification and audited firmware. Versatile Compatibility: Manages over 13,000 tokens across 70+ blockchains, supporting DeFi, NFTs, and DeEx without wires, Bluetooth, or USB. Effortless Operation: Utilizes NFC for secure transactions via a mobile device and the Tangem app, enabling buying and selling crypto with various payment methods. Smart Backup: Features a second Tangem Wallet as a backup, eliminating the need for paper, pictures, or seed phrases for recovery. Durable Design: Boasts IP68 protection against environmental conditions, ensuring longevity and robust physical security. Comprehensive Support: Compatible with Bitcoin, Ethereum, Solana, XRP, USDT, and over 6,000 cryptocurrencies, integrating with dApps and WalletConnect.

LBANK

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 and m/86h/1h/0h/0/1.

🧠 Questions:

  1. What does the 0x5515 error code indicate?
  2. Is it possible that HWI/Bitcoin Core is producing an invalid or incomplete PSBT for Ledger?
  3. Are there specific limitations with Ledger regarding Taproot + HWI signing (e.g., script type, derivation path)?
  4. 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