Nervos CKB - The Common Knowledge Base
master | develop |
---|---|
CKB is the layer 1 of Nervos Network, a public/permissionless blockchain. CKB uses Proof of Work and improved Nakamoto consensus to achieve maximized performance on average hardware and internet condition, without sacrificing decentralization and security which are the core value of blockchain.
CKB supports scripting in any programming language with its own CKB-VM, a virtual machine fully compatible with RISC-V ISA. CKB is a General Verification Network, its programming model focuses on state verification, leaves state generation to layer 2 applications/protocols.
Nervos project defines a suite of scalable and interoperable blockchain protocols to create a self-evolving distributed economy, CKB is among them.
Support for different platforms are organized into three tiers, each with a different set of guarantees.
Notice: The ckb process will send stack trace to sentry on Rust panics.
This is enabled by default before mainnet, which can be opted out by setting
the option dsn
to empty in the config file.
- Mainnet Lina: Use the latest release and run
ckb init --chain mainnet
to initialize the node. - Testnet Aggron: Use the latest release and run
ckb init --chain testnet
to initialize the node.
See more networks to join in the wiki.
CKB uses the Eaglesong mining algorithm.
Nervos CKB is released under the terms of the MIT license. See COPYING for more information or see https://opensource.org/licenses/MIT.
This project is still in development, and it's NOT in production-ready status. The board also lists some known issues that we are currently working on.
The master
branch is regularly built and tested, however, it is not guaranteed to be completely stable; The develop
branch is the work branch to merge new features, and it's not stable. The CHANGELOG is available in Releases and CHANGELOG.md in the master
branch.
The contribution workflow is described in CONTRIBUTING.md, and security policy is described in SECURITY.md. To propose new protocol or standard for Nervos, see Nervos RFC.
The crate ckb
's minimum supported rustc version is 1.46.0.
Latest version is hosted in GitHub.
The default branch in GitHub is develop
, if you are looking for docs for the
Mainnet Lina or Testnet Aggron, switch to the branch master.
You can find a more comprehensive document website at https://docs.nervos.org.