Welcome to validator AlxVoy ANODE.TEAM



LikeCoin

LikeCoin

Links

Mainnet service

Explorers

Sync

RPC & API

Peers and seeds

Genesis and addrbook

Service script (Install, State-Sync, Snapshot, Delete)

wget -O LikeCoin.sh https://anode.team/LikeCoin/main/LikeCoin.sh && chmod u+x LikeCoin.sh && ./LikeCoin.sh

Installation

Hardware Requirements

  • Memory 16GB
  • CPUs Quad Core or larger AMD or Intel (amd64) CPU
  • Disk At least 500GB NVMe Storage

Software Requirements

  • Prerequisite: go1.19.5 required. ref
  • Prerequisite: git. ref

Install last binary

wget https://github.com/likecoin/likecoin-chain/releases/download/v4.2.0/likecoin-chain_4.2.0_Linux_x86_64.tar.gz
tar -xvf likecoin-chain_4.2.0_Linux_x86_64.tar.gz
chmod +x bin/liked
mv bin/liked /root/go/bin/

if an error has occurred, you can simply download the binary

wget -O $HOME/go/bin/liked https://anode.team/LikeCoin/main/liked && chmod +x $HOME/go/bin/liked

Init the config files

liked init [moniker] --chain-id likecoin-mainnet-2
sed -i "s/chain-id = .*/chain-id = \"likecoin-mainnet-2\"/" $HOME/.liked/config/client.toml

Create a wallet

liked keys add [wallet_name]

Download genesis and addrbook

curl https://anode.team/LikeCoin/main/genesis.json > ~/.liked/config/genesis.json
curl https://anode.team/LikeCoin/main/addrbook.json > ~/.liked/config/addrbook.json

Add peers, seed

SEEDS=""
PEERS="8812fd5b03ffdd7ec48d6d3008b3e7ff46bbd923@65.109.93.152:39656"
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.liked/config/config.toml

Add min gas

sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "10000nanolike"|g' $HOME/.liked/config/app.toml

Set custom ports

curl -sSL https://anode.team/set-ports.sh | bash -s -- .liked

Pruning and indexer

sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.liked/config/app.toml 
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.liked/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"19\"/" $HOME/.liked/config/app.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.liked/config/config.toml

Create the service file

sudo tee /etc/systemd/system/liked.service > /dev/null <<EOF
[Unit]
Description=LikeCoin
After=network-online.target

[Service]
User=$USER
ExecStart=$(which liked) start
Restart=always
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

Load service and start

sudo systemctl daemon-reload && sudo systemctl enable liked
sudo systemctl restart liked && journalctl -fu liked -o cat

Create Validator

liked tx staking create-validator \
  --amount=1000000000nanolike \
  --pubkey=$(liked tendermint show-validator) \
  --moniker="[moniker]" \
  --identity="[identity]" \
  --website="[website]" \
  --details="[details]" \
  --security-contact="[contact]" \
  --chain-id="likecoin-mainnet-2" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --fees=2000000000nanolike \
  --gas 200000 \
  --node "tcp://127.0.0.1:26657" \
  --chain-id likecoin-mainnet-2 \
  --from=[wallet_name]

Testnet service

Explorers

Sync

RPC & API

Peers and seeds

Genesis and addrbook

Service script (Install, State-Sync, Snapshot, Delete)

wget -O LikeCoin.sh https://anode.team/LikeCoin/test/LikeCoin.sh && chmod u+x LikeCoin.sh && ./LikeCoin.sh

Installation

Hardware Requirements

  • Memory 16GB
  • CPUs Quad Core or larger AMD or Intel (amd64) CPU
  • Disk At least 500GB NVMe Storage

Software Requirements

  • Prerequisite: go1.19.5 required. ref
  • Prerequisite: git. ref

Install last binary

wget https://github.com/likecoin/likecoin-chain/releases/download/v4.2.0/likecoin-chain_4.2.0_Linux_x86_64.tar.gz
tar -xvf likecoin-chain_4.2.0_Linux_x86_64.tar.gz
chmod +x bin/liked
mv bin/liked /root/go/bin/

if an error has occurred, you can simply download the binary

wget -O $HOME/go/bin/liked https://anode.team/LikeCoin/test/liked && chmod +x $HOME/go/bin/liked

Init the config files

liked init [moniker] --chain-id likecoin-mainnet-2
sed -i "s/chain-id = .*/chain-id = \"likecoin-mainnet-2\"/" $HOME/.liked/config/client.toml

Create a wallet

liked keys add [wallet_name]

Download genesis and addrbook

curl https://anode.team/LikeCoin/test/genesis.json > ~/.liked/config/genesis.json
curl https://anode.team/LikeCoin/test/addrbook.json > ~/.liked/config/addrbook.json

Add peers, seed

SEEDS=""
PEERS="8812fd5b03ffdd7ec48d6d3008b3e7ff46bbd923@65.109.93.152:39656"
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.liked/config/config.toml

Add min gas

sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "10000nanolike"|g' $HOME/.liked/config/app.toml

Set custom ports

curl -sSL https://anode.team/set-ports.sh | bash -s -- .liked

Pruning and indexer

sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.liked/config/app.toml 
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.liked/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"19\"/" $HOME/.liked/config/app.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.liked/config/config.toml

Create the service file

sudo tee /etc/systemd/system/liked.service > /dev/null <<EOF
[Unit]
Description=LikeCoin
After=network-online.target

[Service]
User=$USER
ExecStart=$(which liked) start
Restart=always
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

Load service and start

sudo systemctl daemon-reload && sudo systemctl enable liked
sudo systemctl restart liked && journalctl -fu liked -o cat

Create Validator

liked tx staking create-validator \
  --amount=1000000000nanolike \
  --pubkey=$(liked tendermint show-validator) \
  --moniker="[moniker]" \
  --identity="[identity]" \
  --website="[website]" \
  --details="[details]" \
  --security-contact="[contact]" \
  --chain-id="likecoin-mainnet-2" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --fees=2000000000nanolike \
  --gas 200000 \
  --node "tcp://127.0.0.1:26657" \
  --chain-id likecoin-mainnet-2 \
  --from=[wallet_name]