Getting started
DOME is in preview. The app reads Solana mainnet now; transaction buttons say "Opens at launch" until the program is live.
1. Swap
- Open the app.
- Pick the coin you pay and the coin you get.
- Enter an amount. The app shows what you receive, the fee, and the gap to $1.
- Set your slippage limit. It becomes
min_outin theswapinstruction; if the pool would pay less, the transaction fails withSlippageand nothing moves.
2. Deposit
- Open Deposit.
- Pick a band. $0.999 is the tightest, the full band covers every price.
- Enter the radius you want. The app shows how much of each coin that costs; you deposit every coin of the pool at once, in the pool's current proportions.
- The app sends
open_position(first time in that band) andadd_liquiditywithmax_amounts, one per coin. You never pay more than those amounts.
3. Collect and leave
collect_feespays your fees in one coin at a time.remove_liquidityreturns your share of every coin, at leastmin_amounts.close_positionreturns your position's rent once it holds no radius and no fees.
4. Run a depeg drill
The depeg drill pushes one coin's price down and shows which bands would stop at their edge. Nothing is sent.
Next: Integration