A simple static website for interacting with an ERC20 token faucet smart contract. This website allows users to:
- Request tokens from the faucet
- Contribute tokens to the faucet
- View cooldown periods and next drip time
- Access admin functions (for contract owner only)
- Deploy your ERC20 Faucet smart contract
- Open
index.htmland update theCONTRACT_ADDRESSconstant with your deployed contract address - Serve the website using any static file server
- Connect wallet using MetaMask
- Request tokens (respects cooldown period)
- Contribute tokens to the faucet
- View contract information:
- Contract address
- Token address
- Connected wallet
- Current drip amount
- Cooldown period
- Time until next drip
- Admin functions (owner only):
- Update drip amount
- Update cooldown period
- Withdraw tokens
- MetaMask or Web3-compatible wallet
- Modern web browser
- Internet connection
- Connect your wallet using the "Connect Wallet" button
- Request tokens using the "Request Tokens" button (subject to cooldown)
- To contribute tokens, enter the amount and click "Contribute"
- Admin functions are only accessible to the contract owner
- Built with plain HTML and JavaScript
- Uses ethers.js for Web3 interactions
- No build process required
- Fully static deployment