Files
mev-beta/docs/QUICK_START_20_TOKENS.md

195 lines
4.2 KiB
Markdown

# Quick Start: 20-Token Expansion
**Status**: ✅ READY FOR TESTING
**Last Updated**: October 30, 2025
---
## ⚡ Quick Facts
- **Tokens**: 10 → 20 (2x)
- **Pairs**: 45 → 190 (4.2x)
- **Pools**: 50-60 → 285-380 (5.2x)
- **Build**: ✅ Complete (28MB binary)
- **Docs**: ✅ Complete (2 guides, 647+ lines)
---
## 🚀 Quick Start
### 1. Configure RPC (⚠️ REQUIRED)
```bash
# Choose one:
export ARBITRUM_RPC_ENDPOINT="https://arb1.arbitrum.io/rpc" # Free
export ARBITRUM_RPC_ENDPOINT="https://arb-mainnet.g.alchemy.com/v2/YOUR_KEY" # Premium
```
### 2. Start Bot
```bash
./mev-bot start
```
### 3. Verify Discovery
```bash
# Expected: 250-400+ pools
jq 'length' data/pools.json
```
---
## 📊 What to Expect
### Startup Logs
```
[INFO] 🔍 Starting comprehensive pool discovery for TOP 20 tokens (190 pairs expected)...
[INFO] ✅ Found 3 pool(s) for WETH/USDC
[INFO] ✅ Found 2 pool(s) for WETH/USDT
... (continues for 190 pairs)
[INFO] 🎉 Pool discovery complete! Monitoring 287 pools across 156 pairs
```
### Discovery Time
- **Expected**: 2-5 minutes
- **Timeout**: 5 minutes (configurable)
### Pool Count
- **Minimum**: 250 pools
- **Expected**: 285-380 pools
- **Previous**: 50-60 pools
---
## ✅ 20 Tokens Monitored
### Tier 1 (Original 10)
WETH, USDC, USDT, ARB, WBTC, DAI, LINK, UNI, GMX, GRT
### Tier 2 (NEW - 5 tokens)
USDC.e, PENDLE, RDNT, MAGIC, GRAIL
### Tier 3 (NEW - 5 tokens)
AAVE, CRV, BAL, COMP, MKR
---
## 🎯 High-Priority Pairs (Top 20)
1. **WETH/USDC** - Highest volume
2. **WETH/USDT** - High volume
3. **WETH/ARB** - Arbitrum native
4. **USDC/USDT** - Stablecoin arbitrage
5. **USDC/ARB** - High volume
6. **USDC/DAI** - Stablecoin trio
7. **WETH/WBTC** - BTC-ETH correlation
8. **WETH/GMX** - Popular on Arbitrum
9. **USDC/GMX** - GMX liquidity
10. **USDT/ARB** - High volume
11. **USDT/DAI** - Stablecoin arbitrage
12. **ARB/GMX** - Both Arbitrum natives
13. **WETH/USDC.e** - Bridged USDC
14. **USDC/USDC.e** - Bridged arbitrage
15. **ARB/RDNT** - Arbitrum DeFi
16. **ARB/MAGIC** - Arbitrum gaming
17. **ARB/GRAIL** - Arbitrum DEX
18. **USDC.e/GRAIL** - Camelot DEX
19. **DAI/MKR** - Maker ecosystem
20. **AAVE/COMP** - Lending protocols
---
## 🔍 Verification Commands
```bash
# Check build
ls -lh ./mev-bot
# Verify token count
grep -c "0x" internal/tokens/arbitrum.go # Should be 20
# Check documentation
ls -lh docs/*TOKEN*.md docs/IMPLEMENTATION*.md
# View pairs discovered (after startup)
jq 'group_by(.dex) | map({dex: .[0].dex, count: length})' data/pools.json
```
---
## ❌ Current Blocker
**RPC 403 Error**:
```
Error: websocket: bad handshake (HTTP status 403 Forbidden)
```
**Solution**: Configure valid RPC endpoint (see step 1 above)
---
## 📚 Full Documentation
1. **`docs/20_TOKEN_EXPANSION_COMPLETE.md`** (16KB)
- Complete list of 190 pairs
- Token addresses
- Testing procedures
- Troubleshooting guide
2. **`docs/IMPLEMENTATION_STATUS_20251030.md`** (Current file)
- Implementation summary
- Build status
- Deployment checklist
- Performance analysis
3. **`scripts/verify-20-token-expansion.sh`**
- Automated verification
- 20+ checks
---
## 💡 Tips
- **First Run**: Discovery takes 2-5 minutes (one-time)
- **Subsequent Runs**: Instant (loads from cache)
- **Monitor Logs**: `tail -f logs/mev_bot.log`
- **Check Errors**: `grep ERROR logs/mev_bot.log`
---
## 🎯 Success Metrics
After 24 hours, expect:
- ✅ 5-10x more arbitrage opportunities detected
- ✅ New profitable pairs identified
- ✅ Stable operation with 250-400+ pools
- ✅ No performance degradation
---
## 🆘 Troubleshooting
### Discovery times out
→ Increase timeout in `cmd/mev-bot/main.go:287`
### Few pools discovered
→ Check RPC rate limits, use premium endpoint
### Bot won't start
→ Verify RPC credentials, check firewall
### No arbitrage opportunities
→ Normal, market efficiency means opportunities are rare (0.0001% success rate)
---
## 📞 Need Help?
1. Check `docs/20_TOKEN_EXPANSION_COMPLETE.md` (troubleshooting section)
2. Review `docs/IMPLEMENTATION_STATUS_20251030.md` (this file)
3. Check logs: `logs/mev_bot.log`
---
**Quick Start Complete!** 🚀
*Configure RPC endpoint and run `./mev-bot start` to begin.*