How to compile Mainnet full node miner from source code
Install Golang 1.11 or newer.
Download MassNet Miner Full Node source code from here and follow the instructions below.
Step 1: Clone source code to $GOPATH/src/massnet.org, then enter the project directory cd $GOPATH/src/massnet.org/mass.
Step 2: Build the program.
- Windows: Set environment variable GO111MODULE="off" if your Golang version is newer than 1.11, then run go build -o bin\masswallet.exe.
- Linux/macOS: Run make build.
An executable massminerd (or massminerd.exe) should be generated in $GOPATH/src/massnet.org/mass/bin/.