Live
ETH—WBTC—LINK—UNI—EURC—Dark pool—

How it works

Ethereum's liquidity.
Midnight's privacy.

Your tokens stay locked on Ethereum. Their private versions trade on Midnight, where your orders are sealed and every trade comes with a proof. Here is the whole thing, in plain words.

  • Real tokens stay locked in the bridge on Ethereum
  • Sealed orders, proven trades
  • 3 of 4 signers approve every transfer

The big picture

Ethereum

Public chain

Real tokens. ETH, USDC, WBTC and the rest, exactly the ones you hold.

9 real tokens

The bridge vault. One contract holds them all, locked.

Uniswap v3. The vault swaps the tokens it holds here.

Lock ↓
↑ Release

Bridge signers

3 of 4 must sign

Four independent services. Each signs only what it reads on chain.

Mint ↓
↑ Burn

Midnight

Private chain

Private tokens. wUSDC, wETH and the rest, minted 1:1 against the vault.

9 private tokens, 1:1

The dark pool. Sealed orders, proven trades.

Private tokens never outnumber the real ones in the vault.

Per asset, always. Every mint is backed by a lock or a measured swap result, every release burns first, and each asset has a cap.

Real tokens are locked in one bridge contract on Ethereum. Three of four bridge signers approve each deposit, and Midnight mints a private version. Sending it back, approved the same way, releases the real token on Ethereum. The bridge can also swap the tokens it holds on Uniswap.

The four moves

Everything you can do, in four moves.

Bring a token over, trade it in the dark, fill against Uniswap without being seen there, and take it home. Each move is a few signed messages and a proof.

  1. 01·Ethereum → Midnight

    Deposit

    ~2 min · ~4 min public

    Send a token from Ethereum and get its private version on Midnight.

    1. From your Ethereum wallet, approve and lock the token in the bridge. Only you can claim it: it's tied to a secret only you hold.
    2. Once Ethereum confirms it, three of four bridge signers approve the deposit.
    3. Midnight checks their signatures with a zero-knowledge proof and mints the private token to you.

    On chain: Your Ethereum address and the amount, like any deposit. A shielded claim shows only that the deposit was claimed, not by whom.

  2. 02·All on Midnight

    Trade in the dark pool

    ~20–30 s per tx

    Orders stay sealed. Every trade proves both prices were met.

    1. Your tokens are set aside and your order is sealed. Nobody sees your price.
    2. Orders are matched by price, then by time.
    3. Each trade comes with a proof that both prices were met. Both sides are paid privately.

    On chain: The token and amount you set aside, and at a trade, the amounts. Never your price. Nothing touches Ethereum.

  3. 03·Midnight → Uniswap → Midnight

    Fill on Uniswap, unseen

    ~3 min

    Use Uniswap's liquidity without your address ever appearing there.

    1. Set tokens aside on Midnight with hidden terms: what to buy, your price and a deadline.
    2. When Uniswap can meet your price, three of four bridge signers approve and the bridge makes the swap itself, with your minimum guaranteed on chain.
    3. The result is signed back to Midnight and you claim what you bought. If the deadline passes first, you get an exact refund.

    On chain: A swap by the bridge, public like any Uniswap trade. Your address is nowhere in it.

  4. 04·Midnight → Ethereum

    Withdraw

    ~30 s + confirmations

    Send the private token back and get the real one at any Ethereum address.

    1. Send the private token from Midnight, naming the Ethereum address to pay.
    2. Three of four bridge signers approve the release.
    3. The bridge releases the real token. You send no Ethereum transaction.

    On chain: The amount and the Ethereum recipient, not which Midnight wallet burned it.

Shielded or unshielded

Private by default. Public when you want it.

Every move works both ways. The difference is only what others can read about your balance.

Shielded

Default

Only your wallet can see your tokens. Balances, orders and claims stay private.

Your balance
Private
Your orders
Private
Your claims
Private

Unshielded

Public

The same flows, from the public balance on your Midnight address. Simpler to audit, but your address and amounts are visible.

Your balance
Public
Your orders
Address and amounts visible
Your claims
To your address

What's private, what's public

Exactly what each chain can see.

Privacy you can check is the only kind worth having. Here is every line, including the ones that are public.

Private4Public3Limited2
  • Your limit pricePrivateNever published. Proven, not shown.
  • Order expiryPrivateOnly that it hadn't passed when the order filled.
  • Who placed an orderPrivatePlacing is private. No address is attached.
  • What an open order wantsPrivateShown only if it fills, by what it pays out.
  • The amount and token you set asidePublicThe contract holds it, so anyone can read it.
  • A trade: amounts and the two ordersPublicBoth sides settle in one public transaction.
  • Bridge deposits and withdrawalsPublicEthereum is public: address and amount, both ways.
  • Payout keysLimitedEach side's payout key is visible: a random-looking ID, not a name.
  • Order terms, to the matching serviceLimitedIt sees them to match you. It can't fill you worse, redirect funds or fake an order.
Check every line against the live contract

Who you trust for what

Everyone has a job, and a limit.

No single party can move your funds. Each can do only its part, and the contracts check that it did.

The bridge

Two contracts

Can

  • On Ethereum: hold every token, release it, and swap on Uniswap with your minimum guaranteed.
  • On Midnight: check the signers' approvals with a proof, and mint or burn private tokens.

Can't

  • Swap or release without three of four signers.
  • Mint without a matching lock or swap result.

Bridge signers

4 independent

Can

  • Sign only what they themselves read on chain.
  • Approve a transfer when three of the four agree.

Can't

  • Redirect funds: every message names its recipient.
  • Act alone: one signature is never enough.

The venue

Matching and relaying

Can

  • Match orders by price, then time, seeing their terms to do it.
  • Reveal a route's terms once Uniswap can fill it.
  • Relay signed messages between the chains.

Can't

  • Change an order's terms or fill you worse than your limit.
  • Hold your funds.

You

Your keys

You hold

  • A 1AM wallet for Midnight, or a Midnight account derived from one signature in your Ethereum wallet.
  • An Ethereum wallet (MetaMask, Rabby, Coinbase…) for depositing.

Only you can

  • Claim your deposit: it's tied to a secret only you hold.

On this testnet, 1AM runs all four bridge signers and holds every admin key (on mainnet each would be a different party), and nothing is audited yet.

Try it

Bring a token over. Trade without showing your hand.

How it works · 1AM Markets