Nervos Network uses a layered architecture to address the blockchain trilemma of security, decentralization, and scalability.
Nervos' Layer 1 focuses on security and decentralization, providing trust to higher layers.
Nervos' Layer 2 focuses on scalability, providing nearly instantaneous transactions for millions of users.
By abstracting important blockchain functional components into different layers, Nervos Network's design enables a truly interoperable, scalable blockchain platform.
This all starts with layer 1, the Common Knowledge Base (CKB), which is in charge of security and decentralization. Layer 1 generates trust which is inherited by higher layers, promoting scalability and flexibility throughout the entire network. Layer 1's architecture is based on the Nervos Cell Model, and smart contracts are programmed in Rust.
Layer 2 of the Nervos ecosystem is free to focus on scalability, additional functionality, optimizing decentralization, interoperability, and more! The current focus is composed of Godwoken and Polyjuice, to provide a highly scalable layer 2 that is based on Ethereum account model and can run EVM compatible smart contracts programmed in Solidity.