fe52c47570
This: * Re-organizes the docs into sections that align with what docs.filecoin.io becoming: * An installation section * A "getting started" section (lotus client focused) * A "storing" section (lotus client focused) * A "mining" section (miner focused) * A "build" section (developer focused) * An legacy "architecture" section is left in the last place. A few high-value documentation pages have been reviewed and updated with the latest recommendations: * Installation section and lotus setup * Miner setup * etc. ... Other pages have been correctly merged into the new relevant sections. Some pages have not been touched. The filesystem layout of the documentation has been changed into folders corresponding to the sections (as requested by @cw). Some pages that were not linked at all and/or where hidden, have been moved to "unclassified". This should make the porting of the Lotus documentation to docs.filecoin.io much easier, while ensuring it is more up to date than it was before. For the moment, this breaks most links as link-aliasing is not supported in lotus-docs.
59 lines
1.2 KiB
Markdown
59 lines
1.2 KiB
Markdown
# 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!
|