Quicksilver  "rhye-1" Guides / Snapshot services 

 

RPC  https://quick-testnet-rpc.theamsolutions.info  | API  https://quick-testnet-api.theamsolutions.info
Explorer https://explorer.theamsolutions.info

 
INSTRUCTIONS
 
 

Install GO & Dependencies  HERE

Install binaries & Run node.

git clone https://github.com/ingenuity-build/quicksilver.git
cd quicksilver
ver=$(curl -s https://quick-testnet-rpc.theamsolutions.info/abci_info | jq -r ."result"."response"."version")
git checkout ${ver}
make install

quicksilverd init <nodename> --chain-id rhye-2

wget -qO $HOME/.quicksilverd/config/genesis.json https://raw.githubusercontent.com/ingenuity-build/testnets/main/rhye-2/genesis.json

quicksilverd tendermint unsafe-reset-all --home $HOME/.quicksilverd

sudo tee /etc/systemd/system/quicksilverd.service > /dev/null <<EOF
[Unit]
Description=Quicksilver-Test
After=network.target
[Service]
Type=simple
User=$USER
ExecStart=$(which quicksilverd) start
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF

wget -q -O $HOME/.quicksilverd/config/addrbook.json https://snapshots.theamsolutions.info/quick-test-addrbook.json

sudo systemctl enable quicksilverd
sudo systemctl daemon-reload
sudo systemctl restart quicksilverd.service 
sudo journalctl -u quicksilverd.service -fn 50 -o cat


VIA STATE SYNC
 

sudo systemctl stop quicksilverd.service; \
quicksilverd tendermint unsafe-reset-all --home $HOME/.quicksilverd; \
wget -q -O $HOME/.quicksilverd/config/addrbook.json https://snapshots.theamsolutions.info/quick-test-addrbook.json

SNAP_RPC="https://quick-testnet-rpc.theamsolutions.info:443"; \
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

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\"|" $HOME/.quicksilverd/config/config.toml

sudo systemctl daemon-reload && sudo systemctl enable quicksilverd.service \
sudo systemctl restart quicksilverd.service
sudo journalctl -u quicksilverd.service -f -o cat

 

 DATA SNAPSHOT

#check snapshot height  : curl -s https://snapshots.theamsolutions.info | egrep -o ">quick-test-snap*.*tar" | tr -d ">"

snap=$(curl -s https://snapshots.theamsolutions.info | egrep -o ">quick-test-snap*.*tar" | tr -d ">")
wget -P $HOME https://snapshots.theamsolutions.info/${snap}
sudo systemctl stop quicksilverd
mv $HOME/.quicksilverd/data/priv_validator_state.json $HOME
rm -rf  $HOME/.quicksilverd/data
tar xf $HOME/${snap} -C $HOME/.quicksilverd 
rm $HOME/${snap}
mv $HOME/priv_validator_state.json $HOME/.quicksilverd/data
wget -q -O $HOME/.quicksilverd/config/addrbook.json https://snapshots.theamsolutions.info/quick-test-addrbook.json
sudo systemctl restart quicksilverd
journalctl -u quicksilverd -fn 50 -o cat

 

GOOD LUCK!

 

 

AM Solutions © Copyright. All rights reserved.

We need your consent to load the translations

We use a third-party service to translate the website content that may collect data about your activity. Please review the details in the privacy policy and accept the service to view the translations.