Docs · Start

Quickstart: your first sealed trade

From a wallet to a filled order in the app, and then to the public record of the batch that filled it.

This walks through one trade in the app at mesa.markets: set up the account, place a sealed order, watch its batch close, and read what the chain shows of it. You need a Solana wallet holding the asset you want to trade with and a little SOL for the transactions your wallet signs: registering, and the two deposits.

  1. Connect and read your account

    Press Connect and choose your wallet. Then press Sign and read. Your wallet signs one message. The signature derives your account's keys in the browser and moves nothing.

  2. Register a Rings private wallet

    Open Portfolio. If the wallet has never used Solana Privacy Rings, the Deposit and withdraw panel shows Register a Rings private wallet. It is one transaction, signed by your wallet, and it is done once per wallet.

  3. Deposit

    In Deposit and withdraw, choose the asset.

    1. Choose Wallet to Rings, enter an amount, press Review and then Deposit. This moves the asset from your public balance into your Rings private balance.
    2. Choose Rings to Mesa, enter an amount, press Review and then Deposit into Mesa.

    Your balance appears under Balances, in the column In Mesa, free. From here on, everything you hold and do is a sealed note.

  4. Place an order

    Open Trade and choose a market. In Place a sealed order:

    1. Choose Buy or Sell, and Limit or Market.
    2. Enter what you pay under You pay.
    3. For a limit order, enter the Limit price. Last clearing price fills in the price of the last batch.
    4. Press Review order, check You lock, the limit and the batch, and press Place order.

    The panel shows the order being signed, proved and relayed, and then placed in its batch. The proof is generated in your browser.

  5. Watch the batch

    The head of the page counts down to the batch's close. Your order is listed under Your orders here as Sealed. When the batch closes it becomes Opening, and then Filled, Partly filled or Not filled, with the amount filled and the clearing price.

    You can leave the page after the order is placed. It settles without you.

  6. Read the batch

    Press batch N on your order, or open Batches and choose the batch. The record shows the market's clearing price, every order the batch opened with its side, amount and limit, and the change in each pool's totals. Your order is among them. Nothing on the page says which one is yours.

What happened

StepOn the chain
Wallet to RingsYour address, the asset and the amount
Rings to MesaYour address. The asset and amount are encrypted.
Place orderThat an action entered the batch, and a commitment
The batch opensYour order's terms, with no owner
The batch settlesThe fill, paid to a key that appears nowhere else

What you bought is in your Mesa balance. To take it out, use Mesa to Rings and then Rings to wallet in the same panel. See Deposit and withdraw.

Next