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

bitcoindevkit / bdk-cli
12%

Build:
DEFAULT BRANCH: master
Repo Added 16 May 2025 10:42PM UTC
Token s8828XgRmgXbKeV6c2ASYTSOaIugnGVkg regen
Build 128 Last
Files 7
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
Sync Branches
  • master
  • 10-13-update-bdk-kyoto
  • add_redb
  • adding_descriptor_generator
  • bump_dev_2_0_0
  • chore/add-justfile
  • chore/clippy-fixes
  • chore/fix_readme_rust_ver
  • chore/make-release
  • chore/update-audit-workflow
  • ci/fix_codecov
  • ci/remove-msrv
  • deps/bdk_wallet_2
  • deps/bdk_wallet_2_1
  • deps/bump-tracing-subscriber
  • docs/add-rpc-example
  • docs/update-readme
  • feat/add-tr-to-compile-cmd
  • feat/hwi
  • feat/init-wallet-support
  • feat/pretty-format
  • feat/tr-descriptor-with-random-point
  • fix/pretty-global-arg
  • fix_exit_code
  • kyoto-broadcast-6-17
  • payjoin-send
  • pretty-short
  • v1.0.0
  • v2.0.0

11 Nov 2025 02:46AM UTC coverage: 12.147% (-2.3%) from 14.43%
19253249526

push

github

tvpeter
Merge bitcoindevkit/bdk-cli#180: Adding descriptor generator

7d3720e38 feat(desc): remove generate subcommand (Vihiga Tyonum)
32a2c8847 feat(desc):update descriptors gen to use templates (Vihiga Tyonum)
c8f23ba51 feat(descriptors): fix descriptor generation (Vihiga Tyonum)
550e81628 feat(descriptors): add multipath descs and pretty (Vihiga Tyonum)
1f77842ee fix descriptors generation (Vihiga Tyonum)
6c9c3a1bb feat: add descriptor generation (AmosOO7)

Pull request description:

  # Pull Request: Add `descriptor` Subcommand

  ## Description

  This PR introduces a new `descriptor` subcommand to the BDK CLI that enable users to generate and inspect **Bitcoin wallet descriptors** for internal and external paths, supporting common types (pkh, sh, wpkh, wsh, tr). It includes support for both **single-path** descriptors from extended keys (`xprv`/`xpub` or `tprv`/`tpub`).

  This resolves issue https://github.com/bitcoindevkit/bdk-cli/issues/175

  ## Features Implemented

  - Adds new `descriptor` subcommand with:
    - `generate` – generate new descriptors
    - Supports BIP44, BIP49, BIP84, and BIP86 script types
    - Generates **internal and external descriptors**
    - Reasonable defaults:
      - `--type` defaults to `wsh` and a short `t`
      - `--network` default `testnet`

  ---

  ## Usage Examples

  ### 1. Generate Descriptors from an Extended Private Key
  ```bash
  cargo run -- --network testnet descriptor generate --type wsh <XPRV>
  ```

  ### 2. Generate Descriptors from a Mnemonic (no key provided)
  ```bash
  cargo run -- --network testnet descriptor generate --type tr
  ```

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt`... (continued)

0 of 224 new or added lines in 2 files covered. (0.0%)

1 existing line in 1 file now uncovered.

172 of 1416 relevant lines covered (12.15%)

0.46 hits per line

Relevant lines Covered
Build:
Build:
1416 RELEVANT LINES 172 COVERED LINES
0.46 HITS PER LINE
Source Files on master
  • Tree
  • List 5
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19253249526 master Merge bitcoindevkit/bdk-cli#180: Adding descriptor generator 7d3720e38 feat(desc): remove generate subcommand (Vihiga Tyonum) 32a2c8847 feat(desc):update descriptors gen to use templat... push 11 Nov 2025 02:51AM UTC tvpeter github
12.15
19028754066 master Merge bitcoindevkit/bdk-cli#224: fix(pretty-format): use `--pretty` in any position c47536393 chore(clippy): clippy fixes (Vadim Anufriev) daebe5373 test(pretty): add tests for pretty ... push 03 Nov 2025 08:55AM UTC tvpeter github
14.43
18520893551 master Merge bitcoindevkit/bdk-cli#222: Update `bdk_kyoto` to `0.15.1` 70617f9e2 Update `bdk_kyoto` to `0.15.1` (rustaceanrob) Pull request description: Checkpoints were removed from Kyoto to minimize trust in the libr... push 15 Oct 2025 07:19AM UTC tvpeter github
8.8
18167582568 master Merge 20305fb39 into f100d6571 Pull #221 02 Oct 2025 05:00AM UTC web-flow github
8.63
18141559395 master Merge 74b190117 into f100d6571 Pull #221 30 Sep 2025 08:49PM UTC web-flow github
8.63
17621040142 master Merge bitcoindevkit/bdk-cli#219: Bump version to 2.0.0 fd67b7ab2 bump version to 2.0.0 (Vihiga Tyonum) Pull request description: <!-- You can erase any parts of this template not applicable to your Pull Request.... push 10 Sep 2025 05:00PM UTC tvpeter github
8.63
17560300357 master Merge bitcoindevkit/bdk-cli#217: deps: bump tracing-subscriber to 0.3.20 481040324 deps: bump tracing-subscriber to 0.3.20 (Vihiga Tyonum) Pull request description: <!-- You can erase any parts of this template ... push 08 Sep 2025 06:28PM UTC tvpeter github
8.63
17560193808 master Merge bitcoindevkit/bdk-cli#208: Update `compile` command to support creating taproot descriptors 3bcec61d8 feat(compile): add tr option for compile cmd (Vadim Anufriev) Pull request description: ### Description... push 08 Sep 2025 06:21PM UTC tvpeter github
8.63
17324807959 master Merge bitcoindevkit/bdk-cli#214: deps: update bdk_wallet 2.1.0 and related deps 7625422df deps: update bdk_wallet 2.1.0 and related deps (Vihiga Tyonum) Pull request description: <!-- You can erase any parts of ... push 29 Aug 2025 01:15PM UTC tvpeter github
2.16
17246648439 master Merge bitcoindevkit/bdk-cli#212: feat(pretty-format): add pretty flag to format outputs in a tabular form 94012c65b feat(pretty-fmt): update README for `pretty` flag (Vihiga Tyonum) 1cadf63a2d6058f5e496860116dc2a4ff... push 26 Aug 2025 06:12PM UTC tvpeter github
2.16
See All Builds (128)

Badge your Repo: bdk-cli

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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

© 2025 Coveralls, Inc