Automated bot for LayerEdge airdrop farming with sequential wallet processing and WebSocket monitoring.
- Link : https://dashboard.layeredge.io
- Code : knYyWnsE
- 2Captcha : https://2captcha.com/?from=23248152
- ✅ Sequential Processing: Solves captcha one wallet at a time to avoid rate limiting
- 🔄 Auto Reconnection: Automatic WebSocket reconnection with token refresh
- 🛡️ Proxy Support: Multi-proxy support with automatic rotation
- 📊 Real-time Monitoring: Live WebSocket message tracking for all wallets
- 🎯 Points Tracking: Automatic epoch points monitoring
- 🔐 Multiple Wallets: Support for unlimited wallets
- 📝 Detailed Logging: Color-coded logging with wallet identification
- Node.js v16 or higher
- npm or yarn package manager
- 2Captcha API key (optional, for automatic captcha solving)
- Valid LayerEdge wallet private keys
-
Clone the repository
git clone https://github.com/vikitoshi/LayerEdge-Auto-Bot.git cd LayerEdge-Auto-Bot
-
Install dependencies
npm install
-
Create configuration files
cp .env.example .env touch proxies.txt
Create a .env
file in the root directory with the following structure:
# 2Captcha API Key (optional - for automatic captcha solving)
2captcha_api=your_2captcha_api_key_here
# Wallet 1 Configuration
private_key_1=your_private_key_here
id_1=auto_generated_user_id
ws_token_1=manual_websocket_token_if_no_2captcha
# Wallet 2 Configuration
private_key_2=your_private_key_here
id_2=auto_generated_user_id
ws_token_2=manual_websocket_token_if_no_2captcha
# Add more wallets as needed (wallet_3, wallet_4, etc.)
Add one proxy per line in the following format:
http://username:password@proxy1.example.com:8080
http://username:password@proxy2.example.com:8080
socks5://username:password@proxy3.example.com:1080
If you have a 2Captcha API key, the bot will automatically solve captchas:
npm start
- Get WebSocket tokens manually for each wallet through LayerEdge dashboard
- Add tokens to .env file as
ws_token_1
,ws_token_2
, etc. - Run the bot:
npm start
The bot processes wallets in the following sequential order:
-
Sequential Captcha Solving 📝
- Wallet 1: Solve captcha → Get token
- Wallet 2: Solve captcha → Get token
- Wallet N: Solve captcha → Get token
-
Wallet Details Fetching 🔍
- Fetch user IDs for all wallets
- Update .env file with user IDs
-
Node Status Monitoring 📊
- Check epoch points for each wallet
- Display current points status
-
WebSocket Connections 🔌
- Connect all wallets simultaneously
- Start heartbeat and point farming
-
Message Monitoring 📱
- Display WebSocket messages every 30 seconds
- Track points updates and farming status
The bot provides real-time monitoring with:
- Color-coded logs for different operations
- Wallet identification with last 4 digits of address
- WebSocket message summary every 30 seconds
- Automatic error handling and reconnection
- Proxy rotation on connection issues
❌ "No 2Captcha API key" Error
- Add your 2Captcha API key to
.env
file - Or manually add
ws_token_X
for each wallet
❌ "Invalid private key" Error
- Ensure private keys are valid Ethereum private keys
- Remove '0x' prefix if present
❌ "CORS Error" when fetching wallet details
- Add working proxies to
proxies.txt
- Ensure proxy format is correct
❌ WebSocket connection failures
- Check if tokens are valid and not expired
- Verify wallet is registered on LayerEdge
- Ensure stable internet connection
LayerEdge-Auto-Bot/
├── index.js # Main bot script
├── package.json # Node.js dependencies
├── .env # Configuration file
├── .env.example # Configuration template
├── proxies.txt # Proxy list
└── README.md # This file
- Never share your private keys or .env file
- Use dedicated wallets for airdrop farming
- Keep your 2Captcha API key secure
- Regularly rotate your proxies
- Monitor bot activity regularly
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This bot is for educational purposes only. Use at your own risk. The developers are not responsible for any losses or damages that may occur from using this software.
This project is licensed under the MIT License - see the LICENSE file for details.
- GitHub Issues: Report bugs
- Telegram: Join our community for support
- Documentation: Check the wiki for detailed guides
⭐ Star this repository if it helped you!
Made with ❤️ by vikitoshi