What is Autoswap?
Autoswap lets you provide, withdraw, and manage liquidity using a single token. Instead of manually calculating ratios, swapping, and coming back, Byreal handles the swap and liquidity operation in one atomic transaction.
What You Can Do with Autoswap
Create Position
Open a new LP position with a single token (Token X or Token Y)
Increase Liquidity
Add more liquidity to an existing position with a single token
Decrease Liquidity
Withdraw your liquidity as a single token of your choice
Copy Position
Copy another LP's position using a single token
Rebalancing
Close your current position and open a new one in a different price range — in one flow
Compound
Claim your earned trading fees and add them back as liquidity in one click
How It Works
You select one token and enter an amount
Byreal calculates the optimal swap ratio based on your price range and current pool price
The swap is routed through Jupiter and other leading DEX aggregators on Solana to get the best available rate across all liquidity sources
The swap and liquidity operation execute atomically — if anything fails, the entire transaction reverts and your funds are returned
Safety Features
Best-rate routing — Byreal routes every Autoswap through Jupiter and other leading DEX aggregators, comparing prices across all Solana DEXs to find the optimal route
Atomic transactions — swap + deposit execute as one transaction. If anything fails, everything reverts
Price impact protection — warnings at 5%, blocked at 10% to prevent large losses in low-liquidity pools
Gas reserve — when depositing SOL, the system automatically reserves 0.02 SOL for transaction fees
Ready to get started? See How to Provide Liquidity and How to Manage Your Position for step-by-step guides.