Hubbry Logo
search
logo

Nervos Network

logo
Community Hub0 Subscribers
Read side by side
from Wikipedia
Nervos Network
Logo of Nervos Network
Denominations
PluralCKBytes, CKBs
CodeCKB
Development
Original author(s)Jan Xie
Terry Tai
Kevin Wang
Daniel Lv
Cipher Wang
White paperPositioning whitepaper

Cryptoeconomics whitepaper

Common Knowledge Base whitepaper
Initial release19 November 2019; 5 years ago (2019-11-19) (mainnet)
Code repositoryhttps://github.com/nervosnetwork
Development statusActive
Written inRust
DeveloperNervos Foundation
Source modeldecentralized open-source
Licensehttps://github.com/nervosnetwork/docs-new/blob/develop/LICENSE
Ledger
Timestamping schemeProof-of-work
Block timeapprox. 10 seconds
Block explorerhttps://explorer.nervos.org/
Circulating supply43,549,596,169 CKB (as of 16 February 2024)
Website
Websitehttps://www.nervos.org/

Nervos Network is a proof-of-work blockchain platform[1][2] which consists of multiple blockchain layers that are designed for different functions.[3] The native cryptocurrency of this layer is called CKB. Smart contracts and decentralized applications can be deployed on the Nervos blockchain. The Nervos Network was founded in 2018.

History

[edit]

According to the organization's website, Nervos Network was founded in 2018 by Jan Xie, Terry Tai, Kevin Wang, Daniel Lv, and Cipher Wang.[4]

Architecture

[edit]

Nervos Network utilizes multiple blockchain layers to for different functions.[3] The base layer prioritizes security and decentralization, and is optimized to verify transactions. It can settle transactions submitted from upper layers and resolves disputes. Layer 2 and above are designed for smart contract and decentralized applications.[5][6]

NC MAX

[edit]

Layer 1 achieves cryptographic consensus through proof of work, using a modified version of Bitcoin's Nakamoto consensus algorithm: NC-MAX. This algorithm changes the original in three ways: a two-step transaction process (propose, commit) which aims to improve block propagation; dynamic adjustment to block interval based on network performance to keep orphan blocks low and improve transaction throughput; and accounting for all blocks (including orphans) during the difficulty adjustment calculation to resist "selfish mining attacks," whereby one group of miners can increase their own profits at the expense of other miners on the network. NC-MAX was presented at the Internet Society's Network and Distributed System Security (NDSS) Symposium in 2022.[7] The consensus process uses a novel hash function called "Eaglesong."[8][9]

References

[edit]

Further reading

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
The Nervos Network is a public, layer-1 blockchain protocol launched in November 2019, featuring the Common Knowledge Base (CKB) as its core layer that extends Bitcoin's UTXO model into the programmable Cell model for secure, verifiable storage of data, code, and state.[1][2] It employs a modular architecture powered by RISC-V-based execution in the CKB-VM virtual machine, enabling flexible smart contract development in languages like Rust and C, while using Proof-of-Work (PoW) consensus with the NC-MAX algorithm for security and decentralization.[1][2] The network emphasizes Layer 2 scalability solutions, such as the Fiber Network introduced in February 2025 for low-cost multi-token payments compatible with Bitcoin's Lightning Network, alongside phased transitions away from earlier rollups like Godwoken to focus on offchain scaling.[1] Nervos distinguishes itself through interoperability protocols like RGB++, launched in July 2024, which maps Bitcoin-based assets to CKB cells for enhanced programmability while preserving Bitcoin's settlement guarantees, extending to other UTXO-based networks.[1][2] In 2025, it achieved post-quantum security advancements by integrating cryptographic agility via its Cell model and support for NIST-approved algorithms like SPHINCS+ in lock scripts, enabling quantum-resistant wallets such as Quantum Purse and hybrid schemes combining classical and post-quantum cryptography without hard forks.[3] This design positions Nervos as a foundational infrastructure for decentralized applications, prioritizing long-term asset security and cross-chain compatibility over account-based models.[4][2]

Overview

Introduction

