lotus/documentation/en/getting-started/wallet.md

59 lines
1.2 KiB
Markdown
Raw Normal View History

# Obtaining and sending FIL
In order to receive and send FIL with Lotus you will need to have installed the program and be running the Lotus daemon.
## Creating a wallet
```sh
lotus wallet new bls
```
This will print your Filecoin address.
Your wallet information is stored in the `~/.lotus/keystore` (or `$LOTUS_PATH/keystore`). For instructions on export/import, see below.
You can create multiple wallets and list them with:
```sh
lotus wallet list
```
## Obtaining FIL
FIL can be obtained either by using one of the Faucets (available for the test networks) or by buying it from an exchange supporting FIL trading (once mainnet has launched).
Once you have received some FIL you can check your balance with:
```sh
lotus wallet balance
```
Remember that your will only see the latest balance when your daemon is fully synced to the chain.
## Sending FIL
Sending some FIL can be achieved by running:
```sh
lotus wallet send <address> <amount>
```
Make sure to check `lotus wallet send --help` for additional options.
## Exporting and importing a wallet
You can export and re-import a wallet with:
```sh
lotus wallet export <address> > wallet.private
```
and:
```sh
lotus wallet import wallet.private
```
Keep your wallet's private key safe!