Docs how it works, in full
Everything Lethe does with an order, a position and a deposit, and exactly what is and is not private.
What Lethe is
Lethe is a dark pool on Elysium. You trade from a balance you deposit, and your orders are never posted anywhere public. Your browser encrypts each order to the matcher, the matcher fills it at the HyperCore mid price, and a contract settles the fill onchain after checking it in full.
There are two products. Spot matches buyers and sellers of HYPE and kHYPE against USDC, trader to trader. Perps lets you go long or short 31 Hyperliquid markets with USDC margin. Perp orders are matched against each other first, and what is left over is hedged on Hyperliquid from one Lethe account, so the pool of USDC that stands behind every position stays close to neutral.
How an order travels
You sign. A spot order is one EIP-712 message. Your wallet shows all of it: the pair, the side, the size, the worst price you accept and when it expires.
Your browser cuts and seals it. The order is cut into up to eight slices of uneven size. What you sign covers a fingerprint of those slices and a hash of the total size. The whole order is then encrypted to the matcher's public key in your browser. The site's server passes on ciphertext it cannot read.
The matcher fills it at the mid. When a buyer and a seller both accept the HyperCore mid, the matcher asks for a fresh price to be read onchain, one taken after both orders arrived, and fills at exactly that mid. There is no spread and no price impact, and an order can fill in parts.
The vault checks everything. For each fill the vault checks both signatures, both limits, that neither order was cancelled or has expired, that the price is fresh and sits inside a tight band around the oracle mid, and that the fill fits the slices it names and both balances. Only then do balances move, and the fill gets a numbered receipt on the proofs page.
What stays private
Lethe runs on a public chain, so it is worth being exact.
Private: an order before it fills. Nobody but you and the matcher knows it exists. The total size of a spot order and whatever is left of it, because the chain only ever sees the slices that traded. The side and the size of a perp position for as long as it is open, because the chain holds only a hash of them.
Public: deposits and withdrawals. A fill once it has settled, with both addresses, the amount and the price. For a perp position: your address, the market, the margin and the entry price while it is open, and its side, size and result at the moment it closes, because that is when they have to be checked.
Hyperliquid sees one account, Lethe's own, and that account's net position in each market, which anyone can look up. It never sees your address, your order or your position. When several traders are active in a market, the net tells nobody who holds what. When you are the only one trading a market, a change in that net at the moment your position opens can be matched to you, and with it your side and roughly your size.
The matcher has to read your orders to match them. It cannot move a balance on its own, as the next sections explain. The site's own server never sees an order in the clear.
Where prices come from
Every price is HyperCore's own. A small contract on HyperEVM reads the best bid and best ask of a book straight from HyperCore, together with HyperCore's oracle price for perps, and sends them to Elysium over Elysium's own message bridge. Anyone can call it, and it has no owner. The mid a trade fills at is the middle of that bid and ask.
A trade is refused when the price is too old, when the book is too wide, or when the book's mid has strayed from HyperCore's oracle price, which moving Hyperliquid's own book does not move. A new perp position is also refused when the price has run away from its half-hour average.
Perps
You deposit USDC as margin and sign an order that names, in the open, the market and how much margin it locks. Its side, size and limit price are signed too, but as a hash. The position opens at the HyperCore mid and is stored as that hash beside the margin and the entry price.
A position ends when its terms are shown and checked against the hash: when you close it, or when it is liquidated. A position is liquidated when what it is worth falls under its market's maintenance margin, both at the newest price and at the average of the last half hour, so a brief spike on its own liquidates nobody. A small liquidation fee goes to the pool and whatever is left goes back to you.
No position can be paid more profit than five times its margin. That limit is what lets the pool know, from margins alone, the most it can ever owe.
Your position's terms are stored with it onchain, encrypted to a key only your wallet can make, so you can read them back on any device.
Hyperliquid liquidity
Every perp position opens against the pool at the HyperCore mid. Inside Lethe a long and a short in the same market cancel out, so two traders on opposite sides are matched in the dark and nothing about either of them leaves Lethe.
What does not cancel out is a market's net exposure. The matcher holds that same exposure on Hyperliquid from one account, so when traders win the hedge wins with them and when they lose it loses with them, and the pool stays close to neutral.
How large a position can be therefore depends on Hyperliquid as well as on the pool. A new position is refused when its hedge would not fit the margin the Lethe account holds, or would take more than half of what rests in Hyperliquid's book close to the mid. A net exposure under Hyperliquid's own minimum order of ten dollars cannot be hedged and stays with the pool.
If Hyperliquid cannot be reached, the account's margin runs short or a hedge does not fill, new positions pause by themselves and every market is close only until that is over. Closing, liquidations and withdrawals never wait on Hyperliquid. They are settled by the contract on Elysium from USDC it holds itself.
The account's margin is pool USDC. The contract lends it to the matcher's own address, which is the Lethe account on Hyperliquid, and to no other, up to 40% of the pool and never so much that what stays in the contract could not pay every open position its largest possible profit. The matcher moves USDC between the two as the account needs more or holds too much, brings what the hedges make back to the pool and books what they lose.
Markets
Spot: HYPE/USDC and kHYPE/USDC. Perps: the 31 markets below, each following its own book on HyperCore. Markets are an allowlist. Nothing is listed because it exists on Hyperliquid, and there are no memecoins. If Hyperliquid delists a market it becomes close only here by itself.
| Market | Leverage | Liquidated under | Share of the pool |
|---|---|---|---|
| BTC-PERPBitcoin | up to 10x | 5% of notional | 30% |
| ETH-PERPEthereum | up to 10x | 5% of notional | 30% |
| SOL-PERPSolana | up to 10x | 5% of notional | 30% |
| HYPE-PERPHyperliquid | up to 10x | 5% of notional | 30% |
| XRP-PERPXRP | up to 5x | 10% of notional | 15% |
| BNB-PERPBNB | up to 5x | 10% of notional | 15% |
| ADA-PERPCardano | up to 5x | 10% of notional | 15% |
| AVAX-PERPAvalanche | up to 5x | 10% of notional | 15% |
| SUI-PERPSui | up to 5x | 10% of notional | 15% |
| APT-PERPAptos | up to 5x | 10% of notional | 7.5% |
| NEAR-PERPNEAR Protocol | up to 5x | 10% of notional | 15% |
| TRX-PERPTRON | up to 5x | 10% of notional | 7.5% |
| DOT-PERPPolkadot | up to 5x | 10% of notional | 7.5% |
| LTC-PERPLitecoin | up to 5x | 10% of notional | 15% |
| ARB-PERPArbitrum | up to 5x | 10% of notional | 7.5% |
| OP-PERPOptimism | up to 5x | 10% of notional | 7.5% |
| POL-PERPPolygon | up to 5x | 10% of notional | 7.5% |
| AAVE-PERPAave | up to 5x | 10% of notional | 15% |
| UNI-PERPUniswap | up to 5x | 10% of notional | 15% |
| LINK-PERPChainlink | up to 5x | 10% of notional | 15% |
| ENA-PERPEthena | up to 5x | 10% of notional | 15% |
| PENDLE-PERPPendle | up to 5x | 10% of notional | 7.5% |
| LDO-PERPLido DAO | up to 5x | 10% of notional | 7.5% |
| JUP-PERPJupiter | up to 5x | 10% of notional | 7.5% |
| ONDO-PERPOndo | up to 5x | 10% of notional | 7.5% |
| TAO-PERPBittensor | up to 5x | 10% of notional | 15% |
| RENDER-PERPRender | up to 5x | 10% of notional | 7.5% |
| FET-PERPFetch.ai | up to 5x | 10% of notional | 7.5% |
| TIA-PERPCelestia | up to 5x | 10% of notional | 7.5% |
| INJ-PERPInjective | up to 5x | 10% of notional | 7.5% |
| SEI-PERPSei | up to 5x | 10% of notional | 7.5% |
BTC, ETH, SOL, HYPE allow up to 10x. Every other market allows up to 5x.
The pool
The pool stands behind every perp. It is the other side of each position on Elysium, and the net of all positions is hedged on Hyperliquid, so what it earns is mostly trading fees, funding and liquidation fees, less what the hedges cost. Hedging is not perfect. A net exposure too small to hedge, the moments between a fill here and its hedge there, Hyperliquid's own fees and funding, and a hedge that cannot be placed all leave the pool with risk, so a depositor can lose as well as earn. Anyone can deposit USDC.
Because sizes are hidden, the pool is protected by what is public. Open interest, counting every position at its market's full leverage, may not pass 50% of the pool. One position may not pass 10%, and each market has its own share. Withdrawals from the pool are refused while they would break those limits.
Leaving the pool takes a request and a wait of 24 hours. A share is priced on what the pool holds, less what open positions would be paid if they closed now, plus what the hedges have made against them. Only the matcher can add that up while positions are hidden, so it signs the figure, the contract holds it inside what the open margins allow, and you name the least you accept.
The pool accepts at most 50,000 USDC for now.
Fees and funding
Spot has no fee at launch. The vault can charge at most 0.10% to each side, and switching a fee on takes the timelock.
Perps charge 0.05% of notional when a position opens and again when it closes, paid to the pool. A liquidation adds 1% of notional, out of whatever the position has left. The hedges pay Hyperliquid's own fees and funding, which are costs of the pool and never of the trader.
Funding is set once an hour per market from how far longs and shorts are out of balance. The heavier side pays and the lighter side is paid, each on its own size, and the pool keeps the difference. A step can never be more than 0.05% of notional.
What you can always do
Withdraw. Your free balance leaves the moment you ask. No pause can stop it and it does not need the matcher.
Cancel onchain. One transaction cancels an order by its nonce, or all of your orders at once.
Close alone. You can close a perp position without the matcher: ask onchain, wait for a price read after your request, then settle against it. Anyone can bring that price by calling the relay on HyperEVM.
Leave a dead market. If a market has had no price for a full day, its positions can be exited for their margin, so margin can never be stranded by a feed that stopped.
Who can do what
The matcher is the only caller of settlement, and that gives it very little. It cannot fill an order without your signature, outside your limit or away from the oracle price. What it does choose: the moment of a fill inside the window in which a price counts as fresh, the hourly funding rate inside its hard cap, and the signed figure pool shares are priced with, inside hard bounds. It can pause, and it can make a delisted market close only. It cannot resume. It can also move up to 40% of the pool to its own address as margin for the hedges on Hyperliquid. That is a real trust: that share of the pool is as safe as the matcher's key and the account on Hyperliquid, and no safer.
The owner can pause and resume at once, and switch a listed market between open and close only. Pausing stops new deposits and new trades. It never stops a withdrawal, a cancel or a close. Every other change, such as fees, limits, a new market, a new price feed or a new matcher, must be announced onchain and wait 24 hours before it can be carried out. No function lets the owner or the matcher take a trader's balance. The pool's USDC can leave the contract only as that hedge margin, inside its limit, or to a depositor who withdraws.
Contracts
All on Elysium (chain 99901), with their source verified on Sourcify. They have not had an external audit.
- Vault (spot)
- 0x2259f4Fd65e8165Ba61A1bfef7f2615AA2AAA1e6
- Perps and pool
- 0x7782a253436Eaa4E3e24fD91742Ac0D6906B2C8b
The price relay lives on HyperEVM at 0x1157beA12B0DB7FFdBf1e643C5d9E967Bb055162.
The coin
$LETHE has not launched yet. When it does, its contract address will be shown here and in the bar of every page. Until then, any address claiming to be it is not.