There are multiple ways to get the
hmy CLI binary.
hmy depends on some dynamic libraries, hence we recommend using the following shell wrapper
curl -O https://raw.githubusercontent.com/harmony-one/go-sdk/master/scripts/hmy.shchmod +x hmy.sh./hmy.sh -d
Now you can use
hmy.sh as a wrapper over
hmy and you should assume that all references to
hmy in these documents refer to
If you are interested in compiling from source, then the process is slightly more involved.
Clone the repo at the same level as the main Harmony repo:
$ pwd/Users/edgar/Repos/harmony-work/src/github.com/harmony-one$ lsbls go-sdk harmony mcl
make in the
go-sdk repo. This builds a binary named
These steps are admittedly involved; eventually everything will be statically linked.