build notes
I wanted a coin whose rules you could check by looking at a drawing and following the copper with your finger.
So I started from hardware. A board is honest in a boring way. A trace goes from one pad to another pad and that is all it does. A capacitor holds what you put in it until something lets it out. If a part is not on the board, the board cannot do that thing.
The first part I picked was the register, because every coin needs something that decides when things happen, and most of them pick a clock. A clock fires whether anyone showed up or not. A shift register only moves when a bit arrives, so I made the bits the trading itself. Price went up, a 1 goes in. Price went down, a 0 goes in. Sixty four of those and the word is full.
Sixty four is not a magic number. Solana programs run on a 64 bit machine and the registers inside it are 64 bits wide, so a word that size is the natural unit of everything on the chain. It is also long enough that one person cannot fill it with two trades and short enough that a busy hour fills it many times.
While the word fills, creator fees pile up in the capacitor bank. I like that picture because it is exactly what happens. The fees sit there doing nothing. The board does not trickle them out and it does not schedule them. It waits for the 64th bit.
When the word latches the bank dumps into the regulator, and the regulator cuts the dump into 64 parts. Sixteen go to holders every time, no conditions. For the other forty eight the board counts the 1s in the word. Three quarters of that count, rounded down, goes to the burn rail. Whatever is left is the remainder.
The remainder is where the relay comes in. If sells led the word, meaning fewer than 32 ones, the relay closes and the remainder goes out as a buyback. If buys led, the relay stays open and the remainder never leaves the bank. It rides into the next word. A market that is already buying does not need the board buying on top of it.
The burn rail has a diode on it and that is the whole explanation. Current goes one way. Tokens that go down that rail are gone, and the heatsink reading is the running total, which you can check against the supply on any explorer.
The part I spent the longest on is the fuse. The vault that holds the fees does not open with a normal Solana key. It opens with a Winternitz key, which is built from nothing but hashes and can sign exactly one thing. Using it gives away enough of the secret that it must never be used again, so every dump spends the key, moves what is left into a fresh vault and seats a new key. One dump, one fuse.
I did that because of the quantum problem. A big enough quantum computer breaks the elliptic curve signatures every wallet uses today. It does not break hashes in any way that matters. Solana's two main validator teams have both settled on a scheme called Falcon for the day the network has to switch, and both have early code, but it is not turned on. So the board has an empty socket where a Falcon chip would go, and the vault runs on hashes in the meantime.
The last part is the memory. Every latched word is written to the EEPROM once. Nobody edits it afterwards, including me. If you want to know why the board burned what it burned at some point, the word is there and the sum takes ten seconds.
That is all of it. A register, a bank, a regulator, three rails, a diode, a relay, a fuse and a memory chip. If it is not one of those, the board does not do it.