Installation Node

  • Network Type: Mainnet
  • Chain-id: luwak-1
  • Current Node version: v0.6.5.2
  • Hardware requirements

    The following requirements are recommended for running :

    • 4 or more physical CPU cores
    • At least 200GB of SSD disk storage
    • At least 8GB of memory (RAM)
    • At least 100mbps network bandwidth

    Install dependencies Required

    sudo apt update && sudo apt upgrade -y && sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y

    Install go

    ver="1.23.0"
    cd $HOME
    wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
    sudo rm -rf /usr/local/go
    sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
    rm "go$ver.linux-amd64.tar.gz"
    echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
    source ~/.bash_profile
    go version

    Install binary

    cd $HOME
    rm -rf kopi
    git clone --quiet --depth 1 --branch v0.6.5.2 https://github.com/kopi-money/kopi.git
    cd kopi
    make install

    Initialize Node

    Please change <MONIKER> To your own Moniker.

    kopid init (MONIKER) --chain-id luwak-1

    Download Genesis file and addrbook

    • Genesis
    wget -O $HOME/.kopid/config/genesis.json https://raw.githubusercontent.com/vinjan23/Mainnet/refs/heads/main/Kopi/genesis.json
    • Addrbook
    wget -O $HOME/.kopid/config/addrbook.json https://raw.githubusercontent.com/vinjan23/Mainnet/refs/heads/main/Kopi/addrbook.json

    Configure Seeds and Peers

    seeds="85919e3dcc7eec3b64bfdd87657c4fac307c9d23@65.109.34.145:26656"
    sed -i.bak -e "s/^seeds =.*/seeds = \"$seeds\"/" $HOME/.kopid/config/config.toml
    sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0ukopi\"/;" ~/.kopid/config/app.toml

    config pruning

    sed -i \
    -e 's|^pruning *=.*|pruning = "custom"|' \
    -e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \
    -e 's|^pruning-keep-every *=.*|pruning-keep-every = ""|' \
    -e 's|^pruning-interval *=.*|pruning-interval = "19"|' \
    $HOME/.kopid/config/app.toml

    Indexer Off

    sed -i 's|^indexer *=.*|indexer = "null"|' $HOME/.kopid/config/config.toml

    create service file and start node

    Create service file

    sudo tee /etc/systemd/system/kopid.service > /dev/null << EOF
    [Unit]
    Description=kopi
    After=network-online.target
    [Service]
    User=$USER
    ExecStart=$(which kopid) start
    Restart=always
    RestartSec=3
    LimitNOFILE=65535
    
    [Install]
    WantedBy=multi-user.target
    EOF
    • Enable Service and Start Node
    sudo systemctl daemon-reload
    sudo systemctl enable kopid
    sudo systemctl restart kopid
    sudo journalctl -u kopid -f -o cat
    • Check Sync ( If False than go to create validator )
    • Use Snapshot to faster sync
    symphonyd status 2>&1 | jq .sync_info

    Snapshot

    Create Validator

    Heads up to the Cheat Sheets to create validator