caravan-bitcoin / caravan

Caravan monorepo
https://caravanmultisig.com
MIT License
37 stars 32 forks source link

Add "Import into Bitcoin Core Wallet" feature #95

Open pcgeiger opened 6 months ago

pcgeiger commented 6 months ago

Currently, exporting a descriptor file requires a bunch of manual manipulation to get into a format that bitcoin core wallet expects with the importdescriptors command.

Add a button or dropdown menu next to the current descriptor functionality that displays the command to copy and paste into Bticoin Core console, ideally include the rescan command as well.

Here's the format Bitcoin Core expects:

importdescriptors "[{ \"desc\": \"descriptor\", \"timestamp\": \"now\", \"active\": true}]"