The Ethereum Sender project allows you to automatically send ETH from one wallet to another. By providing a private key for your ETH wallet and a recipient's public key, the script will monitor the wallet for incoming ETH and automatically initiate transfers to the specified recipient. For more detailed information, you can read my blog post dedicated to this project.
- Automatic ETH transfer from one wallet to another.
- Real-time monitoring of the wallet balance.
- Configurable transaction threshold for initiating transfers.
- private key management.
- Ethereum wallet with a private key.
- Python 3.x installed on your system.
- Web3.py library for Ethereum interaction.
- Clone this repository to your local machine.
- Install the required dependencies using the following command:
pip install -r requirements.txt
- Open the
config.py
file and update the following information:
private_key
: Your Ethereum wallet private key.recipient_address
: The public key of the recipient's Ethereum wallet.ganache_mode
: Set this toTrue
if you want to use Ganache for testing purposes, orFalse
to use Infura for the mainnet. Add your Infura API key to the infura_apikey variable in the config.py file.
Save the changes in the config.py file.
Run the main script main.py using the command:
- Make sure you have configured the
config.py
file with the correct information. - Run the script using the following command: python main.py
- The script will start monitoring the specified wallet for incoming ETH.
- When the wallet balance reaches the configured threshold amount, the script will initiate a transfer to the recipient's wallet automatically.
- The script will continue to monitor the wallet balance and initiate transfers as necessary.
Contributions to this project are highly appreciated. You can contribute by submitting pull requests or by reporting issues and suggestions for improvement. You can also ask your questions in the Issues section.
- For more information, you can visit my website.
- For questions and suggestions, you can contact me via email: [email protected]