ElyraElyraOpen the app

Programmable OrdersFor Elysium

Sign a limit, a stop, a TWAP, a basket or a condition on Hyperliquid. Bonded solvers fill it every four seconds from Elysium's v4 pools, their own inventory and each other's orders, at your price or better.

Your Price Or Better, In Every Batch

How a batch settles
Elysium block
11,752,660
head, read now
Base fee
0.50
gwei, paid in HYPE
HYPE on HyperCore
$63.71
mid, Hyperliquid info API
HYPE funding
0.0013 %
per hour, HyperCore
HYPE/USDC v4 pool$63.909StateView slot0, fee 0.30 %
100 USDC through the pool1.5589 HYPEV4Quoter, exact in
Pool against HyperCore+30.6 bpspool price vs HyperCore mid
Limit at the HyperCore mid1.5695 HYPEexample, before the fee

Sign Once.Get Filled.

Orders Written
As Programs

An Elyra order is an EIP-712 message with parameters: the tokens, the amounts, a limit, an expiry, partial fills, TWAP parts and an optional condition on a v4 pool's TWAP or a HyperCore value. One signature covers it, and the settlement contract checks every field on chain.

Build an order
Threads of light strung with beads on a frame above the marsh
Lanterns of light sending threads to one point on the water

Solvers Compete
Every Four Seconds

Open orders enter a batch auction every four seconds. Bonded solvers cross orders against each other first, then route the rest through Elysium's Uniswap v4 pools or their own inventory. The solution that gives traders the most surplus wins the right to settle.

Run a solver

One Batch, From
Signature To Fill

Everything a trader needs is in the signed order. Everything a solver proposes is checked by the settlement contract before a single token moves out.

1 Sign onceEIP-712 orderlimit, expiry, partsoptional condition2 Open bookPOST /api/ordersfree, off chainanyone can read it3 Batch auctionevery 4 secondsscored by surpluswinner gets an Award4 SolversCoincidence of wantsUniswap v4 poolsOwn inventory5 ElyraSettlementsignature and noncecondition and validitylimit, net of the feepull, interact, paynothing left behind6 Paidat the limit or betterno gas for missesone uniform priceConditionsElyraFeed: HyperCoremid and funding, 60 swindow, 600 s max agev4 pool TWAPread at the settlement blockFee 0.10 % of the bought amount (cap 0.30 % in code): 80 % to the solver that settled, 20 % to the protocol.

One Signature,
Five Kinds Of Order

Limit

Buy or sell at a price you set. The order rests in the book until a batch pays at least your limit.

A limit order rests off chain at no cost and fills only when a batch pays your price or better. Partial fills let it fill as liquidity arrives, and attempts that do not fill cost you nothing.

Example of the signed fieldssellToken USDC buyToken HYPE sellAmount 500 buyAmount 7.70 partiallyFillable true validTo +24 h

Dev Log

Build On Elyra

Run A Solver And Earn From Every Fill You Settle

curl -s https://www.elyraprotocol.xyz/api/auction

The settling solver keeps 80 % of the fee on every fill. skill.md walks an agent through it.

Run It Yourself

curl -s 'https://www.elyraprotocol.xyz/api/quote?sell=USDC&buy=HYPE&amount=100'

Keyless and free. Every number comes from Elysium or Hyperliquid at the moment you press Run.

Hyperliquid HyperCore values, info APIUniswap Uniswap v4 pools on Elysium
Press Run: the response from the live API shows here.