Pool actions
Swap
Max privacy trades. Swap one token for another inside the pool. The trade is public; who made it is not.
A private swap is how Max privacy trades work. It trades one of your shielded tokens for another without your wallet appearing on-chain. The trade goes through an allowlisted DEX adapter, and the output comes back into the pool as a new note for you.
Swaps route through Uniswap v4 and Montra pools on Elysium, including Montra launches. Every trade in the app is a private swap.
Steps
- Open a token and make sure the buy button says Max privacy.
- Enter the amount. The panel shows the quote, the minimum you will accept, the swap fee and the crowd meter for that token.
- Check the slippage. You can pick 0.5%, 1%, 3% or Auto. Auto is 1% for a route through one pool and 2% for a route through several. Your preset sets the starting choice: P1 uses Auto, P2 uses 3% and P3 uses 1%.
- Click buy or sell.
Your browser makes the proofs, and a relayer submits. It takes about 10 to 15 seconds from click to fill. The output appears in your private balance as a new note with its own key, so every buy is its own position.
What's public
Token in, amount in, token out, amount out, the swap fee, your minimum output, the adapter used, the time and the relayer's address. Charts and trade feeds show the Ghillie swap adapter as the trader, not your wallet. Other sites show the adapter's address without a label; Ghillie's own app labels it.
What stays hidden
Who swapped, which notes paid for it and how much change you kept.
What happens on-chain
- The vault checks your proof and marks your input notes as spent.
- It takes the swap fee, 0.025% of the amount in.
- It sends the rest to the adapter, which trades on the DEX.
- It measures what came back. If that is less than your minimum, the whole transaction fails and nothing changes.
- It adds a new note for the output, owned by you.
Price protection
Your minimum output is part of what the proof commits to. Nobody can change it after you sign, including the relayer. If the price moves past your slippage before the swap lands, the swap fails rather than filling at a worse price.
The relayer sees your swap before it is broadcast, so it could trade ahead of it, but only up to your slippage. Tight slippage limits what anyone, the relayer included, can take. See Relayer.
Swap limits
During the beta, a swap into a token is also refused if it would take the pool's holdings of that token over its deposit cap: 2,000 HYPE or 100,000 USDC.
Take-profit and stop-loss
Coming next, not available at launch.
Things to know
- The output note's amount is public. Its owner is not. If you later cash out exactly that amount, the two are easy to link. Spend or combine it before you exit.
- Speed. Every swap needs fresh proofs, about 10 to 15 seconds from click to fill. Don't expect to land in the first block of a launch. Fast mode, for trades where seconds matter, is coming next.
- While swaps are paused, sends and unshields keep working. The app's status strip shows it.
- Adapters are allowlisted. Only approved adapters can be used.
- The output token can't be one that is blocked from shielding.
Cost
| Item | Amount |
|---|---|
| Swap fee | 0.025% of the amount in |
| Relayer fee | Follows gas, at least 0.005 WHYPE. Shown before you confirm. |
| DEX fees and price impact | Set by the pool you trade through |
| Gas | Paid by the relayer |