Skip to content

Gloam is live on Solana. Private payments. The token and the amount stay hidden.

Open Solana

How it works

Private swaps

Swap one token for another straight from your private balance, on Robinhood Chain and Tempo mainnet. Who swapped stays private. The tokens and the amounts are public, like any trade on a DEX.

Where
RH + Tempo mainnet
Who swapped
Private
Amounts
Public
Sent by
The Gloam relay

How a swap works

One swap, one transaction
Step 1Out of the vaultThe vault releases one of your private notes to a one-time escrow address, made for this swap alone.
Step 2Swap on a DEXThe swap router buys an exact amount of the other token on a public DEX: Uniswap v4 on Robinhood Chain, Tempo's stablecoin exchange on Tempo.
Step 3Back in the vaultThe output goes straight back into the vault as a new private note that only you know.

All three steps run in one transaction. If any step fails, the whole swap reverts and nothing moves.

The Gloam relay sends the transaction and pays its network fee, so your wallet never signs it or shows up next to it. Swaps always go through the relay. Sending one from your own wallet would put your wallet right next to the swap, so the app does not offer it.

Private swaps are not on Elysium yet: there is no swap router there.

Private swaps are not on BNB Chain yet: there is no swap router there.

What you can swap

ChainPairsWhere it trades
Robinhood ChainUSDG, $GLOAM, ETH (held as WETH), USDe, U, cbBTC, VIRTUAL, PONS, CASHCAT, AI, ORBIO and 20 Robinhood stock tokens (SPY, NVDA, TSLA, AAPL and more), any one for another. AI and ORBIO swap through their USDG pools, live since 3 November 2026.Uniswap v4, in up to three hops over the router's allowed pools, whichever route pays the most
TempoUSDC.e, pathUSD, USDT0 and OUSD, any one for anotherTempo's stablecoin exchange

An example on Tempo: 1 pathUSD gets about 0.9937 USDC.e, after the vault fee and the price buffer below. Prices move, so the app always shows the live quote.

Swaps are on mainnet only, stock tokens included. The testnets have no swap router, so the sample stock tokens on Robinhood Chain testnet cannot be swapped there.

What stays private and what is public

Private:

  • Who swapped. The Gloam relay sends it, so your wallet never shows.
  • Which private balance it came from. The proof shows you own a note in the vault, not which one.
  • Where the new balance goes next. It is a fresh note only you know.

Public:

  • The two tokens and the two amounts, as with any trade on a DEX.
  • When it happened, and that it went through the Gloam swap router.

On the explorer, one swap shows as the relay calling the router, the vault paying a one-time escrow address, a trade on the DEX, and a deposit from the router back into the vault. A private swap hides you, not the trade.

Keep a swap from linking back to you

  • Don't swap exactly what you deposited. A swap the same size as a recent deposit is easy to match to it. Swap a different amount.
  • Don't cash out exactly what you received. A cash out of the swap's exact output can be matched to the swap. Send it on, or cash out a different amount.
  • Mind the crowd. The mainnet vaults are new, so there are few notes to hide among for now.

One note per swap

Your private balance can be made of several notes: each deposit, payment you claimed, or change from a payment is its own. A swap spends exactly one of them.

So Max is your largest single note, not your whole balance. When your balance is in several parts, the app says how much one swap can take. Swap the rest in a second swap.

Swap less than a note and the app first sets that part aside in a note of its own, privately and through the relay. The rest stays in your private balance. The app picks the note that matches your amount exactly, or else the smallest one that covers it.

What it costs

  • Vault fee, 0.5% of the amount you swap. A swap takes the note out of the vault the same way a cash out does, so the vault keeps its usual cash-out fee.
  • Price buffer, 0.5% on Robinhood Chain and 0.1% on Tempo. The swap asks for a little less than the quote, so a small price move before it lands does not make it fail. On Robinhood Chain that means every swap is planned to leave about 0.5% of its input unspent. Whatever the trade does not use is not returned to you: it goes to the Gloam treasury.
  • Pool fees are already in the quoted price.
  • Network fee: the relay pays it.

Open Details under the rate to see each part before you swap: what you receive, the vault fee, the price buffer, the route, and who sends it.

The amount shown is the least you get. The quote refreshes every 15 seconds, and the app prices the swap once more just before it goes. If the price moved your way, you get the better amount. If it moved against you by more than the buffer, the swap does not go through and nothing moves.

Deposit limits apply to what lands, because the new note is a deposit. One swap brings in at most 50,000 of a stablecoin, or 2,500,000 $GLOAM, and only while the vault has room under its total. Every other token has its own limits, and a token the vault does not take yet can't be swapped into. A swap also spends no more than its refund could bring back in one deposit, so a larger part of your balance is split first.

If a swap can't finish

Once a swap is sent, its proofs are public. Anyone can copy its first step, the release from the vault, and send it on its own. That makes the swap fail on purpose. It cannot send your money anywhere else.

