Skip to content

chadury2021/testnets

 
 

Repository files navigation

Stargaze big-bang Testnet Instructions

Minimum hardware requirements

  • 16GB RAM
  • 200GB of disk space

Software requirements

Stargaze has releases for Linux here.

Install Stargaze

Requires Go version v1.17+.

> git clone https://github.com/public-awesome/stargaze && cd stargaze
> git fetch origin --tags
> git checkout v3.0.0-beta
> make install

Verify installation

To verify if the installation was successful, execute the following command:

> starsd version --long

It will display the version of starsd currently installed:

name: stargaze
server_name: starsd
version: 3.0.0-beta
commit: ec962c91beca198592d0f55bf698e43ba76d9258
build_tags: netgo,ledger
go: go version go1.17 linux/amd64

Create testnet validator

  1. Init Chain and start your node

    > starsd init <moniker-name> --chain-id=big-bang-1
  2. Create a local key pair

    > starsd keys add <key-name>
    > starsd keys show <key-name> -a
  3. Download genesis Fetch genesis.json into starsd's config directory.

    > curl -s https://raw.githubusercontent.com/public-awesome/testnets/main/big-bang-1/genesis/genesis.tar.gz > genesis.tar.gz
    > tar -C ~/.starsd/config/ -xvf genesis.tar.gz

    Genesis sha256

     shasum -a 256 ~/.starsd/config/genesis.json
     6c559caa706ca37a13a39c05f4688e5c8ece2d9014f11593fc41dcdcb3ba5dda  /home/jhernandez/.starsd/config/genesis.json
    
     # normalized
     jq -S -f normalize.jq  ~/.starsd/config/genesis.json | shasum -a 256
     50aa095cf16c5b03846b96cc44cdf247d63862e2d58e450bfc62926a79390fb4  -
  4. Start your node and sync to the latest block

  5. Create validator

    $ starsd tx staking create-validator \
    --amount 50000000ustars \
    --commission-max-change-rate "0.1" \
    --commission-max-rate "0.20" \
    --commission-rate "0.1" \
    --min-self-delegation "1" \
    --details "validators write bios too" \
    --pubkey=$(starsd tendermint show-validator) \
    --moniker <your_moniker> \
    --chain-id big-bang-1 \
    --gas-prices 0.025ustars \
    --from <key-name>
  6. Request tokens from the Stargaze Discord #faucet channel if you need more.

Packages

No packages published

Languages

  • Shell 84.7%
  • Go 9.7%
  • jq 3.4%
  • Makefile 2.2%