Phase 1
Foundations
6 lessons1
45 minutes
What is CKB? The Cell Model
Understand the fundamental building block of Nervos CKB: the Cell. Learn how cells store data, capacity, and scripts.
01-cell-model-explorer
2
50 minutes
Transaction Anatomy
Dive into CKB transactions: inputs, outputs, deps, witnesses. Understand how state transitions work.
02-transaction-anatomy
3
40 minutes
Capacity & CKBytes
Learn how CKBytes fund on-chain storage. Build a capacity calculator to understand the economics of cell storage.
03-capacity-calculator
4
30 minutes
Dev Environment Setup
Set up your local CKB development environment with devnet, CCC SDK, and essential tooling.
04-dev-environment-setup
5
45 minutes
Your First CKB Transfer
Send your first CKB transaction programmatically. Build, sign, and submit a transfer using CCC SDK.
05-first-transfer
6
60 minutes
Building a Cell Explorer
Build a mini explorer that queries live cells, displays their data, and visualizes the cell structure.
06-cell-explorer
Phase 2
Scripts & Smart Contracts
6 lessons7
50 minutes
Script Basics: Lock & Type
Understand CKB scripts: lock scripts for ownership, type scripts for validation. Learn the script execution model.
07-script-basics
8
60 minutes
Writing a Hash Lock Script
Write your first CKB script in C: a hash time lock that requires a preimage to unlock.
08-hash-lock-script
9
45 minutes
Script Debugging & Testing
Learn to debug CKB scripts using ckb-debugger, write tests, and handle common script errors.
09-script-debugging
10
55 minutes
Type Script: On-Chain Counter
Build a type script that enforces state transitions, implementing an on-chain counter.
10-type-script-counter
11
50 minutes
Molecule Serialization
Master Molecule, CKB's binary serialization format. Encode and decode complex data structures for on-chain use.
11-molecule-serialization
12
55 minutes
CKB-VM Deep Dive
Explore the CKB-VM: a RISC-V based virtual machine. Understand cycles, syscalls, and script execution.
12-ckb-vm-deep-dive
Phase 3
Token Standards & Composability
5 lessons13
55 minutes
xUDT: Fungible Tokens
Create and manage fungible tokens using the xUDT (Extensible User Defined Token) standard on CKB.
13-xudt-tokens
14
60 minutes
Spore: NFTs on CKB
Create fully on-chain NFTs using the Spore protocol. Store content directly in cells.
14-spore-nfts
15
50 minutes
Omnilock: Universal Lock Script
Explore Omnilock, the universal lock script supporting multiple auth methods: secp256k1, Ethereum, multisig, and more.
15-omnilock-wallet
16
55 minutes
Composability Patterns
Learn advanced cell composition: combining multiple scripts, cross-cell references, and pattern design.
16-composability-patterns
17
45 minutes
Cell Management Strategies
Learn strategies for managing cells at scale: cell collection, merging, splitting, and indexing.
17-cell-management
Phase 4
Infrastructure
3 lessons18
50 minutes
CKB RPC Dashboard
Build a dashboard that interacts with CKB RPC endpoints. Monitor chain state, blocks, and mempool.
18-rpc-dashboard
19
40 minutes
Running a Full Node
Set up and configure a CKB full node. Understand consensus, syncing, and node operations.
19-full-node-setup
20
50 minutes
Light Client Application
Build an application using CKB Light Client for efficient on-device chain access without a full node.
20-light-client-app
Phase 5
Production
4 lessons21
60 minutes
RGB++ Protocol Explorer
Explore the RGB++ protocol: isomorphic binding between Bitcoin UTXOs and CKB cells for cross-chain assets.
21-rgbpp-explorer
22
75 minutes
Building a Token DEX
Build a decentralized exchange for xUDT tokens using CKB cell composability and atomic swaps.
22-token-dex
23
75 minutes
NFT Marketplace
Build an NFT marketplace using Spore protocol: listing, buying, and managing on-chain NFTs.
23-nft-marketplace
24
50 minutes
Mainnet Deployment
Deploy your dApp to CKB mainnet. Learn about security auditing, deployment scripts, and production best practices.
24-mainnet-deployment