The Nervos Network is a public layer-1 blockchain protocol designed to provide a secure and versatile foundation for decentralized applications, with its core component being the Common Knowledge Base (CKB), which serves as the base layer.[2][4] CKB builds upon Bitcoin's Unspent Transaction Output (UTXO) model, extending its principles to create a more flexible system for blockchain operations.[5] Launched in 2019, the network emphasizes long-term security and adaptability in the crypto-economy.[6] At the heart of Nervos Network is the Cell model, which generalizes Bitcoin's UTXO accounting model to enable the storage of arbitrary data, code, and state in a verifiable manner.[7] Unlike traditional account-based systems, the Cell model treats all assets and scripts as cells that can be locked and unlocked through cryptographic proofs, allowing for programmable capabilities without compromising the underlying security model.[5] This approach supports user-defined tokens and smart contracts while maintaining the efficiency and immutability of UTXO-based designs.[6] The core goals of Nervos Network include enabling robust programmability on a secure, decentralized platform through a verification-focused design that prioritizes cryptographic verifiability over computation.[4] It achieves this via a RISC-V-based virtual machine for execution and a Proof-of-Work consensus mechanism to ensure network integrity and resistance to attacks.[7][8] Additionally, its modular architecture facilitates Layer 2 scalability solutions to enhance performance without altering the base layer's security.[2]

History and Development

The Nervos Network was founded in 2018 by the Nervos Foundation, a non-profit organization dedicated to advancing blockchain technology with a focus on scalability and interoperability. The project emerged from the vision of its co-founders, including Jan Xie, Daniel Lv, Terry Tai, Kevin Wang, and Cipher Wang, who sought to address limitations in existing blockchains by building a modular, layer-1 protocol inspired by Bitcoin's security principles. Early efforts centered on conceptualizing a new storage and computation model to enable secure asset preservation and programmable capabilities. Development progressed through several phases, beginning with the release of the initial whitepaper in Q1 2018, which outlined the project's core architecture and goals.[9] This was followed by testnet iterations in 2019, including the Rylai testnet in May, which allowed developers to experiment with the protocol's features and refine its performance before the public launch.[10] The mainnet, known as the Common Knowledge Base (CKB), officially launched on November 16, 2019, marking the network's transition to a fully operational public blockchain.[11] Over the subsequent years, Nervos Network underwent significant upgrades to enhance its security and scalability. A notable milestone was the integration of Layer 2 solutions, building on its Bitcoin-inspired roots to support off-chain computations while maintaining on-chain verifiability. In 2025, the network implemented post-quantum cryptography upgrades, ensuring resilience against emerging quantum computing threats and solidifying its position as a forward-thinking protocol. These developments reflect the project's ongoing evolution toward greater interoperability and efficiency in the blockchain ecosystem.

Technical Architecture

Cell Model

The Cell model in the Nervos Network represents a generalized extension of the Unspent Transaction Output (UTXO) model originally pioneered by Bitcoin, transforming it into a more flexible and programmable framework for blockchain state management.[12] Unlike traditional UTXOs, which primarily handle value transfers, Cells serve as versatile containers that can encapsulate arbitrary data, executable scripts, and state information, enabling developers to store and verify complex assets on the blockchain without relying on a centralized global state.[13] This evolution allows Cells to function as the fundamental units of the Common Knowledge Base (CKB), where each Cell consists of a capacity (indicating its resource allocation in shannons), data payload, and associated scripts that define its behavior and ownership rules.[14] Cells facilitate the creation of stateful smart contracts by decoupling state updates from a shared global ledger, thereby preventing the state bloat commonly seen in account-based systems like Ethereum. In this model, transactions consume input Cells and produce output Cells, with verification occurring through two primary script types: lock scripts, which enforce ownership and spending conditions (e.g., requiring a valid signature), and type scripts, which govern the structure and interactions of the Cell's data (e.g., ensuring token issuance rules are followed).[12] This dual-script approach ensures that all state transitions are deterministic and verifiable on a per-Cell basis, promoting scalability and security by avoiding the need for miners to re-execute entire contract histories during validation.[15] As a result, the Cell model supports long-term, tamper-proof storage of assets without the exponential growth in state size that plagues account-based models, where balances and nonces are tracked globally and can lead to inefficiencies during high-activity periods.[15] In comparison to account-based blockchains, which maintain a persistent world state updated incrementally and vulnerable to "state explosion" from frequent modifications, the Cell model's UTXO-like structure inherently limits state growth by design—each transaction only affects the specific Cells involved, leaving unrelated data untouched.[15] This parallelism enables better resource utilization and reduces the attack surface for issues like denial-of-service exploits tied to state manipulation. For instance, in a practical application, a developer could store verifiable digital collectibles or tokenized assets within a Cell, where the type script defines metadata standards (e.g., rarity attributes) and the lock script restricts transfers to authorized parties, all while ensuring the data remains immutable and independently auditable without querying a bloated global database.[12] The model integrates briefly with the RISC-V-based virtual machine for script execution, allowing these verifications to occur in a sandboxed environment.[16]

