Installation Node

  • Network Type: Mainnet
  • Chain-id: symphony-1
  • Current Node version: v1.0.0
  • Hardware requirements

    The following requirements are recommended for running :

    • 8 or more physical CPU cores
    • At least 400GB of SSD disk storage
    • At least 16GB 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.22.2"
    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 symphony
    git clone https://github.com/Orchestra-Labs/symphony.git
    cd symphony
    git checkout v1.0.0
    make install

    Initialize Node

    Please change <MONIKER> To your own Moniker.

    symphonyd init (MONIKER) --chain-id symphony-1

    Custom Port

    sed -i -e "s%:26657%:21657%" $HOME/.symphonyd/config/client.toml
    sed -i -e "s%:26658%:21658%; s%:26657%:21657%; s%:6060%:21060%; s%:26656%:21656%; s%:26660%:21660%" $HOME/.symphonyd/config/config.toml
    sed -i -e "s%:1317%:21317%; s%:9090%:21090%" $HOME/.symphonyd/config/app.toml

    Download Genesis file and addrbook

    • Genesis
    curl -L https://snap.vinjan.xyz/symphony/genesis.json > $HOME/.symphonyd/config/genesis.json
    • Addrbook
    curl -L https://snap.vinjan.xyz/symphony/addrbook.json > $HOME/.symphonyd/config/addrbook.json

    Configure Seeds and Peers

    seeds="798fd108b9a0e696bdacd6e7ea7a3fe20c11eafd@65.21.234.111:26656"
    sed -i.bak -e "s/^seeds =.*/seeds = \"$seeds\"/" $HOME/.symphonyd/config/config.toml
    sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.025note\"/" $HOME/.symphonyd/config/app.toml

    Indexer Off

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

    create service file and start node

    Create service file

    sudo tee /etc/systemd/system/symphonyd.service > /dev/null <<EOF
    [Unit]
    Description=symphony
    After=network-online.target
    
    [Service]
    User=$USER
    ExecStart=$(which symphonyd) 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 symphonyd
    sudo systemctl restart symphonyd
    sudo journalctl -u symphonyd -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

    Oracle