repository
0.0.0-20210428092241-523a756ad846
Repository: https://github.com/centaurdev/centaurchain.git
Documentation: pkg.go.dev
# README
Centaur Chain
Centaur Chain is a blockchain built using Cosmos SDK and Tendermint and created with Starport.
Requirements
Installation
- Clone the repo
git clone https://github.com/CentaurDev/centaurchain.git && cd centaurchain
- Build with Starport
starport build
Running a node
- Initialize validators's and node's configuration files.
centaurchaind init [moniker] --chain-id centaurchain
- Copy and replace genesis.json in config folder
cp /centaurchain/genesis.json ~/.centaurchain/config/genesis.json
- 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
- Create a new key
centaurchaind keys add <key_name>
- 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>