|
February 05, 2021, 12:29:54 PM |
|
Hi,
We work with a ColdCard wallet and Bitcoin Core 0.21 setup.
Everything works fine with legacy wallet format, ColdCard exports an importmulti command and Core has the watch only addresses: importmulti '[{"range": [0, 1000], "timestamp": "now", "keypool": true, "watchonly": true, "desc": "wpkh([*hash*/84h/1h/0h]*tpub*/0/*)#*hash*", "internal": false}, {"range": [0, 1000], "timestamp": "now", "keypool": true, "watchonly": true, "desc": "wpkh([*hash*/84h/1h/0h]*tpub*../1/*)#*hash*", "internal": true}]'
We would like to move to Descriptor wallet in which case importmulti is not working. If I just simply replace importmulti with importdescriptors it runs fine, but the wallet is not able to create/give any new address (get new address button is grayed out) getnewaddress returns "Error: This wallet has no available keys (code -4)".
Is there a way to import the xpub to a descriptor wallet (I tried to search, but no results so far) correctly?
Thanks Gabor
PS: Original tpubs and hashes were removed from commands.
|