This repository contains a collection of Python scripts designed to interact with the Rise Testnet, a high-performance blockchain test network. These scripts enable users to perform various actions such as sending transactions, deploying ERC20 token and NFT smart contracts, managing tokens/NFTs, and interacting with decentralized applications (dApps) on the Rise Testnet using its RPC. Each script is built with the web3.py library and offers bilingual support (English and Vietnamese) for user interaction.
Faucet: Rise Testnet Faucet
- Multi-Account Support: Reads private keys from
pvkey.txtto perform actions across multiple accounts. - Colorful CLI: Uses
coloramafor visually appealing output with colored text and borders. - Asynchronous Execution: Built with
asynciofor efficient blockchain interactions. - Error Handling: Comprehensive error catching for blockchain transactions and RPC issues.
- Bilingual Support: Supports both English and Vietnamese output based on user selection.
- sendtx.py: Send random TEA transactions or to addresses from
address.txton Rise Testnet. - deploytoken.py: Deploy an ERC20 token smart contract on Rise Testnet.
- sendtoken.py: Send ERC20 tokens to random addresses or from
addressERC20.txton Rise Testnet. - nftcollection.py: Deploy and manage an NFT smart contract (Create, Mint, Burn) on Rise Testnet.
- gaspump.py: Perform GasPump swap operations on Rise Testnet.
- clober.py: Execute Clober swaps (ETH ↔ WETH) on Rise Testnet.
- inari.py: Manage Inari Finance operations (Deposit, Withdraw) on Rise Testnet.
- wlgtx.py: Interact with WL GTX Dex on Rise Testnet.
- wlnovadubs.py: Interact with WL Novadubs on Rise Testnet.
Before running the scripts, ensure you have the following installed:
- Python 3.8+
pip(Python package manager)- Dependencies: Install via
pip install -r requirements.txt(ensureweb3.py,colorama,asyncio,eth-account, andinquirerare included). - pvkey.txt: Add private keys (one per line) for wallet automation.
- Access to the Rise Testnet RPC (e.g., https://testnet.riselabs.xyz).
- address.txt / addressERC20.txt: Optional files for specifying recipient addresses.
- Clone this repository:
- Open cmd or Shell, then run the command:
git clone https://github.com/thog9/Rise-testnet.gitcd Rise-testnet- Install Dependencies:
- Open cmd or Shell, then run the command:
pip install -r requirements.txt- Prepare Input Files:
- Open the
pvkey.txt: Add your private keys (one per line) in the root directory.
nano pvkey.txt - Open the
address.txt(optional): Add recipient addresses (one per line) forsendtx.py,deploytoken.py,sendtoken.py,nftcollection.py,wlgtx.py,wlnovadubs.py.
nano address.txt nano addressERC20.txtnano contractERC20.txtnano contractNFT.txtnano mail.txt- Run:
- Open cmd or Shell, then run command:
python main.py- Choose a language (Vietnamese/English).
- Telegram: thog099
- Channel: CHANNEL
- Group: GROUP CHAT
- X: Thog