| Crates.io | brk |
| lib.rs | brk |
| version | 0.1.0-beta.0 |
| created_at | 2025-02-23 23:40:35.363808+00 |
| updated_at | 2026-01-25 13:28:31.315995+00 |
| description | The Bitcoin Research Kit is a suite of tools designed to extract, compute and display data stored on a Bitcoin Core node |
| homepage | https://bitcoinresearchkit.org |
| repository | https://github.com/bitcoinresearchkit/brk |
| max_upload_size | |
| id | 1566730 |
| size | 82,578 |
Umbrella crate for the Bitcoin Research Kit.
Single dependency to access any BRK component. Enable only what you need via feature flags.
[dependencies]
brk = { version = "0.1", features = ["query", "types"] }
use brk::query::Query;
use brk::types::Height;
Feature flags match crate names without the brk_ prefix. Use full to enable all.
Core Pipeline
| Crate | Description |
|---|---|
| brk_reader | Read blocks from blk*.dat with parallel parsing and XOR decoding |
| brk_indexer | Index transactions, addresses, and UTXOs |
| brk_computer | Compute derived metrics (realized cap, MVRV, SOPR, cohorts, etc.) |
| brk_mempool | Monitor mempool, estimate fees, project upcoming blocks |
| brk_query | Query interface for indexed and computed data |
| brk_server | REST API with OpenAPI docs |
Data & Storage
| Crate | Description |
|---|---|
| brk_types | Domain types: Height, Sats, Txid, addresses, etc. |
| brk_store | Key-value storage (fjall wrapper) |
| brk_fetcher | Fetch price data from exchanges |
| brk_rpc | Bitcoin Core RPC client |
| brk_iterator | Unified block iteration with automatic source selection |
| brk_cohort | UTXO and address cohort filtering |
| brk_traversable | Navigate hierarchical data structures |
Clients & Integration
| Crate | Description |
|---|---|
| brk_client | Generated Rust API client |
| brk_bindgen | Generate typed clients (Rust, JavaScript, Python) |
Internal
| Crate | Description |
|---|---|
| brk_cli | CLI binary (cargo install --locked brk_cli) |
| brk_error | Error types |
| brk_logger | Logging infrastructure |
| brk_bencher | Benchmarking utilities |