We are going to clone, build and run Ethermint locally to develop on top of that codebase.
You need GoLang 1.18+ to build the binary, you can install it using the install go guide.
Clone the repository, iām cloning using ssh but if you prefer, you can clone it using the github-cli or just https.
git clone git@github.com:evmos/ethermint.git
Shell
Just go to the folder and run the make command
cd ethermint
make install
Shell
Note: the make install command will put the binary in the $GOPATH folder, running with make build, will place the binary in the ./build folder.
Try the binary to check if everything is ok
$ ethermintd -h
Ethermint Daemon
Usage:
ethermintd [command]
Available Commands:
add-genesis-account Add a gen
...
Shell