faucetbot
A simple Python bot to automatically request testnet USDC or EURC tokens from the Circle Faucet every hour.
Useful for developers testing smart contracts on networks like Uniswap V4, Base, Arbitrum, and others.
🚀 Features
- Requests USDC or EURC tokens from the Circle faucet
- Supports multiple chains (ETH, BASE, UNI, OP, ARB, AVAX, etc.)
- Logs all requests to
~/.faucetbot/{chain}_{token}_log.jsonl - Automatically rotates logs when they get too large
- Configurable request interval (default: every 1 hour)
🛠 Installation
pip install faucetbot
⚙️ Usage
faucetbot 0xYourWalletAddressHere
Optional Flags
| Flag | Default | Description |
|---|---|---|
--token |
USDC | Token to request: USDC or EURC |
--chain |
ETH | Chain name: ETH, BASE, UNI, etc. |
--interval |
3600 | Time between requests (in seconds) |
Example
faucetbot 0x1234567890abcdef --token EURC --chain UNI --interval 1800
📂 Logs
Logs are stored by chain and token in your home directory:
~/.faucetbot/uni_usdc_log.jsonl
Each line is a JSON object with timestamp, status, and response.
Logs rotate when they reach ~5MB and are archived as:
~/.faucetbot/uni_usdc_log.jsonl.<timestamp>.bak
⚠️ Rate Limiting
The Circle faucet enforces rate limits per wallet address. If you see "rate_limited" in your logs, wait a few hours before retrying.
The bot will still log the attempt as a failure.
📜 License
MIT – Use freely, fork wildly, attribute generously.
🧪 Want more?
- Add support for multiple addresses
- Rotate logs weekly or by count
- Send notifications on success or failure
- Run continuously as a daemon or GitHub Action
Pull requests welcome!
Metadata
Release files for faucetbot 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| faucetbot-0.1.0.tar.gz | 9.8 kB | Without provenance | Details for faucetbot-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| faucetbot-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for faucetbot-0.1.0-py3-none-any.whl |
Total release size: 14.1 kB
Release files / faucetbot-0.1.0.tar.gz
| Download URL | faucetbot-0.1.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e773955f2f51e8683bd5437e96b6066044aad72dfc7b1a28999ea733f276dcf
|
|
BLAKE2b-256 checksum How to use checksums |
e3de9f7ef2dbb32c30e057a61d1e17b0d3040c1fcc700f8d3e023b6de2bc73c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.3
|
Release files / faucetbot-0.1.0-py3-none-any.whl
| Download URL | faucetbot-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
affc6ae4089b6398f9d2f946e1fc98ca94ff93d9450be0587a3d050fd6e147e9
|
|
BLAKE2b-256 checksum How to use checksums |
a1c5b8e769c177f36912751cde8ca8b0c0e6a39669ec87e6b9ce00773d1ad6c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.3
|
Security for faucetbot 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.