Genesis: TBA
Git tag: coho v0.1
Block explorer: coming soon
Seeds: TBA
Here are the minimal hardware configs required for running a validator/sentry node
- 8GB RAM
- 4vCPUs
- 200GB Disk space
The following are necessary to build Cosmic Horizon from source.
# update the local package list and install any available upgrades
sudo apt-get update && sudo apt upgrade -y
# install toolchain and ensure accurate time synchronization
sudo apt-get install make build-essential gcc git jq chrony -y
Follow the instructions here to install Go.
Alternatively, for Ubuntu LTS, you can do:
wget https://golang.org/dl/go1.18.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.18.linux-amd64.tar.gz
Unless you want to configure in a non standard way, then set these in the .profile
in the user's home (i.e. ~/
) folder.
cat <<EOF >> ~/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source ~/.profile
go version
Output should be: go version go1.8 linux/amd64
This command invokes curl to download the install script and pipes the output to bash to perform the installation. The starport binary is installed in /usr/local/bin.
To learn more or customize the installation process, see Starport installer docs on GitHub.
curl https://get.starport.network/starport! | bash
(Optional) Starport installation requires write permission to the /usr/local/bin/ directory. If the installation fails because you do not have write permission to /usr/local/bin/, run the following command:
curl https://get.starport.network/starport | bash
Then run this command to move the starport executable to /usr/local/bin/:
sudo mv starport /usr/local/bin/
https://github.com/cosmic-horizon/coho.git
cd coho
git checkout v0.1
starport chain build
cohod init $MONIKER_NAME --chain-id darkenergy-1
# To create new keypair - make sure you save the mnemonics!
cohod keys add <key-name>
# Restore existing odin wallet with mnemonic seed phrase.
# You will be prompted to enter mnemonic seed.
cohod keys add <key-name> --recover
cohod add-genesis-account <key-name> 1000000000ucoho --keyring-backend os
cohod gentx <key-name> 1000000000ucoho \
--chain-id darkenergy-1 \
--moniker="<moniker>" \
--commission-max-change-rate=0.01 \
--commission-max-rate=0.20 \
--commission-rate=0.05 \
--details="XXXXXXXX" \
--security-contact="XXXXXXXX" \
--website="XXXXXXXX"
- Copy the contents of ${HOME}/.cohod/config/gentx/gentx-XXXXXXXX.json.
- Fork https://github.com/cosmic-horizon/testnets
- Create a file gentx-{{VALIDATOR_NAME}}.json under the networks/testnets/darkenergy-1/gentx folder in the forked repo, paste the copied text into the file.
- Create a Pull Request to the main branch of the repository