This application interacts with the blockchain using the Web3 library and is specific to the BSC network.
-
Make sure you have Python 3 installed to run the application.
-
Install the dependencies by running the following command:
pip install web3 requests termcolor
-
Download the project files and navigate to the directory:
git clone https://github.com/hydrokin/Auto-Crypto-Sender.git cd auto-crypto-sender -
Edit the
network.txtfile and enter the network's RPC URL and chain ID:<rpc_url> <chain_id> -
Edit the
bot.txtfile and enter the Telegram bot API key and chat ID:<api_key> <chat_id> -
Start the Auto Crypto Sender application with the following command:
python bot.py
When you run Auto Crypto Sender, you can follow these steps:
-
First, it displays the donation message of Auto Crypto Sender, which includes the MATIC (Polygon) address.
-
Press "1" to display the menu options.
-
When you press "1", it prompts you to enter the receiver's address and the sender's private key. Enter these details correctly and press Enter.
-
Auto Crypto Sender displays the current block number, balance, gas limit, and total gas cost.
-
If the balance is greater than the total gas cost, the transaction is successfully executed, and a message is sent to the Telegram chat.
-
In case of errors, Auto Crypto Sender displays error messages and retries the transaction if necessary.
-
Close Auto Crypto Sender by pressing "2" in the menu.
-
Auto Crypto Sender uses the BSC network by default. If you want to use a different network, modify the RPC URL and chain ID in the
network.txtfile according to the desired network. -
Make sure to enter the Telegram bot API key and chat ID in the
bot.txtfile. Create a Telegram bot to obtain these credentials. -
Ensure that you provide accurate information such as the RPC URL, chain ID, API key, and chat ID for Auto Crypto Sender to function correctly.