This collection of Python scripts empowers you to interact seamlessly with the Pharos Testnet, a cutting-edge blockchain test network for decentralized applications. The core script, main.py, offers an intuitive command-line interface (CLI) to perform a variety of operations, from deploying smart contracts to swapping tokens. Built with web3.py, these scripts leverage asynchronous execution and provide a modern, bilingual (English/Vietnamese) user experience.
🔗 Faucet: Pharos 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.
- Daily Check-in: Perform daily check-ins to earn rewards on the Pharos Testnet.
- Deploy Token Smart Contract: Deploy an ERC20 token smart contract to the Pharos Testnet.
- Send ERC20 Tokens: Transfer ERC20 tokens to random addresses or those listed in addressERC20.txt.
- Deploy NFT Smart Contract: Deploy an NFT smart contract for creating unique digital assets.
- Send Transactions (TX): Send transactions to random addresses or those in address.txt.
- Swap Tokens: Swap tokens (PHRS, USDC, USDT) via Zenith DEX on the Pharos Testnet.
- Add Liquidity: Provide liquidity for token pairs (PHRS, USDC, USDT) on Zenith DEX.
- mintair.py: Deploy and interact with the Mintair smart contract on Pharos 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,aiohttp_socksandinquirerare included). - pvkey.txt: Add private keys (one per line) for wallet automation.
- Pharos Testnet RPC: Access via a public RPC endpoint (e.g., https://testnet.dplabs-internal.com or Pharos-specific RPC).
- proxies.txt (optional): Add proxy addresses for network requests, if needed.
- Clone this repository:
- Open cmd or Shell, then run the command:
git clone https://github.com/thog9/Pharos-testnet.gitcd Pharos-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 - Create
address.txt,addressERC20.txt,contractNFT.txt,contractERC20.txt, orproxies.txtfor specific operations:
nano address.txt
nano addressERC20.txt
nano contractNFT.txt
nano contractERC20.txt
nano proxies.txt- Run:
- Open cmd or Shell, then run command:
python main.py- Choose a language (Vietnamese/English).
Connect with us for support or updates:
- Telegram: thog099
- Channel: CHANNEL
- Group: GROUP CHAT
- X: Thog
Love these scripts? Fuel our work with a coffee!
🔗 BUYMECAFE: BUY ME CAFE