Anyone can set up a Lotus Node and connect to the Lotus Testnet. This is the best way to explore the current CLI and the Filecoin Decentralized Storage Market.
If you are trying to use
lotus from China. You should set this environment variable on your machine:
Start the daemon using the default configuration in
In another terminal window, check your connection with peers:
lotus net peers | wc -l
In order to connect to the network, you need to be connected to at least 1 peer. If you’re seeing 0 peers, read our troubleshooting notes.
Make sure that you have a reasonable "open files limit" set on your machine, such as 10000. If you're seeing a lower value, such as 256 (default on macOS), read our troubleshooting notes on how to update it prior to starting the Lotus daemon.
While the daemon is running, the next requirement is to sync the chain. Run the command below to view the chain sync progress. To see current chain height, visit the network stats page.
lotus sync wait
Initialize a new wallet:
lotus wallet new
Sometimes your operating system may limit file name length to under 150 characters. You need to use a file system that supports long filenames.
Here is an example of the response:
Wallet balances in the Lotus Testnet are in FIL, the smallest denomination of FIL is an attoFil, where 1 attoFil = 10^-18 FIL.
lotus wallet balance <YOUR_NEW_ADDRESS>
You will not see any attoFIL in your wallet if your chain is not fully synced.
To send FIL to another wallet from your default account, use this command:
lotus send <target> <amount>
To effectively accept incoming storage & retrieval deals, your Lotus node needs to be accessible to other nodes on the network. To improve your connectivity, be sure to:
To see the latest network activity, including chain block height, block height, blocktime, total network power, largest block producer miner, check out the monitoring dashboard.