LikeChain is a blockchain built on the Cosmos SDK.
- At least 20 GB disk space
- Docker Compose
Running testnet node as a validator
- Initialize keys by running
./scripts/init.sh [moniker] [path-to-genesis.json] [persistent-node], where
monikeris the custom identifier of your node,
path-to-genesis.jsonis the path to
persistent-nodeis the node ID and IP address of the test node.
./scripts/init.sh chung ~/Downloads/genesis-likechain-cosmos-testnet-1.json '[email protected]:26656'
After step 1, a Cosmos address for the validator will be initialized. Send the address to us and we will send some token into the account for staking.
Start the node by running
docker-compose up -d. Note that the node is still not a validator, you need to stake the token after receiving it from us for becoming a validator.
After receiving tokens, you can stake them by running
- Setup or reset the one node local testnet by running
- Use the
devto run a local server with light client.
- When code is updated and
go.sumare not updated, you can use
./docker/app/build.shto quickly rebuild the image.