What is the DEX Phase?
The DEX phase is the final stage of a Bondkit token’s lifecycle, where trading transitions from the automated bonding curve to a fully decentralized Uniswap v4 pool. This phase begins immediately after migration and represents complete decentralization.How Migration Works
The Transition Process
WhenmigrateToDex()
is called after reaching the target:
- Contract Status: Token status changes to
TokenStatus.Dex
- Uniswap v4 Pool: New pool created with accumulated liquidity
- Price Initialization: Initial pool price calculated from bonding curve exit price
- Ownership Renouncement: Contract ownership transferred to zero address
- Trading Enabled: Full DEX trading begins immediately
Pool Configuration
Automatic Pool Setup:- Trading Token: All accumulated funds from bonding phase
- Bondkit Tokens: Calculated amount to match exit price
- LP Tokens: Split between fee recipient and burned/distributed
Trading in DEX Phase
Trading Options
Standard DEX Trading: Bondkit tokens in DEX phase can be traded using any Uniswap v4 compatible interface, DEX aggregator, or trading platform. SDK Helper (Optional): The SDK providesBondkitSwapService
for simplified integration if needed.
Price Discovery & Liquidity
Market-Driven Pricing:- No more algorithmic bonding curve
- Price determined by supply/demand
- Real-time order book dynamics
- Subject to market volatility
Key Differences from Bonding Phase
Trading Mechanics
Aspect | Bonding Phase | DEX Phase |
---|---|---|
Pricing | Algorithmic curve | Market supply/demand |
Liquidity | Unlimited (contract mints) | Limited pool liquidity |
Fees | 5% to fee recipient | 0.3% to LPs + protocol |
Order Types | Buy/sell only | Full DEX features |
Price Impact | Predictable curve | Depends on liquidity depth |
MEV | Not applicable | Subject to MEV |
Smart Contract Changes
Status Transition:- ✅
token.buy()
/token.sell()
- Disabled (will revert) - ✅ DEX trading via
BondkitSwapService
- ✅ Standard ERC20 functionality continues
- ✅ Event monitoring for DEX trades
Advanced DEX Features
Custom Hooks Integration
Bondkit tokens on Uniswap v4 include custom hooks for enhanced functionality:Analytics & Monitoring
Real-Time Data:- Real-time price feeds
- 24h volume and change
- Liquidity depth
- Historical OHLCV data
- Transaction history
- Holder analytics
Liquidity Provision
Becoming an LP:- Trading Fees: Earn 0.3% of all swap volume
- Incentive Programs: Potential additional rewards
- Price Appreciation: Benefit from token growth
- Impermanent Loss: Standard AMM risks apply
Migration Impact Analysis
For Token Holders
Immediate Effects:- ✅ Tokens remain fully transferable
- ✅ Can trade on open market
- ✅ No lock-up periods
- ⚠️ Price now subject to market volatility
- ⚠️ No guaranteed liquidity (depends on pool depth)
- 🚀 Access to larger trading ecosystem
- 🚀 Integration with DeFi protocols
- 🚀 Composability with other tokens
- 🚀 True decentralization achieved
For Projects
Operational Changes:- Community Building: Drive organic trading volume
- Liquidity Incentives: Encourage LP participation
- Marketing: Promote token utility and adoption
- Integration: List on DEX aggregators and platforms
Best Practices for DEX Phase
For Traders
Optimal Trading Strategies
Optimal Trading Strategies
Slippage Management:
- Use 0.5-2% slippage for small trades
- Higher slippage for larger amounts
- Check price impact before execution
- Higher liquidity during active hours
- Monitor for large LP movements
- Use limit orders when available
Risk Management
Risk Management
Liquidity Analysis:
- Check pool TVL before large trades
- Monitor liquidity provider activity
- Understand impermanent loss if LP
- Set up price alerts
- Use stop-loss strategies
- Diversify across multiple tokens
For Developers
Integration Patterns
Integration Patterns
Status Checking:Error Handling:
Common Questions
Can tokens go back to bonding phase?
Can tokens go back to bonding phase?
No - Migration is permanent and irreversible. Once in DEX phase, the token will always trade on Uniswap v4.
What happens to unused bonding curve liquidity?
What happens to unused bonding curve liquidity?
All accumulated trading tokens from the bonding phase become the initial liquidity in the Uniswap v4 pool, paired with calculated bondkit tokens at the exit price.
Are there any restrictions in DEX phase?
Are there any restrictions in DEX phase?
No restrictions - tokens become standard ERC20s trading on Uniswap v4. Full DeFi composability is enabled.
How are trading fees different?
How are trading fees different?
DEX phase uses standard Uniswap v4 fees (0.3%) which go to liquidity providers instead of the 5% bonding phase fee to the fee recipient.