Automated Token Deployment and Distribution Tool
- A CLI tool for deploying ERC20 token contracts and distributing tokens/native assets on the Tea Sepolia Testnet.
- 🛠️ Deploy custom ERC20 contracts with automatic verification
- 💸 Distribute native tokens (TEA) to verified addresses
- 🪙 Distribute ERC20 tokens to verified addresses
- 🔍 Integrated with Tea Sepolia blockchain explorer
- Node.js v18+
- npm v9+
- Hardhat (will be installed automatically if not present)
- Blockchain account with TEA balance
- Clone repository:
git clone https://github.com/Endijuan33/Tea-Testnet-Deployer.git
cd Tea-Testnet-Deployer- Install dependencies:
npm install- Copy .env.example to .env and configure required settings:
MAIN_PRIVATE_KEY=0xyour_wallet_private_key
RPC_URL=https://tea-sepolia.g.alchemy.com/public
CHAIN_ID=10218
EXPLORER_URL=https://sepolia.tea.xyz/
CONTRACT_ADDRESS=| Variable | Description | Example Value |
|---|---|---|
| MAIN_PRIVATE_KEY | Main wallet's private key | 0xabc123... |
| RPC_URL | Tea network RPC URL | https://tea-sepolia.g.alchemy.com/public |
| CHAIN_ID | Tea Testnet chain ID | 10218 |
| CONTRACT_ADDRESS | Contract address (auto-filled after deployment) | 0x... |
| EXPLORER_URL | Blockchain explorer URL | https://sepolia.tea.xyz/ |
Run command:
npm run startFollow the interactive menu instructions in the CLI. For first-time use, we recommend deploying a contract before distributing tokens.
Observe daily transaction limits and ensure the main wallet has sufficient balance for gas fees and token distribution.
-
Deploy New Contract
- Create custom ERC20 token
- Guided input for:
- Token Name
- Token Symbol
- Decimal Places
- Total Supply
- Automatic contract verification after deployment
-
Send Native Token (TEA)
- Distribute TEA to verified addresses
- Daily limit: 5,000 transactions/day or based on addresses.txt files
- Random delay between 10-60 seconds between transactions
-
Send ERC20 Tokens
- Distribute tokens to verified addresses
- Input tokens amount per transaction
- Uses deployed contract
- Same daily limits as native token distribution
- 🚫 Never share
.envfiles - 🔐 Private keys stored only in local environment variables
⚠️ Use responsibly and comply with network rules - DYOR!
- Ensure main wallet has sufficient TEA balance
- Contract verification requires Hardhat - will be auto-installed
- Failed transactions will be reported without stopping the process
To run the script:
- Ensure all dependencies are installed
- Configure
.envfile properly - Run command:
npm startTo get the latest version of the script and ensure you have all updates:
# Navigate to your project directory if you're not already there
cd Tea-Testnet-Deployer
# Fetch and merge latest changes from repository
git pull origin main
# Reinstall dependencies if there are package changes
npm installMIT License
- This script is provided exclusively for educational and testing purposes on the Tea Testnet
- All transactions use testnet assets with no real monetary value
- Not affiliated with or endorsed by Tea or any blockchain entity
- NO WARRANTIES expressed or implied - use at your own risk
- Developers assume no liability for:
- Any financial losses
- Account bans
- Network disruptions
- Legal consequences of misuse
- Mainnet use is strictly discouraged and may violate network policies
- Users are solely responsible for complying with local regulations