Skip to content

Instantly share code, notes, and snippets.

@Flouse
Last active April 15, 2023 14:22
Show Gist options
  • Save Flouse/eb70f34fc5fe7d5b3d2bab6d989333cc to your computer and use it in GitHub Desktop.
Save Flouse/eb70f34fc5fe7d5b3d2bab6d989333cc to your computer and use it in GitHub Desktop.
curated collection of tutorials, tools, videos, and essays of Nervos Network

General

These RFCs (Request for Comments) are proposals, standards, and documentation related to the Nervos Network.

This video series provides the tools and knowledge you need to start building on Nervos. Our experienced developers will take you through the process of building on Nervos, step by step.

This manual, created by the Nervos community, is designed to help newcomers get started with Nervos. It covers basic concepts of Nervos, such as tokenomics, wallets, NervosDAO, mining, sUDT, and includes videos focusing on the UTXO model. (This manual is also available in Chinese language.)

Tutorials

An interactive web page to learn CKB from scratch, no code or software needed.

An easy-to-follow tutorial on how to construct and send a transaction in CKB

A course series that helps intermediate blockchain developers build common application components on Nervos CKB L1 through practical exercises.

A workshop series presented by our senior engineers on CKB dApp development. The series comprises three lectures: 1) basic concepts of CKB development, including several commonly used development patterns; 2) a demonstration of using Capsule, the tool for writing on-chain contracts in Rust; 3) a demonstration of using Lumos, another framework for building dApps in JavaScript or TypeScript, to interact with the blockchain.

A video tutorials that walk you through Keyper, a standard design for key management between wallets and dApps and a lock management SDK with plugin support.

Tools

A command-line tool that allows you to perform various actions, such as managing accounts, transferring CKBytes, and checking account balances, by directly invoking RPCs.

Capsule provides handy smart contract support for Rust developers when creating scripts on CKB, covering the entire lifecycle of script development: writing, debugging, testing, and deployment. Click here to discover more details.

A JavaScript/TypeScript based toolbox designed to make building DApps on Nervos CKB easier. Follow the Lumos Tutorial site for more information and step-by-step guidance.

A high-level middleware solution for simple integration use cases, such as wallets and exchanges.

SDKs

SDKs provide basic and versatile support in the language of your choice.

Cell Model

Cell is the most basic structure for representing a single piece of data in Nervos. For a better comprehension of this concept, in addition to the essays, Cell and Cell Model, on the documentation site, here are a few more pieces you can read:

Cell Model: A generalized UTXO as state storage

How CKB Turns User Defined Cryptos Into First-Class Assets

Understanding the Nervos DAO and Cell Model

Consensus

NC-Max: Breaking the Security-Performance Tradeoff in Nakamoto Consensus

An extended presentation by Dr. Ren Zhang elaborates on the innovative features of NC-Max, which uses NC (Nakamoto Consensus) as a backbone to achieve security, flexibility, and simplicity while breaking the security-performance tradeoff. The original talk was given at the NDSS Symposium in 2022.

Read the paper and watch the video here.

Dr. Ren Zhang explains the design logic of Nervos consensus protocol — NC-Max, a variant of Nakamoto Consensus with higher throughput.

An exploration into the three major innovations in NC-Max: 1) Two-step transaction confirmation to reduce orphan rate; 2) Dynamic block interval & block reward to maximize bandwidth utilization; 3) Consideration of all blocks in difficulty adjustment to defend against selfish

A podcast session hosted by ZKPoscast where Dr. Zhang Ren chats about an earlier work he did on evaluating PoW consensus protocol security and explore his more recent work on NC-Max.

Layer 1

In this keynote speech, Jan, co-founder and chief architect of Nervos discusses the layered architecture needed to support scalability and decentralization. He argues that L1 must be powerful enough to support L2 solutions, and the ledger should be modeled from the perspective of assets rather than accounts, to maintain consistency between layers and reduce complexity.

data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%2730%27%20height=%2730%27/%3e

Jan elaborates on the architecture of CKB, which is designed to be the best fit for its layered architecture. He also outlines the reasoning behind the adoption of cell model to store data and manage transactions, and how the total state size in CKB is bound by the token in circulation, which curbs state explosion and bloating, and other layered-architecture-related topics.

CKB-VM

An essay from our engineer Xuejie who has expertise in the development of the CKB-VM.

Xuejie discusses the design logic behind CKB-VM and explains the rationale behind choosing RISC-V over WASM as the platform for building the VM.

A Twitter thread breaking down CKB’s RISC-V-based virtual machine and the benefits.

An educational event introducing RISC-V to the Nervos community.

NFT

A compilation of Nervos CKB NFT related links

Wallet

A compilation of wallets that support storage of CKBytes.

Update & AMA

A monthly in-depth and engaging program broadcasted on YouTube, where community members can connect with the co-founders and engineers of Nervos, making it a valuable opportunity to stay up-to-date with the ecosystem.

2023 Cryptape Doc Hackathon Announcement

https://cryptape.notion.site/2023-Cryptape-Doc-Hackathon-Announcement-a815d35d5f334ce6a167a56f1eeafe87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment