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.

Re(s)Im(s)0½1poleζ(s) = 0non-trivial zerosTHE CRITICAL LINERe(s) = ½
Phase contours of ζ(s), computed live in your browser. They converge at each zero and at the pole s = 1. Every zero found so far lies on the line; the hypothesis itself remains unproven.

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.

The critical lineRe(s) = 12
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.

σ0.50
zeros touched—
closest approach—
012340102030405060t = Im(s)|ζ|
0
1

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

+1+2+2+4+2+4+2+4+6+2+6+4+2+423571113171923293137414347…

2 · 3 · 5 · 7 · 11 · 13 · 17 · 19 · 23 · 29 · 31 … The gaps look random. Hover a prime to trace its neighbours.

Counting them

01020304050050100150200π(x) · primes up to xli(x)x / ln x

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.

  1. IZETAERC-20 · 1,000,000 supplyMinted once. No mint, no owner.
  2. IIRIEMANN HookUniswap v4 · ETH/ZETATaxes every trade by prime state.
  3. IIIRIEMANN VaultBuyback engineTurns the tax into burned ZETA.
ζZETAERC-20 tokenUniswap v4 Poolliquidity · swapsRIEMANN Hookbefore & after swapPrime Epochsdeterministic sequenceETH Tax1% · 2% · 3% by stateRIEMANN Vaulthourly buyback · burnζZETAERC-20 tokenUniswap v4 Poolliquidity · swapsRIEMANN Hookbefore & after swapPrime Epochsdeterministic sequenceETH Tax1% · 2% · 3% by stateRIEMANN Vaulthourly buyback · burn

Every hour

Read the primeCritical · Stable · Anomaly
Buy back10% · 2% · 5% of the vault
Burntotal supply goes down
In contracts · not deployed

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.

2357111317…
In contracts · not deployed

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.

In contracts · not deployed

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.

Placeholder data. The contracts are not deployed yet. Values appear here after deployment.
CURRENT PRIMEpnawaiting first epoch
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

  1. 2
  2. 3
  3. 4
  4. 5
  5. 6
  6. 7
  7. 8
  8. 9
  9. 10
  10. 11
  11. 12
  12. 13
  13. 14
  14. 15
  15. 16
  16. 17
  17. 18
  18. 19
  19. 20
  20. 21
  21. 22
  22. 23
  23. 24
  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.

Allocationto be announced
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