StateSync Quicksilver Mainnet
Copy SNAP_RPC = https://quick.rpc.m.stavr.tech:443
peers = "f2846ba84070d3fdc21c09ef44bac4eeed2f8722@quick.peers.stavr.tech:21026"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME /.quicksilverd/config/config.toml
LATEST_HEIGHT = $( curl -s $SNAP_RPC /block | jq -r .result.block.header.height ); \
BLOCK_HEIGHT = $(( LATEST_HEIGHT - 300 )); \
TRUST_HASH = $( curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash )
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
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 /.quicksilverd/config/config.toml
quicksilverd tendermint unsafe-reset-all --home $HOME /.quicksilverd
wget -O $HOME/.quicksilverd/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Quicksilver/addrbook.json"
systemctl restart quicksilverd && sudo journalctl -fu quicksilverd -o cat
SnapShot Mainnet - updated every 5 hours
Copy cd $HOME
apt install lz4
sudo systemctl stop quicksilverd
cp $HOME /.quicksilverd/data/priv_validator_state.json $HOME /.quicksilverd/priv_validator_state.json.backup
rm -rf $HOME /.quicksilverd/data
curl -o - -L https://quick.snapshot.stavr.tech/quick-snap.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.quicksilverd --strip-components 2
mv $HOME /.quicksilverd/priv_validator_state.json.backup $HOME /.quicksilverd/data/priv_validator_state.json
wget -O $HOME/.quicksilverd/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Quicksilver/addrbook.json"
systemctl restart quicksilverd && sudo journalctl -fu quicksilverd -o cat
StateSync Quicksilver Testnet
Copy SNAP_RPC = https://quick.rpc.t.stavr.tech:443
peers = "b3b0b1dfa5feb35b6ed88f409c2e9182784e122c@quickt.peers.stavr.tech:20026"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME /.quicksilverd/config/config.toml
LATEST_HEIGHT = $( curl -s $SNAP_RPC /block | jq -r .result.block.header.height ); \
BLOCK_HEIGHT = $(( LATEST_HEIGHT - 100 )); \
TRUST_HASH = $( curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash )
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
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\"\"|" ~/.quicksilverd/config/config.toml
quicksilverd tendermint unsafe-reset-all --home $HOME /.quicksilverd
wget -O $HOME/.quicksilverd/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Quicksilver/Testnet/addrbook.json"
systemctl restart quicksilverd && sudo journalctl -fu quicksilverd -o cat
SnapShot Testnet - updated every 5 hours
Copy cd $HOME
apt install lz4
sudo systemctl stop quicksilverd
cp $HOME /.quicksilverd/data/priv_validator_state.json $HOME /.quicksilverd/priv_validator_state.json.backup
rm -rf $HOME /.quicksilverd/data
curl -o - -L https://quickt.snapshot.stavr.tech/quickt-snap.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.quicksilverd --strip-components 2
mv $HOME /.quicksilverd/priv_validator_state.json.backup $HOME /.quicksilverd/data/priv_validator_state.json
wget -O $HOME/.quicksilverd/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Quicksilver/Testnet/addrbook.json"
sudo systemctl restart quicksilverd && journalctl -fu quicksilverd -o cat
Copy f2846ba84070d3fdc21c09ef44bac4eeed2f8722@quick.peers.stavr.tech:21026
Copy b3b0b1dfa5feb35b6ed88f409c2e9182784e122c@quickt.peers.stavr.tech:20026
Copy wget -O $HOME/.quicksilverd/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Quicksilver/addrbook.json"
Copy wget -O $HOME/.quicksilverd/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Quicksilver/Testnet/addrbook.json"
Copy wget -L -O $HOME/.quicksilverd/config/genesis.json "https://raw.githubusercontent.com/111STAVR111/props/main/Quicksilver/genesis.json"
Copy wget -L -O $HOME/.quicksilverd/config/genesis.json "https://raw.githubusercontent.com/111STAVR111/props/main/Quicksilver/Testnet/genesis.json"
Copy wget -O quick https://raw.githubusercontent.com/111STAVR111/props/main/Quicksilver/quick && chmod +x quick && ./quick
Copy wget -O quicktest https://raw.githubusercontent.com/111STAVR111/props/main/Quicksilver/Testnet/quicktest && chmod +x quicktest && ./quicktest