Follow these steps to mine using go-filecoin client on testnet for adding a miner and sealing a sector
- Setup a go-filecoin node and sync the chain
- Create a bls address for your worker addr
go-filecoin address new --type=bls
. To get the address rungo-filecoin address ls
, it should be the last one in the list - Create a miner actor with
go-filecoin miner create <collateral> --sectorsize=<number-of-bytes-in-sector> --from=<new-bls-addr> --gas-price=0.0001 --gas-limit=100000
go-filecoin mining start
kicks the node into mining mode using the miner actor created in the last stepgo-filecoin mining pledge-sector
starts sealing the sector