NANDmine
The output stays high until everybody agrees. Then it drops. That's the whole gate, and it's the only one you need.
Truth table
Four possible states. Three of them output high. The one that doesn't is the one where both inputs finally line up — which is roughly how every top looks in hindsight. Flip the switches above and the live row follows you.
| A | B | Y — output |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Why this gate. NAND is one of two gates that can build every other gate on its own. Give an engineer nothing but NAND and enough wire and they can build a full processor — arithmetic, memory, the lot. Every chip you've ever mined on descends from it.
Flash memory is called NAND for the same reason: the cells are wired in the pattern of this gate. So "NANDmine" is not a pun that needed explaining. It's just where the compute came from.
One gate, all of them
Wire a NAND back into itself and you get NOT. Two of them make AND. Three make OR. Nothing else has to exist.
NOT — 1 gate
An input arrives, its opposite leaves.
AND — 2 gates
Both high, or nothing happens.
OR — 3 gates
Either one is enough.
Characteristics
Read the contract before you read anything else on this page.
How to wire in
Four steps, in order. Skipping step three is how people buy the wrong token.
Get a wallet
Any EVM wallet works — MetaMask, Rabby, Phantom's EVM side. Write the seed phrase down on paper and keep it off your screen.
Fund it
Send the native gas token of the network the pair is on. Leave a little extra for the swap fee.
Paste the contract
Copy the address from this page and paste it into your DEX. Match every character. Copycat contracts count on you not checking.
Swap
Set slippage, confirm, done. The output goes high.