About AarushDEX
How it works
Swap tokens and manage liquidity directly from your Solana wallet.
Swap with a clear limit
Your quote comes from the tokens available in the selected pool. The trading fee is included in the estimate. Price tolerance sets the minimum you accept; a trade fails if the program cannot meet that limit.
Provide liquidity
Deposit both tokens to receive pool shares. Those shares represent your part of the pool. Your token amounts can change as others trade, so providing liquidity carries price risk.
Withdraw your share
Withdraw pool shares to receive both tokens. Withdrawals in this app include a 1 AARUSH fee, plus Solana network fees and any account deposits. If an AARUSH pool needs a separate fee account, the app prepares it in the same transaction.
Approve in your wallet
Connecting lets the app read your public balances. Each transaction is checked through simulation before wallet approval. Once a transaction is sent, its status and explorer link remain available while confirmation is checked.
Technical details
How quotes are calculated
Quotes use the pool account’s recorded reserves and integer rounding. Vault balances are checked separately; a difference is shown on the trading screen.
Program instructions
create_pool(fee_bps)Creates a pool, its token vaults, and its pool-share mint for two different tokens in canonical order.
Identifier: e9 92 d1 8e cf 68 40 bcadd_liquidity(amount_a, amount_b, min_lp_out)Deposits both tokens and requests at least the specified number of pool shares.
Identifier: b5 9d 59 43 8f b6 34 48remove_liquidity(lp_amount, min_a_out, min_b_out)Burns pool shares and requests minimum amounts of both tokens. This app also attaches the AARUSH withdrawal-fee accounts.
Identifier: 50 55 d1 48 18 ce b1 6cswap_a_for_b(amount_in, min_amount_out)Exchanges token A for token B with a minimum-output limit.
Identifier: 88 d4 45 d6 c6 b8 09 e8swap_b_for_a(amount_in, min_amount_out)Exchanges token B for token A with a minimum-output limit.
Identifier: 99 20 b9 03 6e 2f 28 c2Addresses and state
["pool", token_a, token_b]Chart credits
TradingView Lightweight Charts™
Copyright © 2025 TradingView, Inc. TradingView