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 from a local testnet.
Last updated
Was this helpful?
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 from a local testnet.
Last updated
Was this helpful?
Before we begin, you must have a local testnet running. Follow the if you haven’t got a local testnet set up yet.
Change directory to where you created the lotus
and lotus-miner
binaries. If you followed the these binaries will be in ~/lotus-devnet
:\
View the wallets available on this node with lotus wallet list
:\
This command will output something like:\
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:\
For example:\
This command will output something like:\
Check the balance of your new t1snl...
address with lotus wallet balance
:\
For example:\
This command will output something like:\
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.