Get test tokens
Test funds are available to developer so that they can test their smart contracts and applications within the confines of a test network. This page covers how to get test funds.
Calibration testnet
MetaMask is one of the easier ways to manage addresses on the Calibration testnet. MetaMask uses the t4
address type, which allows developers to create and manage Solidity contracts easily. Follow the MetaMask setup guide if you havn’t set up an address in your MetaMask wallet yet.
In your browser, open MetaMask and copy your address to your clipboard.
Go to faucet.calibnet.chainsafe-fil.io and click Send Funds.
Paste your address into the address field and click Send funds:
The webpage will give you a transaction ID:
You can copy this ID into a block explorer to track the progress of your transaction:
That’s all there is to it! Getting tFil
is easy!
Local testnet
Before we begin, you must have a local testnet running. Follow the Run a local network guide if you haven’t got a local testnet set up yet.
Change directory to where you created the
lotus
andlotus-miner
binaries. If you followed the Run a local network guide these binaries will be in~/lotus-devnet
:
View the wallets available on this node with
lotus wallet list
:
Create the send request with
lotus send
, supplying the pre-minedt3q4o...
address as the--from
address, the newt1snl...
address as the receiving address, and the amount of FIL we want to send:
For example:
Check the balance of your new
t1snl...
address withlotus wallet balance
:
For example:
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.
Last updated