Consensus Mechanism

The Nervos Network employs a Proof-of-Work (PoW) consensus mechanism known as NC-MAX, which is a customized variant of Bitcoin's Nakamoto Consensus designed to enhance performance, security, and decentralization on the Common Knowledge Base (CKB).[17] This approach requires miners to solve complex cryptographic puzzles using the Eaglesong hash function, ensuring that block generation is computationally intensive and resistant to centralization, while adapting to factors like mining equipment and energy consumption.[17] Unlike traditional PoW systems, NC-MAX splits the block confirmation process into two phases—a Proposal Zone for initial transaction propagation and a Commitment Zone for final validation—to mitigate propagation delays and improve overall network throughput.[17] Block generation in Nervos occurs dynamically, with intervals adjusted based on network performance to target an average of approximately 4 hours per epoch, which comprises a variable number of blocks.[18] Difficulty adjustment is performed per epoch using the Orphan Rate over Cycles algorithm, aiming to stabilize the orphan block rate at 2.5% and maintain the 4-hour epoch duration, differing from Bitcoin's fixed 2016-block intervals by responding more fluidly to hash rate changes.[19] This mechanism ensures consistent block production while integrating with the Cell model. The PoW consensus anchors Layer 2 solutions to the secure base layer by providing a decentralized and verifiable foundation for transaction finality and state commitments.[20] Nervos' reward structure incentivizes miner participation through a combination of base, secondary, proposal, and commitment rewards, with the base reward capped at 33.6 billion CKB and subject to halvings every 4 years (8,760 epochs).[19] The first halving took place on November 19, 2023, reducing the per-epoch base issuance from 1,917,808 CKB to 958,904 CKB, with subsequent halvings continuing until 2103 when primary issuance ends.[18] Secondary rewards, fixed at 1.344 billion CKB annually, are distributed based on network usage rates to sustain miner incentives post-halving, while proposal and commitment rewards allocate 40% and 60% of transaction fees, respectively, to encourage timely block production and validation.[19] These adaptations in the CKB environment promote long-term security without explicit energy efficiency optimizations beyond the inherent PoW adaptations to external factors like energy costs.[17]

Virtual Machine and Execution

The Common Knowledge Base Virtual Machine (CKB-VM) in the Nervos Network utilizes the open-source RISC-V instruction set architecture (ISA) to provide a modular and efficient environment for computation, distinctly separating execution from data storage to enhance flexibility and reduce overhead.[21] This design allows developers to implement only the necessary instruction set extensions, enabling tailored smart contract execution without being constrained by storage structures, such as the Cell model that serves as the fundamental unit for VM inputs.[22] By emulating a full RISC-V CPU through software, the CKB-VM supports both 32-bit and 64-bit register sizes and operates in modes like Rust interpreter or assembly-based (ASM) for production consistency.[22] The CKB-VM processes lock scripts and type scripts stored within Cells to validate transactions, executing them as RISC-V binaries that define authorization conditions without requiring full state replication across the network.[23] Upon receiving transaction inputs, the VM runs these scripts sequentially; if a script completes successfully, the transaction is deemed valid, leveraging the Cell model's UTXO-like structure for verifiable computation focused solely on script verification.[23] This approach ensures efficient verification by isolating execution to the relevant scripts, promoting scalability and security in a decentralized manner.[22] Bytecode compilation for the CKB-VM involves developers writing code in any language compatible with RISC-V, such as Rust or C, and compiling it into ELF binary format using tools like GCC with RISC-V support or riscv-tools.[22] The resulting binaries are then executed by the VM's interpreter, which processes RISC-V instructions cycle by cycle in a deterministic manner, with no predefined limits on execution cycles to allow for arbitrary computation as long as resources permit.[23] This compilation and execution model supports the deployment of complex programs directly on the blockchain, with the VM emulating a general-purpose computer for full Turing-complete programmability.[24] The CKB-VM's RISC-V foundation enables robust support for diverse cryptographic primitives, allowing smart contracts to incorporate any signature scheme or hashing algorithm by implementing them at the contract level without needing protocol-level changes.[23] This flexibility plays a pivotal role in programmability, as developers can leverage mature RISC-V tooling, IDEs, and debuggers to build interoperable applications, including verifiers for WebAssembly or other virtual machines, fostering innovation in decentralized systems.[21] Future enhancements, such as vector (V) extensions, could further optimize cryptographic operations, building on the ISA's extensible nature.[22]

