Run an ELDER Node
Instructions to run an elder node and initialise a network
Run your first node
Ensure
gov1.22 or higher is installed, and$GOPATH/binis added to thePATHvariable. (UsuallyGOPATH=~/go/bin)Clone the elder repository, and install it.
$ git clone <https://github.com/0xElder/elder.git>
$ cd elder
$ go mod tidy
$ go build -o $GOPATH/bin ./cmd/elderd
# Check if elderd has been installed to $GOPATH/bin
$ elderd --helpInstantiate validator and node config files. (
chain-idwill be used in later commands).
$ elderd init eldertest --chain-id elder
# This creates ~/.elder/{config, data}Set node config values.
$ cd ~/.elder/config
# Set the following values against the keys in respective file.
# app.toml
## min-gas-prices = "0elder"
# client.toml
## keyring-backend = "test"Add keys to test keyring.
Create genesis account, and generate transaction to create validator with self delegation.
Collect genesis transactions and start the full node.
The full node is now running. Check for the corresponding config values to interact via REST API endpoints or GRPC service methods.
Last updated