# Get test tokens

Before we begin, you must have a local testnet running. Follow the [Run a local network guide](/networks/local-testnet.md) if you haven’t got a local testnet set up yet.

1. Change directory to where you created the `lotus` and `lotus-miner` binaries. If you followed the [Run a local network guide](/networks/local-testnet.md) these binaries will be in `~/lotus-devnet`:\\

   ```shell
   cd ~/lotus-devnet
   ```
2. View the wallets available on this node with `lotus wallet list`:\\

   ```shell
   ./lotus wallet list
   ```

   \
   This command will output something like:\\

   ```plaintext
   Address                                                                                 Balance                          Nonce  Default
   t1snly7vh4mjtjznwze56ihrdhzfwvbajywwmrenq                                               0 FIL                            0
   t3q4o7gkwe7p7xokhgws4rwntj7yqfhpj5pm6cqc7dycl7cwk4uvgh2odwdvge5re7ne5gcc6xluifss5uu5cq  49999999.999763880085417692 FIL  2      X
   ```
3. Create the send request with `lotus send`, supplying the pre-mined `t3q4o...` address as the `--from` address, the new `t1snl...` address as the receiving address, and the amount of FIL we want to send:\\

   ```shell
   ./lotus send --from <PRE-MINED ADDRESS> <TO ADDRESS> <VALUE>
   ```

   \
   For example:\\

   ```shell
   ./lotus send --from t3q4o7gkwe7p7xokhgws4rwntj7yqfhpj5pm6cqc7dycl7cwk4uvgh2odwdvge5re7ne5gcc6xluifss5uu5cq t1snly7vh4mjtjznwze56ihrdhzfwvbajywwmrenq 2000
   ```

   \
   This command will output something like:\\

   ```plaintext
   bafy2bzaceaqzbgiazwvtpago6wpkxl42puxfkvwv5cwjpime2irqatamji2bq
   ```
4. Check the balance of your new `t1snl...` address with `lotus wallet balance`:\\

   ```shell
   ./lotus wallet balance <ADDRESS>
   ```

   \
   For example:\\

   ```shell
   ./lotus wallet balance t1snly7vh4mjtjznwze56ihrdhzfwvbajywwmrenq
   ```

   \
   This command will output something like:\\

   ```plaintext
   2000 FIL
   ```

If you want to manage your local testnet tokens in MetaMask you will need to create a `t4` address. You can create a `t4` address using `lotus wallet new deleated`. Once you have a `t4` address you can connect MetaMask to your local testnet to see the new balance within the MetaMask extension.

[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/networks/local-testnet/get-test-tokens)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.filecoin.io/networks/local-testnet/get-test-tokens.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