Scalability and Layer 2

Layered Design

The Nervos Network employs a layered design that separates the responsibilities of storage, computation, and consensus to enhance scalability and security in blockchain operations. At its core is the Common Knowledge Base (CKB), which serves as the base layer (Layer 1) focused on providing secure, verifiable storage and verification of data, code, and state through its programmable Cell model. This design philosophy emphasizes offloading intensive computation to Layer 2 solutions, allowing the base layer to remain lightweight and resistant to state bloat by decoupling state management from execution processes. By separating state from execution, the architecture prevents the accumulation of unnecessary data on the main chain, enabling efficient resource allocation and long-term sustainability. The modular components of this layered architecture include a dedicated storage layer handled by the CKB, which ensures tamper-proof persistence of assets; a computation layer that can be distributed across Layer 2 networks for high-throughput processing; and a consensus layer that maintains network-wide agreement using Proof-of-Work. This separation allows the base layer to anchor Layer 2 activities back to its robust security model, inheriting the full verification guarantees of Layer 1 without compromising decentralization. As a result, the Nervos Network's layered approach theoretically supports handling millions of transactions per second (TPS) by leveraging off-chain computation while keeping on-chain storage minimal and secure. In practice, this design facilitates interoperability and extensibility, as Layer 2 solutions can be plugged into the ecosystem without altering the core protocol, exemplified briefly by implementations like the Lightning Network adapted for Nervos. Overall, the layered structure underscores Nervos's commitment to a modular, future-proof blockchain that prioritizes economic incentives for storage and verification over monolithic computation.

Lightning Network Implementation

