]> Untitled Git - bdk-cli/commitdiff
Update README.md
authorSteve Myers <steve@notmandatory.org>
Thu, 4 Feb 2021 00:43:40 +0000 (16:43 -0800)
committerSteve Myers <steve@notmandatory.org>
Thu, 4 Feb 2021 00:43:40 +0000 (16:43 -0800)
README.md

index d698abf3b798474c9e21f8fdb44fb2619bf211b3..46deea397c881705dc342a2a15097b31ae581c5a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -20,11 +20,17 @@ cargo run
 To sync a wallet to the default electrum server:
 
 ```shell
-cargo run -- --descriptor "wpkh(tpubEBr4i6yk5nf5DAaJpsi9N2pPYBeJ7fZ5Z9rmN4977iYLCGco1VyjB9tvvuvYtfZzjD5A8igzgw3HeWeeKFmanHYqksqZXYXGsw5zjnj7KM9/*)" sync
+cargo run -- wallet --descriptor "wpkh(tpubEBr4i6yk5nf5DAaJpsi9N2pPYBeJ7fZ5Z9rmN4977iYLCGco1VyjB9tvvuvYtfZzjD5A8igzgw3HeWeeKFmanHYqksqZXYXGsw5zjnj7KM9/*)" sync
 ```
 
 To get a wallet balance with customized logging:
 
 ```shell
-RUST_LOG=debug,sled=info,rustls=info cargo run -- --descriptor "wpkh(tpubEBr4i6yk5nf5DAaJpsi9N2pPYBeJ7fZ5Z9rmN4977iYLCGco1VyjB9tvvuvYtfZzjD5A8igzgw3HeWeeKFmanHYqksqZXYXGsw5zjnj7KM9/*)" get_balance
+RUST_LOG=debug,sled=info,rustls=info cargo run -- wallet --descriptor "wpkh(tpubEBr4i6yk5nf5DAaJpsi9N2pPYBeJ7fZ5Z9rmN4977iYLCGco1VyjB9tvvuvYtfZzjD5A8igzgw3HeWeeKFmanHYqksqZXYXGsw5zjnj7KM9/*)" get_balance
+```
+
+To generate a new extended master key, suitable for using in a descriptor:
+
+```shell
+cargo run -- key generate
 ```
\ No newline at end of file