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.
1.2 KiB
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
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:
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:
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:
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:
lotus wallet export <address> > wallet.private
and:
lotus wallet import wallet.private
Keep your wallet's private key safe!