Download & Setup
The Harmony CLI tool is used to interact with the Harmony blockchain.
Last updated
Was this helpful?
The Harmony CLI tool is used to interact with the Harmony blockchain.
Last updated
Was this helpful?
Enter the following command into your shell of choice:
hmy
depends on some dynamic libraries, hence we recommend using the shell wrapper. Enter there commands into your terminal:
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 hmy.sh
. For example, the command ./hmy
becomes ./hmy.sh --
.
Note that since hmy
is not statically linked, you cannot arbitrarily move hmy.sh
to anywhere on your filesystem like you could with a single binary.
If you are interested in compiling from source, then the process is more involved.
Steps:
Then setup the build flags:
Call make
in the go-sdk
repo. This builds a binary named hmy
:
Congratulations! You can now use the binary to run the CLI.
Clone the at the same level as the main Harmony repo:
Have , all built and prepared. This may require you to see instructions in the repo's readme.