Skip to content

EVM-DRAINV2 is an advanced Ethereum Virtual Machine (EVM) wallet monitoring bot that automatically detects and withdraws excess funds to a designated address. Designed for efficiency, it ensures seamless fund transfers while supporting multiple RPC endpoints for reliability.

Notifications You must be signed in to change notification settings

kidd142/evm-drainv2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 EVM-DRAINV2 - Wallet Monitoring & Auto-Withdrawal Bot

This Node.js script monitors EVM wallet balances in real-time and automatically withdraws excess funds to a designated address.


🌟 Features

🔄 Multi-RPC Monitoring – Supports multiple EVM RPC endpoints for better reliability.
💰 Auto Withdrawal – Transfers funds when balance exceeds the set buffer.
🔗 Auto-Reconnect – Automatically reconnects if an RPC connection is lost.
🕒 Live Transaction Tracking – Displays the latest transactions with timestamps (UTC+7).


📥 Installation & Setup

🔹 Clone the Repository

git clone https://github.com/kidd142/evm-drainv2.git
cd evm-drainv2

1️⃣ Install Dependencies

Ensure you have Node.js installed, then run:

npm install dotenv jsonwebtoken ethers readline

2️⃣ Configure the .env File

Create a .env file in the project root and configure your environment variables:

# Address to Receive Withdrawn Funds
RECEIVER_ADDRESS=0xYourReceiverAddress

# Minimum Balance to Keep in Wallet
TX_BUFFER=0.0005

# EVM RPC URLs (separate with \n)
RPC_URLS="https://rpc1
https://rpc2
https://rpc3
"
# Private Keys for Wallets (separate with \n)
PRIVATE_KEYS="privatekey1
privatekey2
privatekey3
"

🔹 RPC_URLS: List of EVM RPC URLs (newline-separated).
🔹 PRIVATE_KEYS: List of private keys (newline-separated).
🔹 RECEIVER_ADDRESS: Destination wallet address for withdrawals.
🔹 TX_BUFFER: Minimum ETH balance to retain before withdrawing.


🚀 Running the Script

1️⃣ Start the Bot

Run the script with:

node bot.js

2️⃣ Enter Token

When prompted, enter a valid token:

🔑 Enter your token: *********
✅ Token Verified! Starting the bot...

3️⃣ Live Monitoring & Auto-Withdrawal

The bot will:

  • Continuously track new MultiChain blocks across all rpcurl.
  • Display live wallet balances and recent transactions.
  • Automatically withdraw funds.

📊 Example Console Output

🔑 Enter your token: *********
✅ Token Verified! Starting the bot...

🔄 Listening for new blocks...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌍 RPC 1: Block 1987654
🌍 RPC 2: Block 1987653
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🆕 Last Transaction: 0xabc123...f789 at 12:34:56 (UTC+7)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ New Transaction: 0xdef456...a987 at 12:45:12 (UTC+7)

🛠 Troubleshooting

Invalid Token? – Check your .env JWT_SECRET value.
RPC Errors? – Try different RPC URLs or ensure they are online.
No Transactions? – Ensure wallet balances exceed TX_BUFFER.


📜 License

This project is for educational purposes only. Use at your own risk. ⚠️


📌 Contributing

Contributions are welcome! To contribute:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -m 'Add new feature')
  4. Push to your branch (git push origin feature-branch)
  5. Open a Pull Request

⭐ Support & Donation

If you like this project, consider giving it a ⭐ on GitHub! 😊 If you would like to support the development of this project, you can make a donation using the following addresses:

  • Solana: EtgVgPvN6Z35551w7znEJ22mvHDmGpY9nHwQwWtgdQZ6
  • EVM: 0xb150b7f241979c89fabb9bf333ffd86b8e2e34d4
  • BTC: bc1pp5r2sn8k3ryjdc48p7lmuhjmsep489ac89lhl7z8pg65jmzf9pusk6hsd8

About

EVM-DRAINV2 is an advanced Ethereum Virtual Machine (EVM) wallet monitoring bot that automatically detects and withdraws excess funds to a designated address. Designed for efficiency, it ensures seamless fund transfers while supporting multiple RPC endpoints for reliability.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published