From 98a8aa7ddb94c0052b61b089d5cf4bd325e1d7e5 Mon Sep 17 00:00:00 2001 From: ZhiMing Zhang Date: Wed, 3 Apr 2024 15:30:33 +0800 Subject: [PATCH] Update README.md add commands to use btcctl connect wallet for new users --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index b7cb2c5c60..7474fb6654 100644 --- a/README.md +++ b/README.md @@ -162,6 +162,22 @@ $ cp $GOPATH/src/github.com/btcsuite/btcd/sample-btcd.conf ~/.btcd/btcd.conf $ cp $GOPATH/src/github.com/btcsuite/btcwallet/sample-btcwallet.conf ~/.btcwallet/btcwallet.conf $ $EDITOR ~/.btcd/btcd.conf $ $EDITOR ~/.btcwallet/btcwallet.conf +``` +- Run the following command to unlock wallet : +``` +./btcctl --wallet -u test -P "test" --testnet -s btcd-wallet walletpassphrase --skipverify passwd 30 + +``` + +- Run the following command to create account : +``` +./btcctl --wallet -u test -P "test" --testnet -s btcd-wallet createnewaccount abc +``` + +- Run the following command to list account : +``` +./btcctl --wallet -u test -P "test" --testnet -s btcd-wallet listaccounts + ``` ## Issue Tracker