docs: Update mining instructions

This commit is contained in:
Łukasz Magiera 2019-10-29 14:34:33 +01:00
parent 640b889aa6
commit 788b0f5908
2 changed files with 10 additions and 9 deletions

View File

@ -92,19 +92,20 @@ $ lotus wallet balance [optional address (t3...)]
### Mining ### Mining
Ensure that at least one BLS address (`t3..`) in your wallet has enough funds to Ensure that at least one BLS address (`t3..`) in your wallet exists
cover pledge collateral:
```sh ```sh
$ lotus state pledge-collateral $ lotus wallet list
1234 t3...
$ lotus wallet balance [t3...]
8999
``` ```
(Balance must be higher than the returned pledge collateral for the next step to work) With this address, go to https://lotus-faucet.kittyhawk.wtf/miner.html, and
click `Create Miner`
Wait for a page telling you the address of the newly created storage miner to
appear - It should be saying: `New storage miners address is: t0..`
Initialize storage miner: Initialize storage miner:
```sh ```sh
$ lotus-storage-miner init --owner=t3... $ lotus-storage-miner init --actor=t01.. --owner=t3....
``` ```
This command should return successfully after miner is setup on-chain (30-60s) This command should return successfully after miner is setup on-chain (30-60s)

View File

@ -264,7 +264,7 @@ func (h *handler) mkminer(w http.ResponseWriter, r *http.Request) {
} }
createStorageMinerMsg := &types.Message{ createStorageMinerMsg := &types.Message{
To: actors.StorageMarketAddress, To: actors.StoragePowerAddress,
From: h.from, From: h.from,
Value: collateral, Value: collateral,