---
title: Faucet
description: Deposit to or withdraw from the faucet program
source_url:
  html: https://thru.org/docs/cli-reference/faucet-commands/
  md: https://thru.org/docs/cli-reference/faucet-commands.md
---

# 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

| Command | Use 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.

```bash
thru faucet withdraw default 1000
```

You can also target a specific account name or raw Thru address:

```bash
thru faucet withdraw my-key 1000
thru faucet withdraw ta... 1000
```

## Minimal Pattern

```bash
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.