The Fiber Network serves as Nervos Network's implementation of a Lightning Network-inspired protocol on the Common Knowledge Base (CKB), enabling high-throughput off-chain transactions for multi-asset payments and swaps while leveraging CKB's cell-based architecture for enhanced scalability.[25][26] Launched in testnet in September 2024 and mainnet in early 2025, it extends CKB's Layer 1 capabilities by facilitating peer-to-peer, low-latency transactions without requiring immediate on-chain consensus, thereby addressing blockchain scalability challenges through off-chain state management.[1] This adaptation distinguishes itself by natively supporting assets from CKB, Bitcoin's RGB++ protocol, and stablecoins, promoting interoperability and efficiency in decentralized finance applications.[27] At its core, Fiber Network's payment channels operate using CKB's Cell model, where channels are established by locking assets—such as CKB tokens or RGB++ assets—into dedicated Cells on the base layer via multi-signature transactions.[26] These Cells represent the initial state of the channel, encapsulating data, code, and value in a UTXO-like structure that allows for programmable constraints and secure off-chain updates.[27] Off-chain transactions between channel participants update the channel's state through cryptographic commitments, such as Hash Time-Locked Contracts (HTLC) or Point Time-Locked Contracts (PTLC), without broadcasting to the blockchain; each update includes revocation keys to prevent double-spending by invalidating prior states if fraudulently submitted.[26] Multi-hop routing extends this by chaining channels across nodes, enabling payments via intermediate peers while maintaining privacy and atomicity, with the entire path secured by time-locked mechanisms that revert funds if conditions fail.[25] Upon channel closure, the final state is settled on CKB by consuming the original Cells and creating new ones reflecting updated balances, ensuring tamper-proof finality.[27] Integration with the CKB base layer provides robust security guarantees for Fiber Network operations, as all channel openings, closures, and dispute resolutions anchor to CKB's Proof-of-Work consensus and RISC-V virtual machine for verifiable execution.[26] This design inherits CKB's economic model, where state rent incentivizes efficient resource use, and its Turing-complete scripting allows for advanced features like watchtower services that monitor channels off-chain and enforce honest behavior by broadcasting valid states during disputes.[25] Cross-chain compatibility further enhances this integration, with Fiber channels bridging to Bitcoin's Lightning Network through isomorphic mappings of UTXOs to Cells, enabling bidirectional asset flows with on-chain settlement on CKB for dispute resolution.[26] Such anchoring ensures that off-chain activities benefit from CKB's post-quantum secure primitives and long-term data availability, mitigating risks like channel force-closures or network partitions.[1] In test environments, Fiber Network has demonstrated performance suitable for real-time micropayments, achieving transaction latencies as low as 20 milliseconds for peer-to-peer connections and supporting high throughput by processing updates solely among involved nodes without global consensus overhead.[25] While specific transactions-per-second (TPS) figures vary by network topology, early testnet deployments have highlighted its capacity for handling thousands of off-chain transactions per channel before settlement, significantly outperforming on-chain limits and enabling use cases like instant swaps across asset pairs.[27] These metrics underscore Fiber's role in scaling CKB to support decentralized applications requiring sub-second confirmations and fees as low as 0.00000001 cents per transaction.[25]

Interoperability and Integrations

Universal Compatibility Features

The Nervos Network's Common Knowledge Base (CKB) incorporates support for cryptographic primitives such as RGB++ and the UTXO Stack, enabling enhanced programmability and interoperability for Bitcoin and other UTXO-based chains. RGB++, an advanced asset issuance protocol, leverages the CKB's Cell model to map Bitcoin UTXOs directly to CKB Cells through isomorphic binding, allowing for synchronized ownership and state management without relying on traditional bridging mechanisms.[28] Similarly, the UTXO Stack extends this capability by creating an inclusive layer that connects multiple UTXO chains, facilitating universal interoperability across ecosystems while preserving the security of the underlying Proof-of-Work consensus.[2][29] A core aspect of CKB's design is its ability to enable seamless integration with other blockchains without the need for external bridges, achieved through the protocol's modular and extensible architecture. This is accomplished via direct state synchronization and verification mechanisms that bind transactions across chains, ensuring atomicity and security in cross-chain operations.[30][31] For instance, the isomorphic binding in RGB++ allows Bitcoin transactions to be mirrored on CKB without intermediaries, reducing risks associated with bridge vulnerabilities and promoting efficient asset transfers.[28] The Cell model plays a pivotal role in enabling universal data storage for cross-protocol compatibility, treating all assets—whether tokens, code, or state—as storable and verifiable units within the blockchain. Each Cell acts as a programmable container that can hold arbitrary data while enforcing lock scripts for access control, making it adaptable to diverse protocols without hardcoded dependencies.[7] This model extends Bitcoin's UTXO paradigm into a more flexible structure, supporting off-chain state generation and on-chain verification, which facilitates compatibility with various cryptographic schemes and layer-2 solutions.[32] Examples of protocol-agnostic features in CKB include its RISC-V-based virtual machine, which allows execution of code from different ecosystems without native modifications, and the absence of hardcoded cryptography, enabling the adoption of primitives from other chains like Ethereum or Bitcoin. These features ensure that CKB serves as a neutral base layer for interoperability.[20][7]

Cross-Chain Protocols

