This guide will help you deploy the TradeSeer Bot to Render with full wallet creation functionality.
- GitHub Repository - Your code should be pushed to GitHub
- Render Account - Sign up at render.com
- Telegram Bot Token - Get from @BotFather
- Etherscan API Key - Get from etherscan.io
- Go to render.com and sign in
- Click "New +" → "Web Service"
- Connect your GitHub account if not already connected
- Select your
TRADESEERrepository - Click "Connect"
Use these settings:
- Name:
tradeseer-bot(or any name you prefer) - Environment:
Python 3 - Build Command:
pip install -r requirements.txt - Start Command:
python bot.py - Plan:
Free(or upgrade for better performance)
Add these environment variables in Render:
| Variable | Description | Required |
|---|---|---|
TELEGRAM_BOT_TOKEN |
Your Telegram bot token from @BotFather | ✅ Yes |
ETHERSCAN_API_KEY |
Your Etherscan API key | ✅ Yes |
WEBHOOK_URL |
Will be set automatically by Render | ✅ Yes |
PORT |
Port number (default: 5000) | ❌ No |
- Click "Create Web Service"
- Wait for the build to complete (usually 2-5 minutes)
- Your bot will be available at:
https://your-app-name.onrender.com
The deployed bot includes full wallet creation functionality:
- 🔐 Create new Ethereum wallets
- 🔒 Secure private key encryption
- 💼 Wallet management
- 💱 Token swapping on Base network
- 📊 Transaction history
- 🔍 Wallet analytics
create wallet name:MyWallet password:MyPassword123!
my wallets
swap [token_address] [amount]
Visit your bot URL to see the health page:
https://your-app-name.onrender.com/health
Visit this URL to set the Telegram webhook:
https://your-app-name.onrender.com/set_webhook
Send these commands to your bot:
/start- Main menucreate wallet name:TestWallet password:TestPass123!- Create wallet/help- Get help
Problem: Build fails during dependency installation Solution:
- Check that
requirements.txtis in the root directory - Ensure all dependencies are listed correctly
- Check Render logs for specific error messages
Problem: Bot doesn't respond to messages Solution:
- Visit
/set_webhookendpoint - Check that
WEBHOOK_URLis set correctly - Verify
TELEGRAM_BOT_TOKENis valid
Problem: "Create wallet" command fails Solution:
- Check that all dependencies are installed (web3, eth-account, cryptography)
- Verify database permissions
- Check Render logs for error messages
- Go to your Render dashboard
- Click on your web service
- Go to "Logs" tab
- Look for error messages
- Real-time logs - Monitor bot activity
- Metrics - CPU, memory usage
- Deployments - Track deployment history
- Environment variables - Manage configuration
Look for these messages in logs:
✅ Web3 available for full blockchain functionality
✅ Account creation available
✅ Cryptography features available
✅ Wallet features available
✅ Database initialized with wallet connection support
Render automatically deploys when you push to your main branch:
- Make changes to your code
- Push to GitHub:
git push origin main - Render automatically detects changes
- New deployment starts automatically
- 750 hours/month (enough for 24/7 operation)
- 512 MB RAM
- Shared CPU
- Sleep after 15 minutes of inactivity
- Starter Plan ($7/month) - Always on, more resources
- Standard Plan ($25/month) - Better performance
- Environment Variables: Never commit tokens to git
- Database: SQLite database is stored securely on Render
- Private Keys: Encrypted with user passwords
- HTTPS: All communications are encrypted
If you encounter issues:
- Check Render logs for error messages
- Verify environment variables are set correctly
- Test locally first to isolate issues
- Check the troubleshooting guide in
WALLET_TROUBLESHOOTING.md
Once deployed, your bot will have:
- ✅ Full wallet creation functionality
- ✅ Multi-chain support (Ethereum + Base)
- ✅ Real-time transaction monitoring
- ✅ Secure private key management
- ✅ Token swapping capabilities
Your bot URL will be: https://your-app-name.onrender.com
Need help? Check the logs in your Render dashboard or refer to the troubleshooting guides.