Skip to content

Install and build

Albert·Gou edited this page Dec 29, 2018 · 7 revisions

Install Go The build process for gptn requires Go 1.10.

You'll need to add Go's bin directories to your $PATH environment variable e.g., by adding these lines to your /etc/profile (for a system-wide installation) or $HOME/.profile:

export GOROOT=/usr/local/go
export GOPATH=$HOME/go-work
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

(If you run into trouble, see the Go install instructions).

Download and Compile GPTN

$ go get -u -d github.com/palletone/go-palletone

$ go get -u -d github.com/palletone/adaptor

$ go get -u -d github.com/palletone/eth-adaptor

$ go get -u -d github.com/palletone/btc-adaptor

$ cd $GOPATH/src/github.com/palletone/go-palletone

$ make clean;make gptn

Clone this wiki locally