The Nervos Network facilitates multi-chain connectivity through the Rosen Bridge, an open-source, trustless protocol designed for bi-directional asset transfers between CKB and other blockchains such as Ergo and Cardano.[33] This integration, approved by community vote in early 2026 with a budget of $65,000, enables secure cross-chain market-making and liquidity initiatives, including support for Hummingbot strategies.[34][35] Unlike traditional bridges reliant on centralized custodians, Rosen Bridge employs a modern security model with incentivized auditing and transparent reporting to minimize risks in asset transfers.[36] Nervos has pursued integrations with heterogeneous chains and sidechains to enhance interoperability, anchoring various Layer 2 networks and enabling seamless communication across diverse blockchain ecosystems.[2] For instance, the network's sidechain framework simplifies the launch of custom chains by providing developer tools for bridging without complex setups, as outlined in Nervos' RFCs.[37] Recent developments include the 2020 integration with China's Blockchain-based Service Network (BSN), which made CKB available on BSN's international portal for global access to heterogeneous environments.[38] Additionally, participation in the UTXO Alliance fosters collaboration with chains like Cardano, promoting standardized protocols for cross-chain operations.[39] The UTXO Stack, a modular BTC Layer 2 platform developed by Nervos, extends applications across multiple blockchains by enabling high-performance parallel chains and liquidity staking.[40] Examples include liquidity pools for staking BTC and CKB to generate tokens like lnBTC, facilitating DeFi activities on Bitcoin and other UTXO-based networks.[41] In Q3 2024, the launch of RGB++ on UTXO Stack introduced Bitcoin-based DeFi and cross-chain smart contracts, allowing verifiable assets to operate across UTXO blockchains without compromising security.[42] This stack addresses scalability limitations in Bitcoin by offering near-unlimited throughput for applications spanning ecosystems.[5] Nervos' cross-chain protocols tackle challenges like secure state synchronization without centralized bridges through mechanisms such as isomorphic binding, which links Bitcoin transactions to CKB state changes for verifiable cross-chain operations.[43] This approach ensures atomic swaps and stablecoin transactions via multi-token liquidity pools, reducing reliance on trusted intermediaries.[44] By leveraging light clients for trust-minimized verification, the network maintains decentralization while enabling efficient interactions across chains.[45]

Security and Innovations

Proof-of-Work Security

The Nervos Network's Common Knowledge Base (CKB) employs a Proof-of-Work (PoW) consensus mechanism that prioritizes decentralization by requiring miners to compete through computational effort to validate transactions and add blocks, thereby distributing control across a wide network of participants without relying on centralized authorities.[46] This design enhances resistance to 51% attacks, where an adversary would need to control more than half of the network's total hash rate to manipulate the blockchain; in CKB's context, the economic incentives and high computational barriers make such attacks prohibitively expensive, as an attacker would expend resources without guaranteed profitability.[47] By maintaining an open, permissionless mining environment, CKB ensures that no single entity can dominate the network, fostering long-term security through broad participation.[7] CKB's verification-focused architecture builds on Bitcoin's Unspent Transaction Output (UTXO) model by extending it into a programmable Cell model, where each cell represents verifiable state that miners must validate against predefined scripts, preserving the security principles of immutability and atomicity inherent to UTXO paradigms.[12] This approach allows for efficient on-chain verification of off-chain computations, reducing the attack surface by ensuring that only valid state transitions are accepted, thus maintaining the robustness of UTXO-based security without introducing vulnerabilities from account-based models.[48] The design emphasizes script execution in a RISC-V virtual machine, which further strengthens security by enabling modular, auditable verification processes that align with PoW's trust-minimized ethos.[7] Network security metrics for CKB have shown steady growth, with the average hash rate reaching a record 423 PH/s in Q4 2024, reflecting increased miner participation and computational power dedicated to securing the chain.[49] Over time, this has translated to a rising network difficulty, which climbed 6.89% quarter-over-quarter to 4.0 EH in the same period, indicating enhanced resistance to attacks as the cost of acquiring majority hash power escalates.[49] As of January 2026, hash rate estimates are around 144 PH/s, underscoring the network's sustained security despite fluctuations in mining dynamics.[50] Compared to other PoW chains like Bitcoin, CKB adapts the model with an ASIC-neutral algorithm to promote broader miner accessibility and even token distribution, potentially reducing centralization risks from specialized hardware dominance seen in Bitcoin's ecosystem.[47] While Bitcoin's massive hash rate provides unparalleled security, CKB benefits from its modular design that integrates Layer 2 solutions without compromising base-layer PoW integrity.[47] Unlike Ethereum's former PoW implementation, which prioritized throughput over pure security, CKB's focus on storage and verification makes it more resilient to certain reorg attacks through its UTXO-derived finality guarantees.[47]

