Welcome to validator AlxVoy ⚡ ANODE.TEAM



Quicksilver

Links

Mainnet service

Explorers

Sync

RPC & API

Peers and seeds

Genesis and addrbook

Wasm

Service script (Install, State-Sync, Snapshot, Delete)

wget -O Quicksilver.sh https://anode.team/Quicksilver/main/Quicksilver.sh && chmod u+x Quicksilver.sh && ./Quicksilver.sh

Installation

Software Requirements

  • Prerequisite: go1.21+ required. ref
  • Prerequisite: git. ref

Install last binary

git clone https://github.com/ingenuity-build/quicksilver
cd quicksilver
git checkout v1.5.4
make install

Init the config files

quicksilverd init <moniker> --chain-id quicksilver-2
quicksilverd config chain-id quicksilver-2

Create a wallet

quicksilverd keys add <wallet_name>

Download genesis and addrbook

curl https://anode.team/Quicksilver/main/genesis.json > ~/.quicksilverd/config/genesis.json
curl https://anode.team/Quicksilver/main/addrbook.json > ~/.quicksilverd/config/addrbook.json

Add peers, seed

SEEDS="20e1000e88125698264454a884812746c2eb4807@seeds.lavenderfive.com:11156,babc3f3f7804933265ec9c40ad94f4da8e9e0017@seed.rhinostake.com:11156"
PEERS="6053a39e67c6bae83430e354f53d99e160e4964b@65.109.28.177:28656"
sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.quicksilverd/config/config.toml

Add min gas

sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.0001uqck\"/" $HOME/.quicksilverd/config/app.toml

Create the service file

sudo tee /etc/systemd/system/quicksilverd.service > /dev/null <<EOF
[Unit]
Description=Quicksilver
After=network-online.target

[Service]
User=$USER
ExecStart=$(which quicksilverd) start
Restart=always
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target
EOF

Load service and start

sudo systemctl daemon-reload && sudo systemctl enable quicksilverd
sudo systemctl restart quicksilverd && journalctl -fu quicksilverd -o cat

Create Validator

quicksilverd tx staking create-validator \
  --amount=1000000uqck \
  --pubkey=$(quicksilverd tendermint show-validator) \
  --moniker="<moniker>" \
  --identity="<identity>" \
  --website="<website>" \
  --details="<details>" \
  --security-contact="<contact>" \
  --chain-id="quicksilver-2" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --fees="100uqck" \
  --gas 300000 \
  --from=<wallet_name>

State-Sync

SNAP_RPC=https://quicksilver.rpc.m.anode.team:443 && \
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
wget https://anode.team/unsafe-reset-all.sh && chmod u+x unsafe-reset-all.sh && ./unsafe-reset-all.sh quicksilverd quicksilverd
peers="6053a39e67c6bae83430e354f53d99e160e4964b@65.109.28.177:28656"
sed -i.bak -e  "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.quicksilverd/config/config.toml
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
curl -o - -L https://anode.team/Quicksilver/main/anode.team_quicksilver_wasm.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.quicksilverd/data/
sudo systemctl restart quicksilverd && journalctl -fu quicksilverd -o cat

SnapShot (every 6 hours)

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://anode.team/Quicksilver/main/anode.team_quicksilver.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.quicksilverd
curl -o - -L https://anode.team/Quicksilver/main/anode.team_quicksilver_wasm.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.quicksilverd/data/
mv $HOME/.quicksilverd/priv_validator_state.json.backup $HOME/.quicksilverd/data/priv_validator_state.json && \
sudo systemctl restart quicksilverd && journalctl -fu quicksilverd -o cat

Testnet service

Explorers

Sync

RPC & API

Peers and seeds

Genesis and addrbook

Wasm

Service script (Install, State-Sync, Snapshot, Delete)

wget -O Quicksilver.sh https://anode.team/Quicksilver/test/Quicksilver.sh && chmod u+x Quicksilver.sh && ./Quicksilver.sh

Installation

Software Requirements

  • Prerequisite: go1.21+ required. ref
  • Prerequisite: git. ref

Install last binary

git clone https://github.com/ingenuity-build/quicksilver
cd quicksilver
git checkout v1.5.3
make install

Init the config files

quicksilverd init <moniker> --chain-id rhye-2
quicksilverd config chain-id rhye-2

Create a wallet

quicksilverd keys add <wallet_name>

Download genesis and addrbook

curl https://anode.team/Quicksilver/test/genesis.json > ~/.quicksilverd/config/genesis.json
curl https://anode.team/Quicksilver/test/addrbook.json > ~/.quicksilverd/config/addrbook.json

Add peers, seed

SEEDS=""
PEERS="e6bf55bc9f08958b7518bea455423375db78d1ef@65.108.13.176:26656,8e14e58b054248a04be96e4a40d6359e93b636ac@65.108.65.94:26656,5a3c424c19d9ab694190a7805a2b1a146460d752@65.108.2.27:26656"
sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.quicksilverd/config/config.toml

Add min gas

sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.0001uqck\"/" $HOME/.quicksilverd/config/app.toml

Create the service file

sudo tee /etc/systemd/system/quicksilverd.service > /dev/null <<EOF
[Unit]
Description=Quicksilver
After=network-online.target

[Service]
User=$USER
ExecStart=$(which quicksilverd) start
Restart=always
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target
EOF

Load service and start

sudo systemctl daemon-reload && sudo systemctl enable quicksilverd
sudo systemctl restart quicksilverd && journalctl -fu quicksilverd -o cat

Create Validator

quicksilverd tx staking create-validator \
  --amount=1000000uqck \
  --pubkey=$(quicksilverd tendermint show-validator) \
  --moniker="<moniker>" \
  --identity="<identity>" \
  --website="<website>" \
  --details="<details>" \
  --security-contact="<contact>" \
  --chain-id="rhye-2" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --fees="100uqck" \
  --gas 300000 \
  --from=<wallet_name>

State-Sync

SNAP_RPC=https://quicksilver.rpc.t.anode.team:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1500)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
wget https://anode.team/unsafe-reset-all.sh && chmod u+x unsafe-reset-all.sh && ./unsafe-reset-all.sh quicksilverd quicksilverd
peers="cbf6e3e751d08af259b3181ecc142f57a7166662@65.109.93.152:35656"
sed -i.bak -e  "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.quicksilverd/config/config.toml
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
curl -o - -L https://anode.team/Quicksilver/test/anode.team_quicksilver_wasm.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.quicksilverd/data/
sudo systemctl restart quicksilverd && journalctl -fu quicksilverd -o cat