Giter Club home page Giter Club logo

coho-testnets's Introduction

Cosmic Horizon Testnets

You will find all testnet implementations of the Cosmic Horizon Network in this repository.

Installing CoHo

Quick Links

Genesis: coming soon

Git tag: coho v0.1

Block explorer: coming soon

Seeds: TBA

Hardware Requirements

Here are the minimal hardware configs required for running a validator/sentry node

  • 8GB RAM
  • 4vCPUs
  • 200GB Disk space

Software Requirements

Install CoHo, Generate Wallet and Start your Node

You have two options for installing the cohod binary. First, our team will be providing releases of cohod in our github repository, please check the releases page for the latest version of cohod. Secondly, you can follow the steps below to compile coho yourself.

Install Go version 1.17.1

sudo apt update  
sudo apt install build-essential jq wget git -y

wget https://dl.google.com/go/go1.17.1.linux-amd64.tar.gz
tar -xvf go1.17.1.linux-amd64.tar.gz
sudo mv go /usr/local

Now add go to your bashrc -

echo "" >> ~/.bashrc
echo 'export GOPATH=$HOME/go' >> ~/.bashrc
echo 'export GOROOT=/usr/local/go' >> ~/.bashrc
echo 'export GOBIN=$GOPATH/bin' >> ~/.bashrc
echo 'export PATH=$PATH:/usr/local/go/bin:$GOBIN' >> ~/.bashrc

# use this new bashrc configuration
source ~/.bashrc

Install Starport

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/

Build CoHo

These next steps will install the cohod binary which is used to run your chain.

# Clone the Repo
git clone https://github.com/cosmic-horizon/coho.git

# Install CoHo
cd ~/coho
starport chain build

Generating your wallet and starting CoHo instance

Initiate CoHo Instance

cd ~
cohod init <your moniker> --chain-id darkmatter-1

example:

cohod init coho-tester --chain-id darkmatter-1

# replace coho-tester with your moniker

Create Validator Key

Optional It's very important that after running this command you save the seed phrase that is generated. If you do not save your phrase, you will not be able to recover this account.

cohod keys add <your validator key name>

example:

cohod keys add coho-test-wallet

# replace coho-tester-wallet with a wallet name of your choosing

Downloading Genesis

curl -s https://raw.githubusercontent.com/cosmic-horizon/testnets/main/darkmatter-1/genesis.json > $HOME/.coho/config/genesis.json

Verify Genesis

cd $HOME/.coho/config/
md5sum genesis.json

# a151c16fcc833c879e305bb5c18a9f7b  genesis.json

Create a Validator

Optional

Please see the create-a-validator docs

Start your node

cohod start

More about validators

Please refer to the Cosmos Hub documentation on validators for a general overview of running a validator. We are using the exact same validator model and software, but with slightly different parameters and other functionality specific to the Cosmic Horizon Network.

Resources

coho-testnets's People

Contributors

0xmaverick avatar alfdidnothingwrong avatar alipostaci2001 avatar armyids avatar clearrf avatar davaymne avatar defrisk0 avatar dpdanpittman avatar emrenop avatar habibrr avatar ibrahimarslann59 avatar iprouteth0 avatar kinrokinro avatar kivancbeser avatar landerosua avatar mahofmahof avatar moonshine-cc avatar mt2721 avatar newvl avatar nhhtrung avatar nodeskuge avatar northa avatar osmanbo avatar ramuchi avatar rickau123 avatar secard51 avatar sgtstake avatar theguild-ops avatar uniqnodes avatar web3validator avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.