Prerequisites
Before you begin, make sure you have:- A Solana wallet (Phantom, Solflare, or similar)
- Some SOL for transaction fees
- Tokens you want to trade or provide as liquidity
Step 1: Connect Your Wallet
- Visit omnipair.fi
- Click “Connect Wallet” in the top right
- Select your wallet provider
- Approve the connection
Step 2: Choose Your Action
Omnipair supports three main actions:Trading (Swapping)
Swap tokens using Omnipair’s AMM:- Navigate to the “Trade” tab
- Select the token you want to swap from
- Select the token you want to swap to
- Enter the amount
- Review the swap details (price impact, fees)
- Click “Swap” and approve the transaction
Borrowing
Borrow against collateral:- Navigate to the “Borrow” tab
- Select a pair
- Add collateral (deposit tokens)
- Set your borrowing amount
- Review borrowing power and interest rate
- Click “Borrow” and approve the transaction
Providing Liquidity
Add liquidity to earn fees:- Navigate to the “Markets” tab
- Select a pair (or create a new one)
- Enter amounts for both tokens
- Review the LP tokens you’ll receive
- Click “Add Liquidity” and approve the transaction
Step 3: Understanding Key Concepts
Liquidity Pools
Each trading pair has its own liquidity pool. The pool contains:- Reserves: Tokens available for swapping
- Collateral: User-deposited collateral for borrowing
- Debt: Outstanding borrows
LP Tokens
When you add liquidity, you receive omLP tokens representing your share of the pool. These tokens:- Earn fees from swaps and borrowing
- Can be burned to withdraw your liquidity
- Appreciate in value as the pool grows
Collateral Factor
The collateral factor determines how much you can borrow:- Maximum: 85% of collateral value
- Dynamic: Adjusts based on pool conditions
- Locked: CF is locked when you borrow
Interest Rates
Interest rates are utilization-based:- Low utilization: Lower rates (minimum 1% APR)
- High utilization: Higher rates (can grow exponentially)
- Target band: Stable rates at 50-85% utilization
Step 4: Your First Transaction
Let’s walk through a simple swap:- Select Tokens: Choose USDC → SOL
- Enter Amount: Enter 100 USDC
- Review: Check the output amount and price impact
- Approve: Approve token spending (first time only)
- Swap: Confirm the swap transaction
- Done: Receive SOL in your wallet
Other Common Actions
Adjusting Provided Liquidity
- Select a pair
- Go to “Liquidity” → “Adjust Liquidity”
- Enter amounts to add or withdraw (maintain ratio)
- Approve and confirm
Creating a Leveraged Position
- Add collateral (e.g., SOL)
- Borrow against it (e.g., USDC)
- Swap borrowed tokens for more collateral
- Repeat to increase leverage
Monitoring Your Position
- Check your position health
- Monitor liquidation price
- Track interest accrual
- View borrowing power
Safety Tips
- Start Small: Test with small amounts first
- Check Slippage: Always review price impact
- Monitor Positions: Keep an eye on leveraged positions
- Understand Risks: Read about liquidations and CF
- Use Limits: Set appropriate slippage tolerance
Troubleshooting
Transaction Failed
- Check you have enough SOL for fees
- Verify token approvals
- Check slippage tolerance
- Ensure sufficient balance
High Slippage
- Use smaller amounts
- Check pool liquidity
- Consider different pairs
- Wait for better conditions
Position Liquidated
- Monitor health factor
- Add more collateral
- Repay debt
- Understand liquidation mechanics
Next Steps
Now that you’ve completed the basics:- Learn More: Read about Protocol Mechanics
- Explore Use Cases: Check out Use Cases
- Join Community: Discord