mirror of
https://github.com/mortdeus/legacy-cc.git
synced 2026-10-02 16:55:32 +00:00
1.9 KiB
1.9 KiB
🚀 Quick Setup Guide
⚡ 5-Minute Setup
1. Install Dependencies
npm install
2. Configure Environment
# Copy the template
cp env.template .env
# Edit .env with your settings
# At minimum, you need:
PRIVATE_KEY=your_wallet_private_key
RPC_URL=https://your-rpc-endpoint.com
GRPC_ENDPOINT=https://your-grpc-endpoint.com
GRPCTOKEN=your_grpc_token
3. Test Configuration
npm run test-config
4. Run Demo (Optional)
npm run demo
5. Start Trading
npm start
🔑 Required Services
- Solana Wallet: Phantom, Solflare, or private key
- RPC Endpoint: Helius, QuickNode, or Alchemy
- gRPC Access: Triton One subscription
💰 Minimum Requirements
- Wallet Balance: At least 1 SOL
- Sniper Amount: 0.1 SOL (configurable)
- Network: Stable internet connection
🚨 First Time Setup
- Test with small amounts first
- Use a dedicated trading wallet
- Monitor the bot initially
- Adjust parameters based on performance
📱 Quick Commands
| Command | Description |
|---|---|
npm start |
Start the sniper bot |
npm run dev |
Start with auto-restart |
npm run test-config |
Verify configuration |
npm run demo |
Run demo mode |
start.bat |
Windows startup script |
start.sh |
Linux/Mac startup script |
🔧 Troubleshooting
Common Issues:
- "Private key invalid" → Check key format (base58/base64/JSON)
- "RPC connection failed" → Verify RPC URL and network
- "gRPC error" → Check Triton One subscription
- "No trades executing" → Verify transaction filters
Need Help?
- Check the README.md
- Run
npm run test-config - Check console logs for errors
- Verify all environment variables
⚡ Ready to snipe? Run npm start and watch the magic happen!