bitcoindevkit / bitcoindevkit/bdk

doc: Add explicit warning against mainnet use for bdk_testenv DESCRIPTORS

Open
#2,275 1 comment 0 reactions 1 assignee Claimed by @tvpeter View on GitHub
documentation
Dominant language
Rust
Stars
1.1k
Forks
483
Avg merge
20d 3h
Merged PRs (30d)
3

Description

### Description

The published bdk_testenv crate currently exports pub const DESCRIPTORS via its utils module. These constants embed widely known test-vector extended private keys. The keys work exactly as designed. While designed strictly for regtest and test environments, there is a risk that a downstream developer might copy-paste these descriptors into a live mainnet application.

Since these private keys are entirely public, any real funds sent to their derived addresses will be immediately swept by chain-monitoring bots.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.