If you want to install the
panaceadbinary to run your node or to communicate with other nodes, please clone the
panacea-coreproject and build it.
# Make sure to checkout the correct branch.
git clone -b v2.0.6 https://github.com/medibloc/panacea-core
make install # All binaries are installed in $GOPATH/bin
Verify that the
panaceadbinary is installed successfully.
$ panacead version
If you want to develop Go applications by importing the
panacea-core, you cannot run
go get github.com/medibloc/panacea-core/v2directly due to the design of Go Modules , which doesn't honor
replacedirectives in the
As a workaround, please add
replacedirectives in your
github.com/cosmos/cosmos-sdk => github.com/medibloc/cosmos-sdk v0.45.12-panacea.1
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
github.com/tendermint/tendermint => github.com/informalsystems/tendermint v0.34.24
google.golang.org/grpc => google.golang.org/grpc v1.33.2
Then, you can
go get github.com/medibloc/panacea-core/v2