sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-get update
sudo apt-get install golang-1.14-go
Remember to add /usr/lib/go-1.14/bin to your $PATH
sudo apt install go-dep
sudo apt install libgmp3-dev
git clone https://github.com/meterio/meter-pov.git
//our next example is network warringstakes. make sure switch to release branch!!!
git checkout release
make sure you have $GOPATH
configured
# download dependencies
make dep
# build
make or make all
binary is located at ./bin/meter.
Let's use an example as running meter in network "Herd", one of meter's internal testnet. Discover server is used in this testnet, so we do not need to configure peers.
invoke the following command. meter is running...
./meter --network warringstakes --verbosity 3 --api-addr 0.0.0.0:8669 --api-cors *