109 releases (1 stable)

Uses new Rust 2024

new 1.0.0 Oct 29, 2025
1.0.0-rc1 Sep 26, 2025
0.203.0 Oct 22, 2025
0.202.0 Jun 11, 2025
0.1.0 Nov 2, 2018

#305 in Magic Beans

Download history 720/week @ 2025-07-08 1443/week @ 2025-07-15 2544/week @ 2025-07-22 2478/week @ 2025-07-29 1064/week @ 2025-08-05 2269/week @ 2025-08-12 3184/week @ 2025-08-19 2197/week @ 2025-08-26 1879/week @ 2025-09-02 2992/week @ 2025-09-09 2520/week @ 2025-09-16 3340/week @ 2025-09-23 1264/week @ 2025-09-30 1406/week @ 2025-10-07 1244/week @ 2025-10-14 1877/week @ 2025-10-21

6,012 downloads per month
Used in 60 crates (27 directly)

MIT license

685KB
13K SLoC

The Chain Specification

By default, when simply running CKB, CKB will connect to the official public Nervos network.

In order to run a chain different to the official public one, with a config file specifying spec = { file = "<the-path-of-spec-file>" } under [chain].


ckb-chain-spec

This crate is a component of ckb.

The CKB block chain specification

Minimum Supported Rust Version policy (MSRV)

This crate's minimum supported rustc version is 1.85.0

Dependencies

~6–31MB
~545K SLoC