# Lotus: send and receive FIL

This guide will show you how to create and manage a Lotus wallet and how to use it to send some Filecoin to a different address.

In order to receive and send FIL with Lotus you will need to have installed and be running a Lotus Node.

# Creating a wallet

lotus wallet new bls

This will create a new wallet and print its Filecoin address. You can distinguish mainnet from testnet addresses because they start with f for mainnet and with t for testnets.

WARNING

Your wallet information is stored in the ~/.lotus/keystore (or $LOTUS_PATH/keystore). Removing these folders will remove the keys too and you will lose control of any funds in those wallets. We recommend backing up your wallets as soon as they have been created or using a hardware wallet.

# Listing wallets

You can create as many wallets as you need. One of them, will be the default wallet.

You can see a list of all wallets for your current node:

lotus wallet list

You can see the default wallet with:

lotus wallet default

If you wish, you can change the default wallet to a different one:

lotus wallet set-default <address>

# Obtaining FIL

FIL for non-mainnet networks can usually be obtained by using one of the Faucets (check URLs in the Networks dashboard (opens new window). For mainnet, the easiest is to buy FIL from an exchange supporting FIL trading.

Once you have received some FIL, you can check your balance with:

lotus wallet balance

Remember that you will only see the latest balance when your daemon is fully synced to the current tip of the chain.

# Sending FIL

Send FIL from the default wallet by running:

lotus send <target address> <FIL_amount>

To send FIL from a specific wallet:

lotus send --from=<sender address> <target address> <FIL_amount>

For advanced sending options:

lotus send --help

Every transaction that sends FIL pays an additional fee based on its gas usage. Gas and fees are explained in the How Filecoin Works guide. By default, Lotus automatically sets all the necessary values, but you may want to use the --gas-feecap flag in the send command to avoid surprises when network congestion is high. For more information about messages and fees, see the Message Pool guide and Gas fees sections.

# Exporting and importing a wallet

WARNING

Keep your wallets' private keys safe!

You can export and re-import a wallet, including to a different Lotus node, with:

lotus wallet export <address> > wallet.private

and:

lotus wallet import wallet.private

TIP

If one of the nodes is offline, you can also copy the files in ~/.lotus/keystore directly.