The Riemann Protocol
A Uniswap v4 experiment inspired by the Riemann Hypothesis.
A token and hook that turn a fundamental question of mathematics into a live, onchain market.
The Idea
The Riemann Hypothesis connects the mysterious pattern of prime numbers with the zeros of the zeta function.
The Hook
A Uniswap v4 hook that runs in 60 minute prime epochs, taxes every trade in ETH by state, and feeds a vault that buys back and burns ZETA.
The Result
A self-evolving market inspired by one of the deepest problems in mathematics.
i.The Hypothesis
What is the
Riemann Hypothesis?
Prime numbers appear irregularly throughout the number line. Yet beneath their apparent randomness, mathematics suggests a deeper structure.
The Riemann Hypothesis proposes that every non-trivial zero of the Riemann zeta function lies on a single vertical line in the complex plane.
- Proposed
- 1859, Bernhard Riemann
- Status
- Unproven · Millennium Prize Problem
Interactive · |ζ(σ + it)|, 0 ≤ t ≤ 60
Move σ across the critical strip. Only on the line σ = ½ does the curve touch zero.
Within this window the zeros are known to lie on σ = ½. The hypothesis asks whether that holds for all of them; it remains unproven.
The Euler product above ties ζ to every prime at once. That is why its zeros, a question about a single function, become a question about the primes.
Prime numbers
2 · 3 · 5 · 7 · 11 · 13 · 17 · 19 · 23 · 29 · 31 … The gaps look random. Hover a prime to trace its neighbours.
Counting them
The zeros of ζ(s) control how far π(x) strays from li(x). If the hypothesis is true, that error stays as small as it possibly can, on the order of √x · log x.
ii.The Protocol · Uniswap v4 Hook
Mathematics meets the market.
One ETH/ZETA pool on Ethereum. Every buy and every sell pays a tax in ETH set by the prime state of the hour. The tax flows straight into the vault, and the vault turns it into ZETA that is burned.
- IZETAERC-20 · 1,000,000 supplyMinted once. No mint, no owner.
- IIRIEMANN HookUniswap v4 · ETH/ZETATaxes every trade by prime state.
- IIIRIEMANN VaultBuyback engineTurns the tax into burned ZETA.
Every hour
Prime Epochs
Every 60 minutes, aligned to the UTC hour, a new epoch begins. Epoch e reads the integer x = e + 2 and the distance g to the next prime. Pure arithmetic, recomputable by anyone.
Prime Tax
The hook charges a tax in ETH on every buy and every sell, in all four swap modes, and sends it to the vault inside the same swap. The rate follows the state of the hour.
- Criticalg = 01% tax
- Stableg ≤ T(x)2% tax
- Anomalyg > T(x)3% tax
T(x) = ⌊0.6 · bits(x)⌋. Each rate is capped at 5% and the table can be frozen forever.
Vault Buyback
Each hour the state also sets how much of the vault's ETH may buy ZETA back. Bought ZETA is burned and the total supply goes down.
- Criticalper hour10% of vault
- Stableper hour2% of vault
- Anomalyper hour5% of vault
Each buyback is capped at a 3% price move against the block-start price, so a same-block front-run cannot exploit it.
What the owner can do
Change the tax table (max 5%) and the hourly budgets (max 25%) until they are locked; set a dev share of incoming tax (max 50%, starts at 0%); and run an emergency sweep that sends the vault's ETH and ZETA to the dev wallet. The owner cannot mint ZETA or change the epoch rule. Contracts are not audited by a third party.
iii.Live Protocol
The instrument.
A reading of the hook's state, taken directly from Ethereum. No server in between.
- 01Current Epoch
- —60 min
- 02Sequence
- —x → p
- 03State · Tax
- —ETH tax
- 04Tax Collected
- —to the vault
- 05Buyback This Hour
- —vault budget
- 06ZETA Burned
- —supply goes down
Sequence preview · epochs 0 to 23 · computed in your browser with the contract's rule
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- Critical 1% tax · 10%/hr buyback
- Stable 2% tax · 2%/hr buyback
- Anomaly 3% tax · 5%/hr buyback
iv.Tokenomics
The Structure of ZETA
A fixed supply ERC-20 on Ethereum mainnet. Figures appear here once they are final; nothing on this page is a number we made up.
- Total Supply
- 1,000,000 ZETA · fixed, no mint
- Initial Liquidity
- To be announced
- Token Allocation
- To be announced
- Network
- Ethereum Mainnet
- Contract Address
0x · pending deployment- RIEMANN Hook
0x · pending deployment- RIEMANN Vault
0x · pending deployment- Trading Link
- Published at launch