➡️v0.3.0 to v0.4.1 Update
Last updated
Last updated
sudo systemctl stop symphonyd
rm -rf symphony
git clone https://github.com/Orchestra-Labs/symphony
cd symphony
git checkout v0.4.1
make build
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
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
curl https://raw.githubusercontent.com/MictoNode/symphony-cosmos/refs/heads/main/genesis.json -o ~/.symphonyd/config/genesis.json
SEEDS="4660f4c136d4cf916d65b952a1ab67095fe1311f@65.21.234.111:25656"
PEERS="eea2dc7e9abfd18787d4cc2c728689ad658cd3a2@104.154.135.225:26656,ed33b91ef0743a35206890044cbaac99c8241e26@94.130.143.184:21656"
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.symphonyd/config/config.toml
sudo systemctl daemon-reload
sudo systemctl restart symphonyd
symphonyd version
sudo journalctl -u symphonyd -f -o cat
Save your pubkey
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