Post-Quantum Cryptography

In 2025, Nervos Network implemented a significant upgrade to its Common Knowledge Base (CKB) layer, introducing post-quantum cryptographic algorithms to enhance security against emerging quantum computing threats.[51] This upgrade, deployed on the mainnet in August 2025, future-proofs the network by integrating quantum-resistant primitives without requiring a hard fork, allowing for a seamless and permissionless transition.[52][3] The primary primitive adopted is SPHINCS+, a stateless hash-based digital signature scheme standardized by NIST under FIPS 205 in August 2024.[51] CKB supports 12 parameter sets for SPHINCS+, ranging from security levels of 128 to 256 bits, with varying public key sizes (e.g., 32 to 64 bytes) and signature sizes (e.g., 7,856 to 49,856 bytes), enabling users to balance security and efficiency based on their needs.[51] This choice of SPHINCS+ leverages hash functions like SHA-256, which are believed to remain secure even against quantum attacks, avoiding reliance on number-theoretic assumptions vulnerable to algorithms like Shor's.[51][3] Integration with the Cell model occurs through CKB's cryptographic abstraction design, where SPHINCS+ is implemented as a customizable Lock Script—a form of smart contract—rather than being embedded in the consensus rules.[51] The signature proof is stored in the Witness data structure, while the Cell model treats these quantum-safe locks as first-class assets, allowing assets, code, and state to be secured verifiably.[51] Efficiency is further improved via Script Group Execution, which permits a single SPHINCS+ signature to validate multiple input Cells sharing the same Lock Script, facilitating operations like batch transfers of up to 100 Cells with minimal overhead.[51] This modular approach aligns with CKB's UTXO-inspired architecture, enabling developers to deploy the Lock Script using its Code Hash for new addresses without disrupting existing classical cryptography.[51] The upgrade has profound implications for long-term security, protecting the network from quantum threats such as Grover's algorithm, which could otherwise compromise elliptic curve-based signatures used in many blockchains.[3] By relying on hash-based primitives, CKB ensures resilience against both classical and quantum adversaries, with the stateless design of SPHINCS+ particularly suited for blockchain's immutable and decentralized nature.[51] For privacy applications, the permissionless migration allows users to shift assets to quantum-secure addresses gradually, preserving transaction privacy and enabling protocols like RGB++ to incorporate quantum-resistant commitments without exposing historical data.[51] This positions Nervos as a leader in quantum-safe interoperability, safeguarding user-defined tokens and state data in the Cell model against future "harvest now, decrypt later" attacks.[3] The testing and rollout process for quantum-safe signatures began with a production-ready implementation of the SPHINCS+ Lock Script developed by the CKB team and Cryptape researchers, completed as early as 2023 and refined for the 2025 deployment.[51] It underwent a comprehensive security audit by ScaleBit to verify its robustness, with the open-source code available in a GitHub repository for community review.[51] Three implementation variants were tested—a pure C version, a pure Rust version, and a hybrid C-Rust version—with performance benchmarks showing cycle consumptions ranging from 11.5 million to 157.6 million depending on the parameter set, demonstrating practical feasibility on CKB's RISC-V virtual machine.[51] Rollout involved deploying the Lock Script on the mainnet in August 2025, followed by community-driven adoption through tools like the Quantum-Purse wallet, which simplifies creating and migrating to SPHINCS+-secured addresses, ensuring a controlled and incremental upgrade without network downtime.[51][52]

Ecosystem and Community

Developer Tools and Documentation

