Republic Testnet Binary Upgrade
Tip
Looking to install a new node from scratch? Visit the Validator Installation Guide.
Upgrade to v0.3.0
| Target Block | Proposal ID | Release Version | Binary Daemon |
|---|---|---|---|
326250 | #3 | v0.3.0 | republicd |
Download & Extract Binary
cd $HOME
rm -rf republic
mkdir -p republic
cd republic
wget https://github.com/RepublicAI/networks/releases/download/v0.3.0/republicd-linux-amd64 -O republicd
chmod +x republicdStart a new tmux session
tmux new -s republic-upgradeRun the auto-upgrade script.
⚠️ NOTE: Make sure you adjust the following according to your setup:
- RPC port: use your own RPC endpoint after -r (default is http://localhost:26657)
- API port: use your own REST API endpoint after -a (default is http://localhost:1317)
UPGRADE_SCRIPT="https://raw.githubusercontent.com/astrostake/scripts/refs/heads/main/upgrade_binary.sh"
curl -sL $UPGRADE_SCRIPT | bash -s -- \
-b "republicd" \
-t "326250" \
-n "$HOME/republic/republicd" \
-p "/usr/local/bin" \
-r "http://localhost:15657" \
-i "3" \
-a "http://localhost:15317" \
-d "https://discord.com/api/webhooks/xxx/yyy" \ # optional
--progress-interval 0Flag explanation:
| Flag | Name | Description |
|---|---|---|
-b | binary-name | Name of the running daemon (e.g. republicd) |
-t | target-block | Block height at which the upgrade should happen |
-n | new-binary-path | Full path to the new binary |
-p | install-path | Path where the current binary is installed (default: $HOME/go/bin) |
-r | rpc-url | RPC endpoint used to monitor current block height |
-i | proposal-id | (Optional) Proposal ID to validate governance status |
-a | api-url | (Optional) API endpoint used to fetch proposal status |