Here is why. The escrow address is worked out from everything the swap must do: the note spent, your new note, a refund note and the route. Only the router can open it, and only to put the money back into the vault for you.

So the money comes back to your private balance as a refund note, made in advance with the swap. You get back 99% of the note. The other 1% covers the vault's cash-out fee (0.5% today), and what is left of it goes to the Gloam treasury. The app finishes the refund by itself, through the relay, the next time it syncs your balance.

If a swap simply doesn't go through, for example because the price moved past the buffer, nothing moved and your money is safe in the vault. About a minute later the app moves it to a fresh private balance, through the relay. Then get a new quote. If you close the app first, the move finishes the next time you open it.

Until then, a swap that didn't go through isn't cancelled. Its proofs stay valid, so anyone can send it again, and it lands if the price comes back within the buffer. It can only land exactly as you made it: the same output, into your new note. The app keeps that note until the chain settles it and counts it the moment it lands. That move ends the old swap for good, and so does spending the same money on anything else, such as a send.

If the app never hears how a swap ended, it waits an hour. If nothing has landed by then, it makes the same move. Only one of the two can ever land, so your money is counted once either way.

What the router can and cannot do

  • No upgrade, and nobody moves money. No one can change the routers' code, the vault, the treasury or the exchange they use, and no function sends what passes through them anywhere but your new note, your refund note and the treasury.
  • Allowed venues, changed in public. On Robinhood Chain the router only uses Uniswap v4 pools on its allowlist. Its owner can add a pool only with 3 days of public notice on chain, and can take one off at once. A swap names its route in advance, so a pool added later can never be slipped into it. On Tempo the router only uses Tempo's stablecoin exchange.
  • ETH as WETH. The vault holds WETH. When a route uses a pool that holds ETH, the router unwraps or wraps exactly what that pool trades, inside the swap, and keeps none of it.
  • Issuers keep their powers. Robinhood can pause a stock token or block an address, as Paxos can with USDG. A swap in or out of a paused token fails and nothing moves; a refund in one waits until it can land.
  • Exact output or nothing. The router checks that it got the full amount of your new note and paid no more than arrived from the vault. Otherwise the whole swap reverts. So even a pool that turns against a swap can keep at most its price buffer, the part that would go to the treasury, never your new note and never anyone else's money.
  • The vault is unchanged. The mainnet vault still has no swap code. The router uses only its normal calls: release a note with a proof, and deposit with a proof.
  • Not part of the external review. Kann Audits reviewed the vault contracts, not the routers. The routers have had internal review only, most recently on 7 November 2026. An outside review of them is being sourced.

The full list of risks is in the threat model.

Contracts

  • Robinhood Chain router (GloamVaultSwapV4b), 0xfCa1887e77f738ef9C5751974b3f3873d029F2DC
  • Earlier Robinhood Chain router (GloamVaultSwapV4), which still finishes the refunds of swaps made through it, 0x34AB06208586A737Bf1607fa996Bc9162271c52d
  • Tempo router (GloamVaultSwapTempo), 0xfCa1887e77f738ef9C5751974b3f3873d029F2DC
  • Vault, the same address on every mainnet, 0x39e28cde55cab798874746ac52cb4b5cc99a0194
  • Treasury, where unused input goes, fixed in each router, 0xB3900ac9350903218e4c7597bAb0f008F01B30B8

The old sealed trade

Private swaps replace the first private trade design, the sealed swap. It tried to keep the size of a trade private too, but no tokens moved, so the pool could end up owing an asset it did not hold (audit H1). It is retired and stays off: the testnet pools have no sealed swap verifier set, and the mainnet vaults have no sealed swap code at all.

Try it

In the app, open Vault > Swap on a mainnet. Connect a wallet and you can check prices before you have a private balance. To swap, first add one of the tokens above in Add. See also what stays private and networks.

Swaps in your app or agent

The same swaps, priced by the same planner, are in the SDK and the MCP server. A swap hides who swapped, not the tokens or the amounts. They check what the swap tab checks (the vault's limits, the relay's state and floor), and they stop price impact over 2% and a dollar pair more than 2% apart on every chain, where the swap tab only warns on Robinhood Chain and Tempo. The swap tab also weighs a swap against market prices; the SDK does that only when you pass prices, and the MCP server doesn't.

  • SDK (@gloamtrade/sdk 0.5.0): quoteSwap, buildSwapIntent, sendSwap, and readSwapOutcome, buildSwapRefund and buildSwapExit to always get the money back. See the SDK README.
  • Partner API: action "swap" on POST /api/v1/relay, and a read-only quote at POST /api/v1/swaps/quote. See the partner API.
  • MCP server (@gloamtrade/mcp): gloam_swap_quote, gloam_execute_private_swap (proved on your machine, sent through the relay, under the agent's spending limits) and gloam_finish_swap. The hosted server quotes only.
  • A link: a trading app can open the Swap tab with a swap filled in (?tab=swap#from=USDG&to=TSLA&amount=100). The person checks the quote and taps Swap privately. See trade privately with one link.