Faucet
Use thru faucet when working with the faucet program’s deposit and withdrawal flow.
This is also the simplest built-in way to fund an account for beta, test, or dev workflows when the account exists locally but cannot yet pay transaction fees.
Commands
Section titled “Commands”| Command | Use it for |
|---|---|
deposit <account> <amount> | Deposit funds into the faucet. |
withdraw <account> <amount> | Withdraw funds from the faucet. |
Important Details
Section titled “Important Details”- both commands accept
--fee-payer withdrawis capped at10000per transaction according to the clap definition
Common Funding Pattern
Section titled “Common Funding Pattern”If your account exists locally but has no balance for writes, use withdraw to fund it from the faucet before retrying deployment or transaction submission.
thru faucet withdraw default 1000You can also target a specific account name or raw Thru address:
thru faucet withdraw my-key 1000thru faucet withdraw ta... 1000Minimal Pattern
Section titled “Minimal Pattern”thru faucet deposit default 1000thru faucet withdraw default 500- These commands operate on the faucet program, not arbitrary token mints.
- The
accountargument can be a key name or a raw address, depending on the stored config and validation path.