βš™οΈSetup Guide

Follow the guide to set up your LikeCoin Mainnet node

Step 1: Update and install necessary packages

sudo apt update && sudo apt upgrade --yes && \
sudo apt install git build-essential ufw curl jq snapd screen ncdu nano fuse ufw --yes

Step 2: Install Go

sudo snap install go --classic && \
echo 'export GOPATH="$HOME/go"' >> ~/.profile && \
echo 'export GOBIN="$GOPATH/bin"' >> ~/.profile && \
echo 'export PATH="$GOBIN:$PATH"' >> ~/.profile && \
source ~/.profile && \
go version

Step 3: Clone repo and compile binary (you can find releases here: click)

git clone https://github.com/likecoin/likecoin-chain
cd likecoin-chain
git checkout v4.2.0
make install

Step 4: Init your keys and download genesis file

liked init <moniker>
liked keys add <keyname>
curl https://raw.githubusercontent.com/likecoin/mainnet/master/genesis.json > ~/.liked/config/genesis.json

Step 5: Set up minimum gas price

Step 6: Set up pruning (optional)

Step 7: Set up LikeCoin service

Step 7: Enable LikeCoin daemon

If you want to synchronize your node from the 0 block:

Start LikeCoin service and check logs

Or you can quickly synchronize your node through State Sync:

πŸ”ŒState Sync Guide

Last updated