how do you dump backup right into a json file?
then how do you load the json file into backup?
”
Find out how to create the descriptors pockets?
createwallet(“my_wallet”, False, False, “”, False, True, False)
getnewaddress(“my_label”, “bech32”)
Find out how to save the pockets?
backup = listdescriptors(True)[‘descriptors’]
Dump backup right into a json file
This file might be printed or saved for later reuse.
Find out how to restore the pockets?
createwallet(“my_wallet_2”, False, True, “”, False, True, False)
Load the json file into backup
importdescriptors(backup)
getnewaddress(“my_label”, “bech32”)
This could give the identical BTC handle as earlier than.
“