The official documentation for Nervos Network is hosted at docs.nervos.org, providing comprehensive resources on the Common Knowledge Base (CKB) specifications, including detailed guides on its architecture, consensus mechanisms, and scripting models.[53] This documentation covers tutorials for developers, such as quick starts for setting up local blockchain environments with pre-funded test accounts and built-in scripts, as well as in-depth explanations of how CKB operates as a layer-1 protocol.[54] It also includes sections on running nodes, transaction structures, and the RISC-V-based virtual machine (CKB-VM) used for executing scripts.[55] Nervos Network maintains a Request for Comments (RFC) repository on GitHub, which serves as the primary platform for technical proposals, standards, and documentation related to the protocol's development.[56] This repository outlines key aspects such as the CKB consensus protocol, transaction structures, and crypto-economic models, encouraging community input through a structured RFC process to refine and standardize features.[57] For instance, RFCs detail the evolution of CKB as a stateful programming model that extends Bitcoin's UTXO approach into the Cell model for secure data and code storage.[7] Developers building on Nervos have access to various tools and SDKs tailored for RISC-V development and Cell scripting, enabling the creation of binaries executable on the CKB-VM.[58] These include support for programming languages like C, compiled via GCC to RISC-V targets, as well as SDKs in JavaScript, Rust, Go, and Java to facilitate integration and contract deployment.[58] The CKB-VM repository on GitHub provides a pure software implementation of the RISC-V instruction set, allowing developers to test and deploy scripts that interact with Cells for state management.[22] Scripts in CKB are binary executables that validate transactions, supporting both stateful and stateless logic through the Cell model's design.[59] Developer workflows for creating stateful contracts on Nervos emphasize a state-centric architecture where transactions represent migrations of Cell states, leveraging the Turing-complete capabilities of the CKB-VM and Cell model.[7] A typical workflow involves writing scripts in supported languages, compiling them to RISC-V binaries, deploying them via transactions that lock Cells with script data, and verifying state changes through on-chain execution.[60] This process ensures secure, verifiable storage of code and state, with tools like OffCKB for local testing of stateful interactions.[54] For support, developers can refer to the Nervos Talk Forum for discussions on implementation challenges.[61]

Community and Adoption

The Nervos Network community engages through its official forum at talk.nervos.org, which serves as a central hub for discussions, governance proposals, and collaborative initiatives such as the CKB Community Fund DAO.[62] This platform, built on the open-source Discourse software, hosts categories for general topics, mining-related queries, and formal proposals, fostering decentralized decision-making and community-driven development.[63] Active threads, including quarterly reports from the Nervos Community Catalyst, highlight ongoing progress in ecosystem activities and governance security discussions.[64] Since its launch in 2019, Nervos Network has seen steady adoption, with metrics indicating growing developer involvement and ecosystem expansion. As of recent data, over 756 developers have contributed to the project in the past year, reflecting sustained activity in code commits and protocol enhancements.[65] The network supports a range of decentralized applications (dApps) and integrations, bolstered by resources like open-source SDKs and grant programs that have driven developer engagement, particularly in Q1 2025 through technical documentation and ecosystem promotions.[66][44] Annual reports from the Nervos Foundation underscore a focus on increasing awareness and adoption among developers, with improvements in Layer 2 solutions contributing to broader integrations since 2023.[67][8] Notable projects and partnerships have leveraged Nervos for enhanced scalability and interoperability. For instance, the Rosen Bridge initiative connects Nervos CKB to networks like Cardano and Ergo, marking the first fully decentralized bridge on the platform and enabling cross-chain asset transfers.[33] In Q3 2024, partnerships such as ZenGate advanced ecosystem interoperability, while integrations with platforms like Opera Browser and Zeeve have expanded accessibility and infrastructure support for scalable deployments.[68][69][70] Projects like UTXO Global have introduced features such as batch transfers in multisig wallets, further demonstrating practical adoption for secure, scalable applications.[44] Growth trends in the Nervos ecosystem include contributions to UTXO model evolutions, with the network playing a key role in initiatives like the UTXO Alliance, which unites developers to advance Unspent Transaction Output standards for better scalability and security.[71] Since 2019, Nervos has positioned itself as a UTXO-based Layer 1, influencing extensions seen in projects like RGB++ for Bitcoin programmability, as highlighted in Messari reports recognizing its impact on blockchain scalability.[72][73] The 2023 year-end report notes a shift toward developer-focused goals, correlating with increased contributions to UTXO innovations and overall network activity.[8]

References

User Avatar
No comments yet.