Skip to content
Private liquidity on Elysium

Dynamic liquidity.Held behind a veil.

Veilhood runs two kinds of pools on Elysium: a dynamic AMM whose fee climbs with volatility, and liquidity bins that hold your coins at the prices you pick. Every position lives in a zero-knowledge shield, so the pools are public and their owners stay private.

01/ Shield a depositCoins enter the shield from any wallet, and the wallet keeps a secret note that owns them.

Elysium chain height
Pace between heights
Coming soonLiquidity in Veilhood pools
Coming soonNotes in the shield
Two pool types: dynamic AMM and liquidity binsThe fee climbs when the price runsOne fixed price inside each binPositions held as zero-knowledge notesWithdraw to a fresh addressBuilt on Elysium
01/ Two pools

One curve, or many bins.

Dynamic AMM

One curve across every price

Deposit both coins once and the pool trades at any price. Its fee rises while the price runs and eases back as it settles.

Price range
Every price
Swap fee
Base + volatility
Liquidity bins

Coins placed at the prices you pick

Each bin holds one price. Keep a position close to the market or spread it wide, in a Spot, Curve or Bid-Ask shape.

Price range
The bins you pick
Swap fee
Base + volatility
02/ Shapes

Three ways to lay out a range.

A bin position covers a run of bins around the active price. Its shape decides how much of the deposit each bin receives, and so where it earns the most.

  1. 01/
    Spot

    The same amount in every bin of the range.

    Suits pairs that wander across a wide band
  2. 02/
    Curve

    Most of it near the active price, thinning out toward the edges.

    Suits pairs that trade close to one price
  3. 03/
    Bid-Ask

    Most of it at the edges, to buy dips and sell spikes.

    Suits catching swings at both edges
03/ The shield

Many wallets in.One shield in the middle.

Every deposit lands in the same shield as a note. The pools see liquidity arrive from the shield, and payouts leave it for whichever address the note's owner names.

Wallet ADeposits a coin pairWallet BDeposits a single coinWallet CTops up an earlier noteThe shieldNotes in one treeDynamic AMMLiquidity at every priceLiquidity binsLiquidity at picked pricesFresh addressCoins and fees paid out
Wallet ADepositsa coin pairWallet BDepositsa single coinWallet CTops upan earlier noteThe shieldNotes in one treeDynamicAMMEvery priceLiquiditybinsPicked pricesFreshaddressPaid out
04/ The calculator

Shape a range.Watch the fee respond.

Pick a shape, a bin step and a width, then set how far the price has run. The bins, the split between the two coins and the swap fee follow the same rules the pools apply.

The range
The fee
price(bin i) = active × (1 + 25 bps)^i
base coin    = bins above the active one + half of it
fee          = base + A × (crossed × step)²
             ≤ 10%
−4.9%Active+5.1%
Bins in the position
41
Lowest bin
×0.9513
Highest bin
×1.0512
In the base coin
50%
In the quote coin
50%
Swap fee now

0.41% = 0.25% base + 0.16% from the price run

Prices are ratios of the active price. Every figure here is computed from the controls on this page.

05/ The active bin

One price per bin.Swaps walk bin by bin.

Inside the active bin a swap trades at one fixed price. When the bin runs out of the coin being bought, the swap steps to the next bin, and the price moves by one bin step.

Bins below, quote coin34
Bins above, base coin34
Price range covered−8.1% · +8.9%
Next bin up×1.0025
06/ The shield path

From deposit to payout.Two proofs in between.

A position starts as a deposit into the shield and ends as a payout from it. In between, the note proves it belongs to the tree and keeps its owner to itself.

  1. 01
    DepositCoins go into the shield

    From any wallet. The shield stores a commitment to a note, and only the note's secret can spend it.

  2. 02
    ProvideA proof places the liquidity

    The proof shows you hold a note in the tree without saying which one, and the coins move into the AMM pool or the bins you chose.

  3. 03
    EarnFees build up on the note

    Every swap through your bins or your share of the AMM pool adds to what the note can claim.

  4. 04
    WithdrawPaid out to a fresh address

    A second proof spends the note. A relayer submits it for a relayer fee, and the coins with their fees arrive at a brand new address.

WalletShieldPoolFreshDepositProofProof

Which wallet deposited and which address received stay apart: the chain sees a deposit into the shield and, later, a payout from it.

07/ Public and private

The pools stay open.The owners stay private.

Open to everyone

What the chain shows

  • Every pool's price and its active bin
  • How much liquidity sits in each bin
  • Each swap and the fee it paid
  • What the shield holds in total
Known to the note's holder

What the shield keeps

  • Which wallet funded a note
  • Which bins a note's coins sit in
  • What a note has earned so far
  • The address a payout goes to
08/ On chain

Read the chain yourself.

The figures in the band above and in this panel are read from Elysium as you load this page. Each contract joins the table below with its address as it is deployed.

Chain
Elysium
Chain id, as the RPC reports it
Chain height
Pace, last 600 heights
Public RPC
rpc.elysium.kinetiq.xyz

The live read appears here once rpc.elysium.kinetiq.xyz answers.

ContractWhat it doesAddress
ShieldHolds every deposit as a note in one tree and checks the proofs that spend themComing soon
Dynamic AMM factoryOpens constant-product pools whose fee follows volatilityComing soon
Liquidity bin factoryOpens bin pools with a set bin step, base fee and control AComing soon
RelayerSubmits shield proofs so a payout address starts out newComing soon
Read it from a terminalcurl https://veilhood.pages.dev/config.jsonThe chain and the contracts, as this page uses them.

Put a range to work behind the veil.

Shape a range today, and take it into the pools as they open on Elysium.