Skip to main content
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

CommandUse it for
deposit <account> <amount>Deposit funds into the faucet.
withdraw <account> <amount>Withdraw funds from the faucet.

Important Details

  • both commands accept --fee-payer
  • withdraw is capped at 10000 per transaction according to the clap definition

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 1000
You can also target a specific account name or raw Thru address:
thru faucet withdraw my-key 1000
thru faucet withdraw ta... 1000

Minimal Pattern

thru faucet deposit default 1000
thru faucet withdraw default 500

Notes

  • These commands operate on the faucet program, not arbitrary token mints.
  • The account argument can be a key name or a raw address, depending on the stored config and validation path.