Academy

Learn to build chips by building them.

15 short labs, each one a real circuit. You start with a single gate and finish with an adder that can do arithmetic. Pass a lab and you can etch that circuit as a verified die you own, and a verified die is what mines $WFR. The labs are free to play; etching uses NAND from the Foundry.

0of 15
Nothing passed yetFree to play. No wallet needed to practise.

Before you start: five ideas, five minutes

This is everything you need to know. No maths, no prior electronics.

0off · no signal1on · signal1. A bit is a switch

Computers don't know numbers or letters. They know one thing: is this switch off (0) or on (1)? Every picture, song and message is just a very long row of these switches.

A=1B=1NANDY=02. NAND is the only gate you need

A gate looks at some bits and answers with a bit. NAND answers 1 in every case except one: when both its inputs are 1, it answers 0. That's the whole rule. With enough NANDs you can build any computer ever made.

Aoutput pindrag →NANDinput pin3. Cells and wires

On the canvas, every gate is a box called a cell. Signals leave a cell from the pin on its right and enter the next cell at a pin on its left. You draw a wire by dragging from one pin to the other.

LATCHone bit of memoryD (data)E (enable)QE on: Q follows D · E off: Q keeps the last value4. LATCH is memory

Gates forget instantly. A LATCH remembers: while its enable pin is on it copies its input; when enable goes off it holds that value. It's the second and last piece Wafer gives you, and it's what lets chips count and store.

9 NANDmaterials→etchburns them→DIE-0001235. Etching turns a drawing into a die

NAND and LATCH are materials you buy. When you etch a circuit, the materials it uses are burned and a die is made in their place, with a permanent number. If a checker confirms it works, the die earns $WFR.

How a lab works

  1. 1Read the task

    Each lab tells you the inputs and outputs it expects, in one sentence, with a hint if you get stuck.

  2. 2Build it on the canvas

    Place cells, wire them, name the ports exactly as the task says. Toggle the inputs to see it work.

  3. 3Run the truth table

    The lab checks every input combination against the expected answers. Green means you passed.

  4. 4Etch it if you like

    Once it passes you can etch the circuit as a verified die into one of your projects, using NAND from the Foundry. A verified die is what earns $WFR.

The labs

In order — each one builds on the last
02Rank 01
AND from NAND

De Morgan’s first lesson. Invert a NAND.

A, B → Ypar 2 NAND
03Rank 02
XOR

Parity. Four NANDs, no macros if you want style points.

A, B → Ypar 4 NAND
04Rank 03
Half adder

Five transistors. Sum and carry — the first arithmetic die.

A, B → S, Cpar 5 NAND
05Rank 04
Full adder

The slice every ALU is made of. Nine transistors at par.

A, B, Cin → S, Coutpar 9 NAND
06Rank 05
2:1 multiplexer

Routing is computing. Select is the first bus.

D0, D1, S → Ypar 4 NAND
07Rank 06
Hold a bit

NAND alone has no memory. A computer starts here.

D, E → Qpar 0 NAND · 1 LATCH
08Rank 07
2-bit adder

Hierarchy. Two full adders, ripple carry.

A0, A1, B0, B1 → S0, S1, Coutpar 18 NAND
09Rank 08
4-bit adder

The adder inside every CPU: four bits, a carry that ripples.

A0, A1, A2, A3, B0, B1, B2, B3 → S0, S1, S2, S3, Cpar 32 NAND
10Rank 09
2-to-4 decoder

Turn a 2-bit number into one of four wires. How memory picks a row.

A0, A1 → Y0, Y1, Y2, Y3par 10 NAND
11Rank 10
2-bit comparator

Is A equal to B, or bigger? The test behind every branch.

A0, A1, B0, B1 → EQ, GTpar 23 NAND
12Rank 11
4-bit counter

Memory that counts. Four flip-flops and an incrementer.

CLK, EN → Q0, Q1, Q2, Q3par 20 NAND · 8 LATCH
13Rank 12
Wafer-4: a 4-bit CPU

An accumulator, an ALU and a clock. Four instructions, two flags.

OP1, OP0, CLK, D0, D1, D2, D3 → A0, A1, A2, A3, C, Zpar 117 NAND · 12 LATCH
14Rank P1
Your first multisig rule: 2-of-3

A wallet rule is a circuit. Allow when any two of three signers signed.

s0, s1, s2 → allowpar 12 NAND
15Rank P2
Agent under a limit, human above it

An agent signer may spend small amounts alone; larger amounts need a human signature too.

cHuman, cAgent, v4, v5, v6, v7 → allowpar 14 NAND
i The free NAND grants for passing labs have ended. The labs stay open, and NAND for etching is at the Foundry.