Summary
For Everyone
Swap tokens and earn trading fees on PancakeSwap — choose V2 simple pools for hands-off liquidity or V3 concentrated positions for higher capital efficiency, on BNB Chain and Base.
- Best-price token swaps across V2 and V3 pools on BNB Chain and Base with automatic routing
- V2 pools — deposit equal value of two tokens into a full-range pool and earn a share of every swap fee with no active management
- V3 concentrated liquidity — set a custom price range to deploy capital more efficiently and earn a larger share of fees per trade
- CAKE farming rewards on BNB Chain — stake your LP position to earn CAKE on top of trading fees
SKILL.md
PancakeSwap AMM
Swap tokens and provide concentrated liquidity on PancakeSwap V3 on BNB Chain and Base — set a custom price range to put your capital to work more efficiently and earn a larger share of trading fees.
Prerequisites
- OKX OnChain OS installed and OKX Agentic Wallet connected to BNB Chain or Base.
- Have the native gas token for your chosen chain — BNB for BNB Chain, ETH for Base.
- Hold the tokens you want to swap, or both tokens of a pair if you plan to provide liquidity.
When to Use This Skill
- You want to swap tokens on BNB Chain or Base at the best available price.
- You want to provide liquidity by concentrating your capital in a price range you believe the market will stay within.
- You want higher fee returns compared to a full-range position by deploying capital more efficiently.
- You want to earn CAKE rewards on BNB Chain by staking your V3 LP position in a farm.
How It Works
Swapping
Connect your wallet on BNB Chain or Base and select the tokens you want to trade. PancakeSwap's router finds the best price across available pools automatically. Confirm the transaction — swaps settle in seconds and gas fees are low on both chains.
V3 Concentrated Liquidity
V3 lets you focus your capital within a specific price range. Choose a fee tier that matches the pair's volatility:
- 0.01% — stable pairs (e.g. USDC/USDT)
- 0.05% — low-volatility pairs
- 0.25% — standard pairs
- 1% — volatile or exotic pairs
Set your price range, deposit both tokens, and your position is live. Trades that occur within your range earn you a larger share of fees compared to a full-range position. If the market price moves outside your range, your position stops earning until the price returns. Your position is represented as an NFT in your wallet and can be adjusted or closed at any time.
CAKE Farming (BNB Chain)
On BNB Chain, many V3 pools have active CAKE farms. Stake your V3 LP position in the corresponding farm to earn CAKE rewards on top of your trading fee income. Rewards accrue continuously and can be claimed at any time.