Categorygithub.com/CentaurDev/centaurchain
repository
0.0.0-20210428092241-523a756ad846
Repository: https://github.com/centaurdev/centaurchain.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

Centaur Chain

Centaur Chain is a blockchain built using Cosmos SDK and Tendermint and created with Starport.

Requirements

Installation

  1. Clone the repo
git clone https://github.com/CentaurDev/centaurchain.git && cd centaurchain
  1. Build with Starport
starport build

Running a node

  1. Initialize validators's and node's configuration files.
centaurchaind init [moniker] --chain-id centaurchain
  1. Copy and replace genesis.json in config folder
cp /centaurchain/genesis.json ~/.centaurchain/config/genesis.json
  1. Run the node
centaurchaind start --p2p.seeds "[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656"

Becoming a validator

  1. Create a new key
centaurchaind keys add <key_name>
  1. Send create-validator TX
centaurchaind tx staking create-validator \
  --amount=2500000000000000000000000cntr \
  --pubkey=$(centaurchaind tendermint show-validator) \
  --moniker=[moniker] \
  --chain-id=centaurchain \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --from=<key_name>