How to run a node

Testnet

currently, the testnet is running on testnet-validator-1.testnet.dhpc.network.

Persistent peer

89e4b72625c0a13d6f62e3cd9d40bfc444cbfa77@testnet-validator-1.testnet.dhpc.network:26656

Chain-ID

dhpctestnet1

This guide goes through the process of running a binary built by project, look Here to find out how to build the project on your own.

Checking binaries

Download the latest version of Dhpcd from the project release page.

Checking binaries

Run Dhpcd to make sure that binary is working as expected

~> Dhpcd version --long 
build_deps:
...
...
build_tags: ""
commit: 602f8b54e4b351255cded4d07b81a9f49d7e24ed
cosmos_sdk_version: v0.46.7
go: go version go1.20.5 linux/amd64
name: Dhpc 
server_name: Dhpcd 
version: 0.1.0-602f8b54

Running a full node

  1. Setup the config files, replace <Moniker> for the public alias of your node, which can be edited later:

$ Dhpcd init <moniker>
  1. replace the generated genesis file with the one provided below

$ curl https://raw.githubusercontent.com/cosmos/launch/master/genesis.json > $HOME/.Dhpcd/config/genesis.json
  1. add persistent peer in the ~/Dhpcd/config/config.toml

persistent_peers = "89e4b72625c0a13d6f62e3cd9d40bfc444cbfa77@testnet-validator-1.testnet.dhpc.network:26656"
  1. start the node!

$ gaiad start --log_level="*:info"
Node runs happily, even on mac, which is a surprise to me

Last updated