➡️ v0.4.1 Update

➡️ Let’s check the update and build

sudo systemctl stop symphonyd
rm -rf symphony
git clone https://github.com/Orchestra-Labs/symphony
cd symphony
git checkout v0.4.1
make build

➡️ Let’s move Binary to Cosmovisor

mkdir -p ~/.symphonyd/cosmovisor/upgrades/0.4.1/bin
mv $HOME/symphony/build/symphonyd ~/.symphonyd/cosmovisor/upgrades/0.4.1/bin/
sudo ln -sfn ~/.symphonyd/cosmovisor/upgrades/0.4.1 ~/.symphonyd/cosmovisor/current
sudo ln -sfn ~/.symphonyd/cosmovisor/current/bin/symphonyd /usr/local/bin/symphonyd

➡️ Fresh Start

symphonyd tendermint unsafe-reset-all --home $HOME/.symphonyd
rm -rf $HOME/.symphonyd/wasm
rm -rf $HOME/.symphonyd/ibc_08-wasm
rm -rf $HOME/.symphonyd/config/genesis.json
rm -rf $HOME/.symphonyd/config/addrbook.json
sed -i -e 's|^chain-id = "symphony-testnet-3"|chain-id = "symphony-testnet-4"|' /root/.symphonyd/config/client.toml
sed -i -e "s|^node *=.*|node = \"tcp://localhost:${SYMPHONY_PORT}657\"|" $HOME/.symphonyd/config/client.toml

➡️ Genesis

curl https://raw.githubusercontent.com/MictoNode/symphony-cosmos/refs/heads/main/genesis.json -o ~/.symphonyd/config/genesis.json

➡️ Seeds & Peers

SEEDS="[email protected]:25656"
PEERS="[email protected]:26656,[email protected]:21656"
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.symphonyd/config/config.toml

➡️ Restart the service

sudo systemctl daemon-reload
sudo systemctl restart symphonyd
symphonyd version
sudo journalctl -u symphonyd -f -o cat

➡️ Create Validator

symphonyd tendermint show-validator
rm -rf /root/validator.json
nano /root/validator.json
{
  "pubkey": {"@type":"/cosmos.crypto.ed25519.PubKey.......},
  "amount": "9500000note",
  "moniker": "",
  "identity": "",
  "website": "",
  "security": "",
  "details": "",
  "commission-rate": "0.1",
  "commission-max-rate": "0.2",
  "commission-max-change-rate": "0.01",
  "min-self-delegation": "1"
}
symphonyd tx staking create-validator $HOME/validator.json \
--from=wallet-name \
--chain-id=symphony-testnet-4 \
--gas-adjustment 1.5 \
--gas-prices 0.025note \
--gas auto
-y