You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is available for wallet, key, repl and compile features. When ommitted, outputs default to `JSON`.
205
205
206
-
## Initializing Wallet Configurations with `init` Subcommand
206
+
## Saving and using wallet configurations
207
207
208
-
The `wallet init` sub-command simplifies wallet operations by saving configuration parameters to `config.toml` in the data directory (default `~/.bdk-bitcoin/config.toml`). This allows you to run subsequent `bdk-cli wallet` commands without repeatedly specifying configuration details, easing wallet operations.
208
+
The `wallet config` sub-command allows you to save wallet settings to a `config.toml`file in the default directory (`~/.bdk-bitcoin/`) or custom directory specified with the `--datadir` flag. This eliminate the need to repeatedly specify descriptors, client types, and other parameters for each command. Once configured, you can use any wallet command by simply specifying the wallet name. All other parameters are automatically loaded from the saved configuration.
209
209
210
-
To initialize a wallet configuration, use the following command structure:
0 commit comments