sparrowwallet / sparrow

Desktop Bitcoin Wallet focused on security and privacy. Free and open source.
https://sparrowwallet.com/
Apache License 2.0
1.28k stars 185 forks source link

Inadvertently used Taproot script and created/funded a wallet using a Tapsigner #1366

Closed aspenrecon closed 5 months ago

aspenrecon commented 5 months ago

Since Tapsigner cannot sign taproot transactions, the funds are stuck. I imported the tapsigner XPRV to a coldcard and tried creating a new hot wallet with the same script but received the following error. Any suggestions on how to proceed? sparrow.log

craigraw commented 5 months ago

What export function are you using on the Coldcard? The error you are getting indicates you are exporting for a multisig wallet. Try the file created by using the Advanced > MicroSD > Export Wallet > Generic JSON > 0 function.

aspenrecon commented 5 months ago

ive tried Generic JSON and the Sparrow Wallet export. Get the same import error "No enum constant...com.sparrowwallet.drongo.protocol.SCriptType.P2SH-P2WSH"

craigraw commented 5 months ago

Found the problem. You will need to install the Edge (6.x) firmware onto the Coldcard to be able to sign Taproot transactions (or even export a P2TR wallet).

aspenrecon commented 5 months ago

That was it. Much appreciated craigraw

craigraw commented 5 months ago

Improved the error message in 2441b4d7. Thanks for reporting.