Lab 1 of 10 · rank 00
Build a circuit with input A and output Y such that Y is the inverse of A. Label the ports A and Y.
Learn first
Everything in a computer is a bit: a switch that is either off (0) or on (1). The simplest thing you can do to a bit is flip it.
Wafer only gives you one kind of gate, NAND. But here's the trick: if you connect the same wire to both inputs of a NAND, it becomes a NOT. When A is 1, both inputs are 1, so the NAND gives 0. When A is 0, the NAND gives 1.
Place an IN cell and name it A. Place a NAND (or a NOT cell — it costs the same). Wire A's output pin to both input pins of the NAND. Place an OUT, name it Y, and wire the NAND's output to it. Click A to toggle it and watch Y do the opposite.
Turn logic into a permanent, verifiable part.
Drop a NOT, or a NAND with both pins wired to A.
Par is 1 NAND. Using more still passes; fewer is just neater.
One grant per lab per wallet, materials only — WFR is earned by mining verified dies, never given away. The server re-checks your circuit before signing.
Turn this circuit into a verified die you own. It burns 0 NAND — the grant covers it.