gwei/Computer Science > Cryptography and Security

Dev notes

I wanted a coin whose unit meant something before anyone traded it. Most supplies are a number chosen because it looked round, and the unit is whatever the number divides into. I chose the number of gwei in one ETH because it is a real denomination on a real chain, and because pinning a Solana mint to it makes the mint's unit inherit a meaning it did not earn.

The first decision was that supply only falls. Every mechanism on the site follows from it. Dust is burned rather than carried because carrying it would let the supply hold still. Nullified notes are burned because a round trip that cost nothing would be a loop with no exit.

The second decision was that the program accepts one kind of cross-chain signal. I did not want a button whose click was treated as proof. An Ethereum transaction must carry the input bytes, and the site must show its transaction hash, receipt and finality reference before a gwei weight is eligible. Sending that transaction costs ETH gas. It is public: the sender can be identified from the chain, so the design makes no anonymity claim.

The block-reference chain is the price of that decision. A Solana-side rule needs more than a claimed Ethereum height: it needs the execution block, a transaction or receipt inclusion proof, and evidence that the consensus checkpoint is finalized. A witness can relay references, but cannot make an unfinalized block final by saying so. The wait is deliberate, and the page leaves the field blank until the evidence is available.

The site reads Solana market data for the mint on a short polling interval and refreshes fills separately so the quantization tables can grow. Ethereum block references are read on their own cadence because a new execution block and a finalized checkpoint are different events. A missing checkpoint is shown as missing evidence, not estimated from elapsed seconds.

Nothing on the site is a sample. If a value is blank, the input has not arrived. I would rather you see an empty cell than a number I made up, because a made up number on a page about enforcement would be the one thing that disproved the page.

The front page is a preprint abstract because that is the form in which a claim is made and then left alone to be checked. The sidebar reads the market because an abstract about a live object should have the object next to it.

Violet follows the mark; pale ink carries the text against a near-black page. Green and red remain reserved for readings that move up or down.

The profile square carries the gwei mark. It identifies the page; the measurements and references carry the claim.

The dev panel exists only on the preview. On the published domain there is no way to change the mint and no way to change anything else. The site is a readout, and a readout with a knob is a different kind of object.

I computed the reserve from the fee rate and the fill volume because the program's actual reserve account is not something a site should guess at. The site says what it computed and how. The account says what is true.

If you read this far you have read more about a supply than the supply will ever read about you. That asymmetry is the point.