A bot to request USDC or EURC tokens every hour.
Project description
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file faucetbot-0.1.0.tar.gz.
File metadata
- Download URL: faucetbot-0.1.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e773955f2f51e8683bd5437e96b6066044aad72dfc7b1a28999ea733f276dcf
|
|
| MD5 |
329ad5bcc8c5f6d69e6d4a329c5dae7d
|
|
| BLAKE2b-256 |
e3de9f7ef2dbb32c30e057a61d1e17b0d3040c1fcc700f8d3e023b6de2bc73c3
|
File details
Details for the file faucetbot-0.1.0-py3-none-any.whl.
File metadata
- Download URL: faucetbot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
affc6ae4089b6398f9d2f946e1fc98ca94ff93d9450be0587a3d050fd6e147e9
|
|
| MD5 |
8b34c85014ba2cde485f34ba4521905a
|
|
| BLAKE2b-256 |
a1c5b8e769c177f36912751cde8ca8b0c0e6a39669ec87e6b9ce00773d1ad6c9
|