]> Untitled Git - bitcoindevkit.org/commitdiff
Update documentation of the repl
authorAlekos Filini <alekos.filini@gmail.com>
Tue, 12 May 2020 11:02:54 +0000 (13:02 +0200)
committerAlekos Filini <alekos.filini@gmail.com>
Tue, 12 May 2020 11:43:23 +0000 (13:43 +0200)
content/repl/installation.md
content/repl/interface.md

index 8ab8e064a15d8622b44b790f8f5ed9aaeaf221d0..fd3630dabf419ca5aae0df9862545a6a483862cc 100644 (file)
@@ -23,7 +23,7 @@ users and won't be covered in this guide.
 Once Cargo is installed, you can proceed to install the interactive Magical Bitcoin shell directly from the GitHub repository, by running:
 
 ```bash
-cargo install --git https://github.com/magicalbitcoin/magical-bitcoin-wallet --example magic
+cargo install --git https://github.com/magicalbitcoin/magical-bitcoin-wallet --features=cli-utils --example magic
 ```
 
 This command will probably take a while to finish, since it will fetch and compile all the dependencies and the `magical-bitcoin-wallet` itself. Once it's done, you can check if everything went fine
index 1c4aca3f35d7f6a09b2319bff753e172fbef3aad..05e41406e05cb6112152483abda74af02ef956cc 100644 (file)
@@ -65,6 +65,7 @@ SUBCOMMANDS:
     get_new_address    Generates a new external address
     list_unspent       Lists the available spendable UTXOs
     policies           Returns the available spending policies for the descriptor
+    public_descriptor  Returns the public version of the wallet's descriptor(s)
     repl               Opens an interactive shell
     sign               Signs and tries to finalize a PSBT
     sync               Syncs with the chosen Electrum server
@@ -409,6 +410,10 @@ the descriptor (type = `PARTIALCOMPLETE`) and the three options are `[0, 1] ⇒
 }
 ```
 
+### `public\_descriptor`
+
+This subcommand has no extra flags and returns the "public" version of the wallet's descriptor(s). It can be used to bootstrap a watch-only instance for the wallet.
+
 ### `repl`
 
 This subcommand has no extra flags and launches an interactive shell session.