docs

back home

what this is

SBF-64 is one Solana coin with a fixed set of rules for what happens to its creator fees. The rules are drawn as a circuit board so that each one has a part, a place and a name. This page writes the rules out in full.

The name comes from the machine Solana programs run on, which is a 64 bit one. Everything on the board is sized to that number.

the parts

J1 takes fees in. C1 to C4 store them. F1 is the vault key. U1 is the register that counts trading. U2 is the regulator that splits a dump. D1 makes the burn rail one way. HS1 shows the total burned. P1 is the holder output. K1 routes the remainder. J3 is the buyback output. U3 stores latched words. J2 is an empty socket kept for a Falcon chip. SW1 holds the fixed settings.

the register rule

The register takes one bit per price move. A move up is a 1. A move down is a 0. A reading that matches the one before it adds nothing. There is no timer anywhere in the rule, so the register can sit at 40 bits for a day if nobody trades.

Bits are stored in the order they arrive. The first bit of a word is its most significant bit.

the latch

When the register holds 64 bits the word latches. Three things happen together. The word is written to the EEPROM. The count of 1s is passed to the regulator. The register clears.

The count of 1s is the only thing the regulator uses. Two words with the same count give the same split, whatever order their bits came in.

the split

holders   = 16
burn      = floor(3 x ones / 4)
remainder = 48 - burn
ones under 32    buyback = remainder   carried = 0
ones 32 or more  buyback = 0           carried = remainder

Every dump is 64 parts. Holders take 16. Burn takes three quarters of the count of 1s, rounded down, so it runs from 0 parts for a word of all selling to 48 parts for a word of all buying. The remainder is 48 minus the burn.

the relay and the carry

K1 looks at the count. Under 32 it closes and the remainder leaves as a buyback. At 32 or over it stays open and the remainder is carried, which means it stays in the capacitor bank and is part of the next dump.

The effect is simple. When selling led, the board buys. When buying led, the board burns more and saves the rest for a word that needs it.

the fuse

The vault is locked by a Winternitz one time signature. Signing reveals part of the key, so a key is safe for one signature and no more. Every dump signs once, moves the balance to a new vault under a new key and retires the old one. F1 counts the keys used.

The scheme rests on a hash function only. Hash functions are the part of today's cryptography that a quantum computer does the least damage to.

the socket

J2 is kept for Falcon-512, the lattice signature scheme Solana's validator client teams have settled on for a future switch. Its signature is 666 bytes and its public key is 897 bytes. Solana has not turned it on, so the board cannot use it yet and the socket is drawn empty.

what this page reads

The page reads three things. The coin's price, once a second. The coin's supply from the chain. And the one minute price record for the last 1000 minutes, once, when the page opens.

The page cannot see single trades, so it reads the price line instead. A price that moved up was moved by buying and a price that moved down was moved by selling. While the page is open it reads at one second steps. For the stretch before it opened it uses the one minute record, which is coarser.

Latched words are kept in the site's own table, written once, first come first kept. The burned total is not kept by the site at all. It is the gap between the 1,000,000,000 minted and the supply the chain reports.

how to check a word by hand

Take a word from the eeprom page, for example its 16 hex digits. Write each digit as four bits. Count the 1s. Multiply by 3, divide by 4 and drop the fraction: that is the burn. Take it away from 48: that is the remainder. If your count was under 32 the remainder is the buyback. If it was 32 or more the remainder was carried. Holders are 16 either way.

words used on this site

wordmeaning
bitone price move, 1 for up and 0 for down
word64 bits in the order they arrived
latchthe moment a word is complete and the bank dumps
dumpthe stored fees released by a latch
partone sixty fourth of a dump
remainderthe 48 parts not taken by holders, minus the burn
carrieda remainder that stays in the bank for the next dump
keyone Winternitz one time signature key for the vault
neta named copper connection between parts