Welcome to Cell Sandbox
Start with one simple idea.
You do not need to understand CKB yet. We will open one Cell together, see what it holds, and follow what happens when it moves through a transaction.
- No wallet needed
- Nothing will be sent
- Raw details can wait
Guided journey
The Cell model
State lives in Cells
A live Cell is an immutable piece of state. It holds capacity and defines how that state may be used. Open its layers before touching the raw structure.
Guided journey
Ownership and rules
Scripts guard the state
The lock script controls who may consume a Cell. An optional type script enforces application rules across matching inputs and outputs.
Guided journey
State transition
Cells are consumed, not edited
A transaction references existing live Cells as inputs and creates new Cells as outputs. Change and fees become visible only after funding is completed.
Guided journey
Transaction.from(outputs)propose the new CellscompleteInputsByCapacity(signer)select live funding CellscompleteFeeBy(signer, 1000)add fee and wallet changeVisual to code
The model maps directly to CCC
The visual workflow proposes outputs. CCC asks the signer for spendable inputs, completes the fee and change, then the wallet signs the result.