• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bitcoindevkit / bdk-cli / 21153868360
11%

Build:
DEFAULT BRANCH: master
Ran 19 Jan 2026 11:11PM UTC
Jobs 1
Files 8
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Jan 2026 11:08PM UTC coverage: 10.717% (+2.8%) from 7.901%
21153868360

push

github

tvpeter
Merge bitcoindevkit/bdk-cli#203: Add saving wallet config with `bdk-cli wallet config`

ceb93324b doc(wallet-init): update README.md examples (Steve Myers)
be31c1439 feat(wallet-init): impl TryFrom for WalletOpts (Vihiga Tyonum)
7bf098255 feat(wallet-init): add `wallets` command (Vihiga Tyonum)
f3ee4ee4f feat(init-wallet): rename init & add walletopts (Vihiga Tyonum)
f21729b3e feat: add initializing wallet config (Vihiga Tyonum)

Pull request description:

  ### Description

  <!-- Describe the purpose of this PR, what's being adding and/or fixed -->

  This PR adds `bdk-cli wallet config` command to save wallet configuration information to `config.toml` file in the data directory.

  Fixes #192

  ### Notes to the reviewers

  - Reusing the exported `serde` crate from `bdk_wallet` did not offer the `derive` feature
  - Fix out-of-bound error for `shorten` fn

  ## Changelog notice
  - Add wallet subcommand `config` to save wallet configs
  - Add top-level `wallets` command  to show all saved  wallet configs
  <!-- Notice the release manager should include in the release tag message changelog -->

  ### Checklists

  #### Features

  * [x] command to save a wallet config, give wallet name or a default name is used, clap enforces required options; optional -f to override existing config: `wallet [-f] [-w <name>] config <wallet opts>`
  * [x] All other wallet commands require that a config exists, use wallet name or the default is used. Give error if config is missing: `wallet [-w <name>] sync | balance | new_address |` etc...
  * [x] Repl uses the same wallet configs: `repl [-w <name>]`
  * [x] command to list all saved wallet configs: `wallets`
  * [x] throw warnings if using mainnet and saving a private descriptor in a config.

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I f... (continued)

99 of 395 new or added lines in 3 files covered. (25.06%)

1 existing line in 1 file now uncovered.

269 of 2510 relevant lines covered (10.72%)

0.3 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
43
0.0
0.0% src/utils.rs
55
63.58
src/config.rs
198
13.0
-2.06% src/handlers.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
13.0
-2.06% src/handlers.rs
Jobs
ID Job ID Ran Files Coverage
1 21153868360.1 19 Jan 2026 11:11PM UTC 8
10.72
GitHub Action Run
Source Files on build 21153868360
  • Tree
  • List 8
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21153868360
  • b9cf2acc on github
  • Prev Build on master (#20714655583)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc