Get up and running with Mass Token Buy Bot in 5 minutes!
# 1. Navigate to project directory
cd mass-token-buy-web
# 2. Install dependencies
npm install
# 3. Build the project
npm run build
# 4. Start development server
npm run serveOpen http://localhost:8080 in your browser.
- Open the application
- Enter a strong password (minimum 8 characters)
- Click "Unlock Application"
Fill in the configuration form:
| Field | Example | Description |
|---|---|---|
| Token Address | 0x9e12735d77c72c5C3670636D428f2F3815d8A4cB |
The token you want to buy |
| Number of Wallets | 10 |
How many wallets to create |
| Master Private Key | 0x... |
Your funding wallet's private key |
| Target Address | 0x... |
Where to send purchased tokens |
| Gas Amount | 0.0001 |
ETH reserved for gas per wallet |
| Purchase Amount | 0.001 |
ETH to swap for tokens per wallet |
| Min Kept Tokens | 100 |
Minimum tokens to keep in wallets |
| RPC URL | https://mainnet.base.org |
Base network RPC endpoint |
Formula:
Total ETH = (Gas Amount + Purchase Amount) × Number of Wallets
Example (10 wallets):
Total = (0.0001 + 0.001) × 10 = 0.011 ETH
Plus: Extra ETH in master wallet for transaction fees (~0.001 ETH)
Total needed: ~0.012 ETH in master wallet
- Click "Start Operation"
- Monitor progress in real-time
- Check logs for detailed information
- View transactions in the table
- Operation Status: Current step in the process
- Wallets Created: Number of wallets generated
- ETH Transferred: Completed fund transfers
- Swaps Completed: Successful token swaps
- Tokens Transferred: Consolidations completed
- Real-time log of all operations
- Color-coded by severity (info, success, warning, error)
- Timestamps for each action
- Export to text file
- Complete record of all transactions
- Links to BaseScan for verification
- Filter and search functionality
- Export to CSV
- List of all created wallets
- Current balances (ETH and tokens)
- Status indicators
- Export with encrypted keys
Start with a small test:
Token Address: [Your token]
Number of Wallets: 3
Gas Amount: 0.0001
Purchase Amount: 0.001
Min Kept Tokens: 10
Total ETH needed: ~0.0035 ETH
This allows you to:
- Test the complete workflow
- Verify settings are correct
- Understand the process
- Minimize risk
- Tested with 3-5 wallets first
- Verified token address on BaseScan
- Confirmed master wallet has sufficient ETH
- Backed up master password
- Understood the operation flow
- Checked current Base gas prices
- Verified RPC endpoint is working
- Set appropriate slippage expectations
- ✅ Password is encrypted locally
- ✅ Private keys never leave your browser
- ✅ All data stored in browser only
- ❌ Never share your private keys
- ❌ Never share your master password
- ❌ Always use HTTPS
1. CREATE WALLETS
├─ Generate N random wallets
├─ Encrypt private keys
└─ Save to local database
2. FUND WALLETS
├─ Calculate ETH per wallet
├─ Transfer from master wallet
└─ Wait for confirmations
3. SWAP TOKENS
├─ Get quote from Bungee
├─ Execute swap transaction
└─ Wait for confirmations
4. CONSOLIDATE FUNDS
├─ Transfer tokens to target (minus min kept)
├─ Transfer remaining ETH to target
└─ Mark wallets as completed
Configuration is automatically saved when you click "Start Operation".
Click "Load Saved Config" to restore your last configuration.
Click "Stop Operation" to halt the process. Already completed transactions won't be reversed.
- Logs: Click "Export Logs" in Activity Logs section
- Transactions: Click "Export CSV" in Transaction History
- Wallets: Click "Export Wallets" in Generated Wallets section
Click "Clear Logs" to remove log entries from display (doesn't affect saved data).
✅ Supported Browsers:
- Chrome/Edge (v90+)
- Firefox (v88+)
- Safari (v14+)
- Brave (latest)
❌ Not Supported:
- Internet Explorer
- Very old browser versions
- Browsers with disabled JavaScript
➡️ Add more ETH to master wallet
➡️ Increase gas amount or check token liquidity
➡️ Wait a moment and retry, or check network connection
➡️ Verify you're using the correct master password
➡️ Refresh the page and unlock again
After your first successful test run:
-
Review Results
- Check all transactions on BaseScan
- Verify token balances in target wallet
- Review created wallets
-
Scale Up
- Gradually increase number of wallets
- Monitor performance
- Adjust parameters as needed
-
Backup Data
- Export wallets (encrypted)
- Export transaction history
- Save your configuration
-
Production Use
- Use tested parameters
- Monitor closely
- Keep detailed records
- Full Documentation: See README.md
- Security: See SECURITY.md
- Deployment: See DEPLOYMENT.md
- API Details: See docs/API.md
- Always test with small amounts first
- Monitor Base gas prices before large operations
- Use your own RPC node for production (more reliable)
- Export data regularly as backups
- Keep browser tab active during operations
- Check token liquidity before large swaps
- Set realistic slippage based on market conditions
- Monitor the first few transactions closely
If you encounter issues:
- Check the troubleshooting section above
- Review the full README documentation
- Check browser console for errors
- Verify all configuration parameters
- Test with smaller amounts
Ready to start? Run npm run serve and open http://localhost:8080! 🚀