Setup local test node
The documentation is designed for Liker Land and LikeCoin v2. For information on 3ook.com and LikeCoin v3, please visit docs.3ook.com and dao.like.co.
Clone the likecoin-chain git repository using the latest tag. As of now latest version is
v3.0.0, please check the mainnet repository to confirm version.
git clone https://github.com/likecoin/likecoin-chain \
--branch v3.0.0 --single-branch \
likecoin-chain && cd likecoin-chain2. (optional) Build the chain Docker image
make build-docker3. Setup the needed files and folders
cp docker-compose.yml.template docker-compose.yml
cp .env.template .env
mkdir -p .liked4. Add a key for local use, please record the mnemonic shown
export YOUR_KEY_NAME=<type your key name here>
export CHAIN_ID=<type your chain ID here>
docker-compose run --rm liked-command \
keys add $YOUR_KEY_NAME5. Init the testnet
docker-compose run --rm liked-command \
init testnet --chain-id $CHAIN_ID6. Set all denom in genesis.json to nanolike
7. Init the testnet accounts
8. Modify docker-compose.yml and ./.liked/config/app.toml if you need lcd / grpc services
9. Start running the node
Last updated