#blockchain #nervos #risc-v

app ckb

CKB is the layer 1 of Nervos Network, a public/permissionless blockchain

59 releases (19 breaking)

new 0.114.0-rc3 Feb 21, 2024
0.114.0-rc1 Jan 29, 2024
0.113.0-rc2 Dec 19, 2023
0.112.1 Nov 21, 2023
0.1.0 Nov 2, 2018

#1337 in Magic Beans

Download history 80/week @ 2023-10-31 2/week @ 2023-11-07 108/week @ 2023-11-14 107/week @ 2023-11-21 153/week @ 2023-11-28 6/week @ 2023-12-05 86/week @ 2023-12-12 26/week @ 2023-12-19 127/week @ 2023-12-26 36/week @ 2024-01-02 37/week @ 2024-01-09 2/week @ 2024-01-16 79/week @ 2024-01-23 291/week @ 2024-01-30 2/week @ 2024-02-06 513/week @ 2024-02-13

885 downloads per month

MIT license

195KB
3K SLoC

Rust 1.5K SLoC // 0.0% comments Python 733 SLoC // 0.1% comments Shell 640 SLoC // 0.0% comments PowerShell 145 SLoC Ruby 20 SLoC // 0.1% comments Batch 15 SLoC

Nervos CKB - The Common Knowledge Base

Version Nervos Talk

master develop
Unit Tests Unit Tests
Integration Tests Integration Tests

About CKB

CKB is a public and permissionless layer-1 blockchain. CKB uses Proof of Work and improved Nakamoto consensus to achieve maximized performance on average hardware and network bandwidth, without sacrificing layer-1's core values - decentralization and security.

CKB supports scripting in any programming language with its own CKB-VM, a virtual machine fully compatible with RISC-V ISA. CKB is a Universal Verification Layer which focuses on verification, leaves computation to layer 2 (and higher) applications/protocols.

CKB is a part of Nervos Network, which defines a suite of scalable and interoperable blockchain protocols to create a self-evolving distributed economy.

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 the mainnet launch, which can be opted out by setting the option dsn to empty in the config file.

License FOSSA Status

Nervos CKB is released under the terms of the MIT license. See COPYING for more information or see https://opensource.org/licenses/MIT.

Join a Network

  • Mainnet Mirana: Use the latest release and run ckb init --chain mainnet to initialize the node.
    • Mirana is active since the epoch 5414, see the migration guide to upgrade from Lina.
  • Testnet Pudge: Use the latest release and run ckb init --chain testnet to initialize the node.
    • Pudge is active since the epoch 3113.

Mining

CKB uses the Eaglesong mining algorithm.

Development Process

The master branch is regularly built and tested. It is considered already production ready; 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.

How to Contribute

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.


Documentations

Latest version is hosted in GitHub.

The default branch in GitHub is develop, if you are looking for docs for the Mainnet Mirana or Testnet Pudge, switch to the branch master.

You can find a more comprehensive document website at https://docs.nervos.org.

Dependencies

~95MB
~2M SLoC