https://uptick-mainnet-rpc.nodesrun.xyz
https://uptick-mainnet-api.nodesrun.xyz
https://uptick-mainnet-grpc.nodesrun.xyz
https://uptick-mainnet-jsonrpc.nodesrun.xyz
sudo systemctl stop uptickd
cp $HOME/.uptickd/data/priv_validator_state.json $HOME/.uptickd/priv_validator_state.json.backup
uptickd tendermint unsafe-reset-all --home $HOME/.uptickd
peers="dd482d080820020b144ca2efaf128d78261dea82@uptick-mainnet-peer.itrocket.net:10656,5f371e4c7e40292fdc4bfc9f092798db55263aee@65.109.88.162:15656,0086f63d6186eb8d9ef1f42cfea6aa98ea4c9423@158.160.62.33:26656,14ca9d73314dd519bc0b0be8511c88f85fe6873e@46.4.81.204:17656,957925bb446e1047377502e96cdf83b53c0dc155@51.89.98.102:55056,2c33d25bf90c3441cbf9535e57612dd1bcd739ca@94.130.207.215:15656,c21eeb897d3fa45a81772b56038045d1d873252e@142.132.199.236:30656,1e818e2244c9ba2ea3de0d6d7788b50a0d1c4812@116.202.217.20:60756,6b313642427e12a454bd5dc2d6d85555858031b0@209.133.208.234:15656,8fd0ad7325a6ef6aa6cc71c941c431474b7ab31c@37.187.144.187:28656,f058de92328b5a1ac44f45a4cd96850ebbca85bd@185.144.99.248:26656,ef9af846dcb2d25e7ccf5f7975a6d5d51fa01477@5.9.138.213:26656,8fbfb8bff5d783df53b9ee95ab6b6e7ff708f280@65.108.134.215:32656,f5224d6a57ec518cd427732de1e1d55732e91640@138.201.21.62:15656,e8704845eaa0f3d39fcdc9c4065f3beb344384db@142.132.152.46:27656,71f6b583a3e4ed79e6f564c57b2a67cdd05fe6a4@65.21.63.225:11556,ea83a93c2878af90d034138fc5026218fb89d0d2@69.197.19.36:21656,37e4491bd756cf0ae5281c6f0da4bdcefe723eba@135.181.109.175:15656,46900f4eb164f31967963544e4d9e7aac0d08a08@107.155.125.186:15656,f20528fa060f5ec37d21f70ea4948c7edfc2423c@135.181.231.112:36656,7a320021212d346a7e8bfd5926feb4b307e7f69b@5.9.147.22:26556,3400822d9d44aca0c3f5ab5f3c5c1fc022c1507a@65.109.92.235:11096,3c40625cd7a8da2f27b178c1e69bcf2f1d4261a4@65.108.232.168:34656,94b63fddfc78230f51aeb7ac34b9fb86bd042a77@142.132.134.181:30601,1880fa676618c21760a10a736ffae185aea96f05@116.203.157.163:26656,d657c764d652b8d63f3d3c16af721b4254a92a12@65.108.46.100:26656,7d7842acc423e6799d32cf78d7072d77450b11a1@65.109.104.118:60956,b2bcb66f270153791b19e16ff23ddfec096f7097@142.132.202.50:41656,34d86f3a8dfce7d8b615563c587433c65792f104@185.219.142.221:15656,ca698c533f814da69d2ad5ecd889b5790a189d05@184.174.36.212:36656,29269b318b35005b4ac39d010cbc3c41a5ab0833@185.144.99.33:26656"
SNAP_RPC="https://uptick-mainnet-rpc.itrocket.net:443"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.uptickd/config/config.toml
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height);
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000));
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH && sleep 2
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ;
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ;
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ;
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ;
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.uptickd/config/config.toml
mv $HOME/.uptickd/priv_validator_state.json.backup $HOME/.uptickd/data/priv_validator_state.json
sudo systemctl restart uptickd && sudo journalctl -u uptickd -f
sudo systemctl stop uptickd
cp $HOME/.uptickd/data/priv_validator_state.json $HOME/.uptickd/priv_validator_state.json.backup
rm -rf $HOME/.uptickd/data
curl https://mainnet-files.itrocket.net/uptick/snap_uptick.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.uptickd
mv $HOME/.uptickd/priv_validator_state.json.backup $HOME/.uptickd/data/priv_validator_state.json
sudo systemctl restart uptickd && sudo journalctl -u uptickd -f
dd482d080820020b144ca2efaf128d78261dea82@uptick-mainnet-peer.itrocket.net:10656
e71bae28852a0b603f7360ec17fe91e7f065f324@uptick-mainnet-seed.itrocket.net:35656
PEERS="dd482d080820020b144ca2efaf128d78261dea82@uptick-mainnet-peer.itrocket.net:10656,5f371e4c7e40292fdc4bfc9f092798db55263aee@65.109.88.162:15656,0086f63d6186eb8d9ef1f42cfea6aa98ea4c9423@158.160.62.33:26656,14ca9d73314dd519bc0b0be8511c88f85fe6873e@46.4.81.204:17656,957925bb446e1047377502e96cdf83b53c0dc155@51.89.98.102:55056,2c33d25bf90c3441cbf9535e57612dd1bcd739ca@94.130.207.215:15656,c21eeb897d3fa45a81772b56038045d1d873252e@142.132.199.236:30656,1e818e2244c9ba2ea3de0d6d7788b50a0d1c4812@116.202.217.20:60756,6b313642427e12a454bd5dc2d6d85555858031b0@209.133.208.234:15656,8fd0ad7325a6ef6aa6cc71c941c431474b7ab31c@37.187.144.187:28656,f058de92328b5a1ac44f45a4cd96850ebbca85bd@185.144.99.248:26656,ef9af846dcb2d25e7ccf5f7975a6d5d51fa01477@5.9.138.213:26656,8fbfb8bff5d783df53b9ee95ab6b6e7ff708f280@65.108.134.215:32656,f5224d6a57ec518cd427732de1e1d55732e91640@138.201.21.62:15656,e8704845eaa0f3d39fcdc9c4065f3beb344384db@142.132.152.46:27656,71f6b583a3e4ed79e6f564c57b2a67cdd05fe6a4@65.21.63.225:11556,ea83a93c2878af90d034138fc5026218fb89d0d2@69.197.19.36:21656,37e4491bd756cf0ae5281c6f0da4bdcefe723eba@135.181.109.175:15656,46900f4eb164f31967963544e4d9e7aac0d08a08@107.155.125.186:15656,f20528fa060f5ec37d21f70ea4948c7edfc2423c@135.181.231.112:36656,7a320021212d346a7e8bfd5926feb4b307e7f69b@5.9.147.22:26556,3400822d9d44aca0c3f5ab5f3c5c1fc022c1507a@65.109.92.235:11096,3c40625cd7a8da2f27b178c1e69bcf2f1d4261a4@65.108.232.168:34656,94b63fddfc78230f51aeb7ac34b9fb86bd042a77@142.132.134.181:30601,1880fa676618c21760a10a736ffae185aea96f05@116.203.157.163:26656,d657c764d652b8d63f3d3c16af721b4254a92a12@65.108.46.100:26656,7d7842acc423e6799d32cf78d7072d77450b11a1@65.109.104.118:60956,b2bcb66f270153791b19e16ff23ddfec096f7097@142.132.202.50:41656,34d86f3a8dfce7d8b615563c587433c65792f104@185.219.142.221:15656,ca698c533f814da69d2ad5ecd889b5790a189d05@184.174.36.212:36656,29269b318b35005b4ac39d010cbc3c41a5ab0833@185.144.99.33:26656"
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.uptickd/config/config.toml
wget -O $HOME/.uptickd/config/addrbook.json https://mainnet-files.itrocket.net/uptick/addrbook.json
Sign in to your account