The first sealed swaps on Elysium.
Your swap is in line before anyone can read it. Sealed is a Uniswap v4 hook that only takes swaps encrypted to a drand round a few seconds out; once drand publishes the key, anyone can run the line, in order.
A swap says how much you are ready to pay. Whoever reads it before its place is fixed can trade ahead of it. Sealed fixes the place first, and lets it be read after.
Whoever reads your swap first can trade around it.
Before a swap has its place in line it passes through your RPC, maybe a relay, and the sequencer. Any of them can buy just before it and sell just after, taking up to your whole slippage limit. On a Sealed pool there is nothing to read until the order is fixed.
- Your buy
- 40,000 USDC
- Slippage limit
- 1.0%
- You receive
- 590.76 HYPE
- The bot keeps
- $405
Quoted 596.73 HYPE. The bot buys 6,650 USDC first, just enough to push you to your limit, then sells into your buy. Constant-product pool of 20,000 HYPE and 1.3M USDC, 0.05% fee: a model, not Elysium data.
Sell 3.20 HYPE
Buy with 6,650 USDC
pushes the price up first
Buy with 40,000 USDC at least 590.8 HYPE
pays 67.71, not 67.03
Sell all of it right after
keeps $405
Buy with 900 USDC
A real timelock, in this page.
Write a swap below. It is encrypted to a drand round that hasn’t happened yet, so nobody can read it, us included, until drand publishes that round. Then this page opens it, the way anyone could. Nothing is sent to Elysium.
HYPE, no lower than USDC each.
- Sealed
- —
- Locked to
- —
- Opened
- —
-----BEGIN AGE ENCRYPTED FILE----- 7OFurIpom4rIb4FJMzAoXww/6qKLIQyla3Us/vyFsfbZANFLejXieF5ZY4VaPzG4 0rFkZaUKh3f/Pn4EoVzHLzxpUe48WBweyvBO07AfZe/M5JB0GoYoeidsJFKFN5B0 9sfdt3eh/tZJRPgZfB9J1idS4eWId4gMVsm9Edrr04op99M9e1QtRXz5NmqfAwkT 5ExcaPKykAo/1HX5A+O31e0zwgI1+yAaxBPFF6zMbFs7Aq9a6o+8emqw2iUvD0pi yRjCpEO86Ct1/bE8keZKRs6jCd1AlpN72M4emd5adymea6dMkhnD6zSVKcdrW58H gnz08rTTjjow9ZaMmNipyEfRO+LvyMbe2Uaz8vRReTD3UPSmsUBm+xI49IbUwAUT 8sSjjMuBfafF8AW8Zob/yEaFWnSRv0jxYfvJyuvbBVQ7BhqqTD6u898WACMK0CEt 0EAPCJXYwn6hbUksETLosc6p83GSt0J8MnN0LWmcuRjPyqWo/OdR0e5ANWoV/JTx -----END AGE ENCRYPTED FILE-----
Copy the ciphertext and open it yourself with drand’s tle tool: it is a standard age file locked to a quicknet round. The hook checks the same math onchain, with Elysium’s BLS12-381 precompiles, before it runs a swap.
One round on Elysium.
drand signs a round every 3 seconds and Elysium makes a block every 137 milliseconds, so each round collects about 22 blocks of sealed swaps and runs them together. This is one of them, slowed down two and a half times.
Sell 3.20 HYPE
no lower than 64.50
→ 207.86 USDC
Buy with 4,000 USDC
no higher than 65.40
→ 61.34 HYPE
Sell 12.00 HYPE
no lower than 64.60
→ 783.69 USDC
Buy with 900 USDC
no higher than 65.50
→ 13.77 HYPE
Buy with 15,000 USDC
no higher than 65.90
→ 226.67 HYPE
Pool price, HYPE/USDC
66.904USDC
Round 34,334,700 is the latest one drand published; the swaps are examples.
A hook that only takes sealed swaps.
Sealed sits on a Uniswap v4 pool on Elysium. It keeps a line per round and your balance, and its beforeSwap lets a single caller through: the hook itself, while it runs an opened round. Elysium already has the BLS12-381 precompiles the check needs, so nothing changes in the chain.
Other ways to keep a swap unread.
Private relays and encrypted mempools already hide swaps. They differ in who holds the key, and in how much of the chain has to change for it.
Public mempool
- Who can read your swap before its place is set
- Anyone watching
- What you trust
- Nothing, and it shows
- Change to the chain
- None
- Where it applies
- Every swap
Private relay
- Who can read your swap before its place is set
- The relay, and the builders it forwards to
- What you trust
- The relay not to use what it reads
- Change to the chain
- None
- Where it applies
- Swaps you route through it
Encrypted mempool
- Who can read your swap before its place is set
- Nobody: a committee of keypers holds the key
- What you trust
- A threshold of keypers not to decrypt early
- Change to the chain
- The chain has to build it in, as Gnosis did with Shutter
- Where it applies
- Every transaction on that chain
Sealed
- Who can read your swap before its place is set
- Nobody: the key doesn’t exist until drand signs the round
- What you trust
- A threshold of the League of Entropy not to sign a round early
- Change to the chain
- None, it is one hook
- Where it applies
- Swaps on Sealed pools
What exists today, and what does not.
Live on Elysium
SealedHook, verifiedThe HYPE/USDC Sealed poolA keeper opening every roundThe app
For now
Opened swaps fill on the deepest HYPE/USDC pool on Elysium, until the Sealed pool holds liquidity
Hidden until the round
Buy or sellHow muchYour limit price
Public from the start
That you sealed, and for which roundYour balance in the hookThe gas you paid
Not yet
An auditLiquidity in the Sealed poolA bond against broken seals
While fills run on the deepest pool, a swap is still unreadable until its round, but that pool stays open to other trades in the two seconds between drand and the opening: there, your limit price is what protects you. If your balance in the hook is all USDC, your side is no secret; the amount and the price still are. A swap runs with the rest of its round, about two seconds after it, and you trust drand not to sign a round early, as quicknet’s signers have done every 3 seconds since August 2023.
Seal your first swap.
The hook, the pool and a keeper are live on Elysium. When the keeper is late, anyone can open a round instead, from the app.


