Ethereum testnet faucet CLI
What
Ephemeral faucets with shareable code phrases via an easy-to-use CLI app.
Network support for: OP Sepolia, Base Sepolia, Sepolia.
Why
Motivation originated with wanting a pain-free way to get workshop participants some testnet ether to participate with interactive components of the workshop.
Current options leave something to be desired:
- Ask users to navigate to and use a 3rd-party faucet
- cons: external point of failure, sales pitches, hoops (account creation/PoW), exhausted daily limits
- Create and pre-seed wallets then distribute, e.g., print and hand out
- cons: physical/in-person only, manual process
- Collect addresses, then use a script to distribute eth
- cons: if manual, interruptions with latecomers; if automated, one more thing to run and maintain
popupfaucet
introduces one more option: pre-seeding a faucet accessible to anyone that can install a Python package and is aware of your code phrase.
How
pipx install popupfaucet
popupfaucet create
- Select a network
- Choose a unique "event code"
- Send testnet ether to the address provided
- ✨ voila ✨
popupfaucet status
to view available funds in your faucetpopupfaucet drip
to receive testnet funds from a faucet
- Select the network
- Enter the event code
- Enter the address to receive the testnet ether
- ✨ enjoy ✨
Where
- This repo is the CLI app deployed to PyPI
- Ape project with Solidity contract: repo
- Server Flask app: repo