faucet-terminal
v2.0.4
Published
Multi-chain testnet faucet CLI - get tokens on Starknet and Ethereum testnets
Downloads
526
Maintainers
Readme
faucet-terminal
Get testnet tokens from your terminal
Starknet Sepolia · Ethereum Sepolia
Installation
npm install -g faucet-terminalQuick Start
# Ethereum Sepolia (ETH)
faucet-terminal request 0xYOUR_ADDRESS --network ethereum
faucet-terminal req 0xYOUR_ADDRESS -n eth # short version
# Starknet Sepolia (STRK - default)
faucet-terminal request 0xYOUR_ADDRESS --network starknet
faucet-terminal req 0xYOUR_ADDRESS -n sn # short version
# Starknet Sepolia (ETH)
faucet-terminal request 0xYOUR_ADDRESS --network starknet --token ETH
faucet-terminal req 0xYOUR_ADDRESS -n sn --token ETH # short versionExample Output
$ faucet-terminal req 0x742d35Cc6634C0532925a3b844Bc9e7595f8fE21 -n eth
faucet terminal
network ethereum
[Verification] What is 5 + 7? 12
Correct!
✔ Challenge received
✔ Challenge solved in 32.1s
✔ Transaction submitted!
────────────────────────────────────────────────────────
amount 0.01 ETH
tx 0x6139cd4b...82e8d55f
https://sepolia.etherscan.io/tx/0x6139cd4b...
────────────────────────────────────────────────────────
✔ Tokens will arrive in ~30 secondsSupported Networks
| Network | Full Name | Aliases | Tokens |
|:--------|:----------|:--------|:-------|
| Starknet Sepolia | starknet | sn, sn-sep | STRK (default), ETH |
| Ethereum Sepolia | ethereum | eth, eth-sep | ETH |
Commands
Request Tokens
# Full command
faucet-terminal request <ADDRESS> --network <NETWORK> [--token <TOKEN>]
# Short version
faucet-terminal req <ADDRESS> -n <NETWORK> [--token <TOKEN>]
# Shortest version
faucet-terminal r <ADDRESS> -n <NETWORK>Examples:
faucet-terminal request 0x123...abc --network ethereum # ETH on Ethereum
faucet-terminal req 0x123...abc -n eth # same, shorter
faucet-terminal r 0x123...abc -n eth # same, shortest
faucet-terminal request 0x123...abc --network starknet # STRK on Starknet
faucet-terminal req 0x123...abc -n sn # same, shorter
faucet-terminal request 0x123...abc --network starknet --token ETH # ETH on Starknet
faucet-terminal req 0x123...abc -n sn --token ETH # same, shorterCheck Status
# Full command
faucet-terminal status <ADDRESS> --network <NETWORK>
# Short version
faucet-terminal s <ADDRESS> -n <NETWORK>Examples:
faucet-terminal status 0x123...abc --network ethereum
faucet-terminal s 0x123...abc -n ethView Faucet Info
# Full command
faucet-terminal info --network <NETWORK>
# Short version
faucet-terminal i -n <NETWORK>Examples:
faucet-terminal info --network ethereum
faucet-terminal i -n ethCheck Your Quota
# Full command
faucet-terminal quota
# Short version
faucet-terminal qView Rate Limits
# Full command
faucet-terminal limits
# Short version
faucet-terminal lOptions
| Option | Short | Description |
|:-------|:------|:------------|
| --network | -n | Network to use (required for most commands) |
| --token | | Token to request: ETH, STRK |
| --json | | Output in JSON format |
| --version | -v | Show version |
| --help | -h | Show help |
Rate Limits
5 requests/day per IP address
1 request/hour per token type (ETH and STRK tracked separately)
24h cooldown after daily limit reachedHow It Works
1. Submit address → Validate format for the network
2. Verification → Answer a simple math question
3. Proof of Work → Solve SHA-256 challenge (~30-60s)
4. Receive tokens → Transaction submitted to blockchainError Messages
The CLI provides clear error messages when you hit rate limits:
[HOURLY LIMIT]- You requested this token within the last hour[DAILY LIMIT]- You've used all 5 daily requests[FAUCET LIMIT]- Faucet has temporarily reached its distribution limit[LOW BALANCE]- Faucet balance is too low
License
MIT
Made with ❤️ by a developer, for developers
