NOTE: THIS REPO IS DEPRECIATED! IF YOU PLAN ON SPINNING UP A NODE FOR MAIN NETWORK, PLEASE REFER TO THE PROPER REPO
chronic is a blockchain built using Cosmos SDK and Tendermint and created with Starport.
Note: Requires Go 1.17+, starport 0.19.0+
We provide a docker image to help with test setups. There are two modes to use it
Build: docker build -t carlosbie/chronic:latest . or pull from dockerhub
Using starport
starport chain serve
serve command installs dependencies, builds, initializes, and starts your blockchain in development.
Using docker
docker run --rm
-e CHTD_MONIKER=chronic-node-1
-e SEEDS_URL=https://raw.githubusercontent.com/ChronicNetwork/net/main/seed-nodes.txt
-e SYNC_URL=https://raw.githubusercontent.com/ChronicNetwork/net/main/rpc-nodes.txt
-e GENESIS_URL=https://raw.githubusercontent.com/ChronicNetwork/net/main/genesis.json
carlosbie/chronic:latest
Your blockchain in development can be configured with config.yml. To learn more, see the Starport docs.
To launch your blockchain live on multiple nodes, use chtd start commands. Learn more about Starport Network.
To release a new version of your blockchain, create and push a new tag with v prefix. A new draft release with the configured targets will be created.
| Config Option | Default | Description |
|---|---|---|
| CHTD_MONIKER | chronic-node | Name of Moniker |
| SEEDS_URL(required) | none | url of seeds |
| SYNC_URL(required) | none | url of sync addresses |
| GENESIS_URL(required) | none | url of genesis file |
| DOUBLE_SIGN_CHECK_HEIGHT | 0 | 10 for validator |
| ADDR_BOOK_STRICT | 1 | 0 or 1 |
| PEX | 1 | 0 or 1 |