Skip to content
- You can mine CNET directly from the Node software
- By default, the node does not run in mining mode, you need to configure arguments to set this up
- Download the relevant executable (Windows / Linux) from ContractNetLabs/go-ContractNet/releases
- Unzip the executable
- In order to mine you will need a ContractNet account. To generate this you need to run the following command against the node:
gContractNet account new
- Enter a strong password and make sure to back it up offline, together with the address created (this address will be the wallet address you will use for mining and sending transactions later)
- In order to mine, execute the following against the node:
gContractNet --mine --minerthreads [numberOfCoresToUse] --etherbase [yourWalletAddress]
- It will take some time for the software to synchronise the blockchain and build the DAG
- Thereafter, the miner will attempt to commit work. This does not confirm that you have found a block but simply that a possible answer is being submitted.
- The node will output if a possible block has been mined and a message will be posted if the block has been verified and committed to the active chain.
- To check your progress, you can go to https://cnetscan.lab-27.com/blocks?minedby=0x[yourWalletAddress]