This project is a Python-based solution for automating transactions using the Web3.py library. It supports asynchronous processing and interacts with Ethereum-based networks via RPC endpoints.
This project is not affiliated with, endorsed by, or related to the original t3rn project. It is an independent implementation of an automated transaction script designed for personal or educational use.
-
Transaction Processing: Automates sending transactions, including setting gas and waiting for transaction receipts.
-
Balance Management: Monitors account balance and halts transactions when a specified threshold is reached.
-
Asynchronous Operations: Utilizes asyncio for efficient handling of asynchronous tasks.
-
Configurable Settings: Stores and manages sensitive configuration details like private keys and RPC URLs securely.
-
Python 3.8+
-
web3.py
-
asyncio
-
python-dotenv
-
Clone the Repository
git clone https://github.com/0xBitzz/py_t3rn.git
cd py_t3rn
-
Install Dependencies
It is recommended to use a virtual environment:
python -m venv env
source env/bin/activate
pip install -r requirements.txt
-
Configure the Project
Create a
.env
file and enter your private key and RPC URL (See the .env.example file for hint):PRIVATE_KEY=your_private_key_here
RPC_URL=https://your_rpc_url_here
-
Run the Application
python3 py_t3rn
This project is licensed under the MIT License. See the LICENSE file for details.