commit 8000e684242c5b13324afddae217a2c8904ee270 parent cfbc2c2db77cd9a40b7175ccd7c1c6a569c3d3c7 Author: William Casarin <jb55@jb55.com> Date: Wed, 19 May 2021 16:11:09 -0700 readme: import keys as a descriptor wallet instead Signed-off-by: William Casarin <jb55@jb55.com> Diffstat:
M | README.md | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md @@ -64,6 +64,6 @@ used when creating new addresses from the api, etc. Now we can import this into bitcoin: - $ bitcoin-cli createwallet clightning true - $ bitcoin-cli -rpcwallet=clightning importmulti "$(cat descriptors.json)" '{"rescan": false}' + $ bitcoin-cli -named createwallet wallet_name=clightning disable_private_keys=true descriptors=true load_on_startup=true + $ bitcoin-cli -rpcwallet=clightning importdescriptors "$(cat descriptors.json)" $ bitcoin-cli -rpcwallet=clightning rescanblockchain 503500