Please refer to the installation method more applicable to you.
Our recommendation is to use the pre-built releases and verify the provided checksums.
Prior to using go install make sure that you have Go >=1.17 installed and properly configured.
go install
The stable branch is develop.
develop
git clone https://github.com/xBuild-Chain/xBuild-Blockchain/polygon-edge.git cd polygon-edge/
go build main.go -o polygon-edge
sudo mv polygon-edge /usr/local/bin
Install from the develop branch:
go install github.com/xBuild-Chain/xBuild-Blockchain/polygon-edge@develop
The binary will be available in your GOBIN environment variable, and will include the latest changes from the mainline develop branch.
GOBIN
Test-net and Main-net files are available at the linked GitHub repository.