Quicksilver lets users stake their tokens with their desired staking provider and issues a token that provides liquidity – all while remaining separate from the staking provider.
quicksilverd keys add
quicksilverd keys add --recover
quicksilverd keys list
quicksilverd keys delete
quicksilverd keys export
quicksilverd keys import .backup
quicksilverd q bank balances $(quicksilverd keys show -a)
sudo journalctl -u quicksilverd -f --no-hostname -o cat
sudo systemctl start quicksilverd
sudo systemctl stop quicksilverd
sudo systemctl restart quicksilverd
sudo systemctl status quicksilverd
sudo systemctl daemon-reload
sudo systemctl enable quicksilverd
sudo systemctl disable quicksilverd
quicksilverd status 2>&1 | jq .SyncInfo
echo $(quicksilverd tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.quicksilverd/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
curl -sS http://localhost:657/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}'
quicksilverd tx staking create-validator \
--amount=000000uqck \
--moniker="" \
--pubkey=$(quicksilverd tendermint show-validator) \
--identity="" \
--details="" \
--website="" \
--security-contact= \
--chain-id=quicksilver-2 \
--commission-rate=0. \
--commission-max-rate=0.20 \
--commission-max-change-rate=0. \
--min-self-delegation=1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"
quicksilverd tx staking edit-validator \
--new-moniker="" \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck" -yquicksilverd tx staking edit-validator \
--identity="" \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--details="" \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--commission-rate=0. \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--new-moniker="" \
--identity="" \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--new-moniker="" \
--details="" \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--new-moniker="" \
--commission-rate=0. \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--identity="" \
--details="" \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--identity="" \
--commission-rate=0. \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--details="" \
--commission-rate=0. \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--new-moniker="" \
--identity="" \
--commission-rate=0. \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--new-moniker="" \
--details="" \
--commission-rate=0. \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--identity="" \
--details="" \
--commission-rate=0. \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--commission-rate=0. \
--chain-id=quicksilver-2 \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"quicksilverd tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--website="" \
--security-contact= \
--chain-id=quicksilver-2 \
--commission-rate=0. \
--from= \
--gas-adjustment="1.4" \
--fees="5000uqck"
quicksilverd status 2>&1 | jq .ValidatorInfo
quicksilverd q staking validator $(quicksilverd keys show --bech val -a)
quicksilverd q slashing signing-info $(quicksilverd tendermint show-validator)
quicksilverd tx slashing unjail --broadcast-mode=block --from --chain-id quicksilver-2 --gas-adjustment="1.4" --fees="5000uqck"
quicksilverd q staking validators -oj --limit=2000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " " + .description.moniker' | sort -gr | nl
[[ $(quicksilverd q staking validator $(quicksilverd keys show --bech val -a) -oj | jq -r .consensus_pubkey.key) = $(quicksilverd status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
quicksilverd q slashing signing-info $(quicksilverd tendermint show-validator)
quicksilverd tx distribution withdraw-all-rewards --from --chain-id quicksilver-2 --gas-adjustment="1.4" --fees="5000uqck"
quicksilverd tx distribution withdraw-rewards $(quicksilverd keys show --bech val -a) --commission --from --chain-id quicksilver-2 --gas-adjustment="1.4" --fees="5000uqck"
quicksilverd tx staking delegate $(quicksilverd keys show --bech val -a) 000000uqck --from --chain-id quicksilver-2 --gas-adjustment="1.4" --fees="5000uqck"
quicksilverd tx staking redelegate $(quicksilverd keys show --bech val -a) 000000uqck --from --chain-id quicksilver-2 --gas-adjustment="1.4" --fees="5000uqck"
quicksilverd tx staking delegate 000000uqck --from --chain-id quicksilver-2 --gas-adjustment="1.4" --fees="5000uqck"
quicksilverd tx staking unbond $(quicksilverd keys show --bech val -a) 000000uqck --from --chain-id quicksilver-2 --gas-adjustment="1.4" --fees="5000uqck"
quicksilverd tx bank send 000000uqck --from --chain-id quicksilver-2 --gas-adjustment="1.4" --fees="5000uqck"
quicksilverd query gov proposal
quicksilverd tx gov vote --from --chain-id quicksilver-2 --gas-adjustment="1.4" --fees="5000uqck"
CUSTOM_PORT=
sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${CUSTOM_PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${CUSTOM_PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${CUSTOM_PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${CUSTOM_PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${CUSTOM_PORT}660\"%" $HOME/.quicksilverd/config/config.toml
sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${CUSTOM_PORT}317\"%; s%^address = \":8080\"%address = \":${CUSTOM_PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${CUSTOM_PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${CUSTOM_PORT}091\"% " $HOME/.quicksilverd/config/app.toml
sed -i -e 's|^indexer *=.*|indexer = "kv"|' $HOME/.quicksilverd/config/config.toml
sed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.quicksilverd/config/config.toml
quicksilverd tendermint unsafe-reset-all --home $HOME/.quicksilverd --keep-addr-book
sudo systemctl stop quicksilverd && \
sudo systemctl disable quicksilverd && \
rm /etc/systemd/system/quicksilverd.service && \
sudo systemctl daemon-reload && \
cd $HOME && \
rm -rf .quicksilverd && \
rm -rf $(which quicksilverd)
wget -O $HOME/.quicksilverd/config/genesis.json "https://snapshots.kynraze.com/file/quicksilver/genesis.json"
wget -O $HOME/.quicksilverd/config/addrbook.json "https://snapshots.kynraze.com/file/quicksilver/addrbook.json"
PEERS=
sed -i -e "s|^persistent_peers *=.*|persistent_peers = "$PEERS"|" $HOME/.quicksilverd/config/config.toml
Coming Soon
QUICKSILVER
_NODENAME="
"
echo "export
QUICKSILVER_NODENAME=$QUICKSILVER_NODENAME" >> $HOME/.bash_profile
if [ ! $WALLET ]; then
echo "export WALLET=wallet" >> $HOME/.bash_profile
fi
echo "export
QUICKSILVER_CHAIN_ID=quicksilver-2" >> $HOME/.bash_profile
source $HOME/.bash_profile
sudo apt update && sudo apt upgrade -y && sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y
ver="
1.20"
cd $HOME
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
source ~/.bash_profile
go version
git clone https://github.com/ingenuity-build/quicksilver.git cd quicksilver git checkout v1.6.2 make install
quicksilverd version
--long
CUSTOM_PORT=
sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${CUSTOM_PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${CUSTOM_PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${CUSTOM_PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${CUSTOM_PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${CUSTOM_PORT}660\"%"
$HOME/.quicksilverd/config/config.tomlsed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${CUSTOM_PORT}317\"%; s%^address = \":8080\"%address = \":${CUSTOM_PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${CUSTOM_PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${CUSTOM_PORT}091\"%
"
$HOME/.quicksilverd/config/app.toml
quicksilverd config chain-id $QUICKSILVER_CHAIN_ID quicksilverd config keyring-backend file quicksilverd config node tcp://localhost:657
quicksilverd init $QUICKSILVER_NODENAME
--chain-id
$QUICKSILVER_CHAIN_ID
wget -O $HOME/.quicksilverd/config/genesis.json "https://snapshots.kynraze.com/file/quicksilver/genesis.json"
wget -O $HOME/.quicksilverd/config/addrbook.json "https://snapshots.kynraze.com/file/quicksilver/addrbook.json"
PEERS="
"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/
.quicksilverd/config/config.tomlsed -i -e "s|^seeds *=.*|seeds = \"
\"|" $HOME/
.quicksilverd/config/config.toml
pruning="custom"
pruning_keep_recent="100"
pruning_keep_every="0"
pruning_interval="10"
sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/
.quicksilverd/config/app.tomlsed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/
.quicksilverd/config/app.tomlsed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/
.quicksilverd/config/app.tomlsed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/
.quicksilverd/config/app.toml
sudo tee /etc/systemd/system/
quicksilverd.service > /dev/null << EOF
[Unit]
Description=
quicksilverdAfter=network-online.target
[Service]
User=$USER
ExecStart=$(which
quicksilverd)start --home $HOME/
.quicksilverdRestart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
curl -o - -L
https://snapshots.kynraze.com/quicksilver/snapshot-latest.tar.lz4| lz4 -c -d - | tar -x -C $HOME/
.quicksilverd
sudo systemctl daemon-reload
sudo systemctl enable
quicksilverdsudo systemctl restart
quicksilverdsudo journalctl -fu
quicksilverd-o cat
# Update & install lz4(Required)
sudo apt install snapd lz4 -y
# Reset Chain Data
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" $HOME/.quicksilverd/config/config.toml
sudo systemctl stop quicksilverd
cp $HOME/.quicksilverd/data/priv_validator_state.json $HOME/.quicksilverd/priv_validator_state.json.backup
rm -rf $HOME/.quicksilverd/data
# Download Data Snapshot
curl -o - -L https://snapshots.kynraze.com/quicksilver/snapshot-latest.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.quicksilverd
mv $HOME/.quicksilverd/priv_validator_state.json.backup $HOME/.quicksilverd/data/priv_validator_state.json
# Restart
sudo systemctl restart quicksilverd
sudo journalctl -fu quicksilverd -o cat
systemctl stop quicksilverd
quicksilverd tendermint unsafe-reset-all --home $HOME/.quicksilverd --keep-addr-book
STATE_SYNC_RPC=""
LATEST_HEIGHT=$(curl -s $STATE_SYNC_RPC/block | jq -r .result.block.header.height) \
SYNC_BLOCK_HEIGHT=$(($LATEST_HEIGHT - 2000)) \
SYNC_BLOCK_HASH=$(curl -s "$STATE_SYNC_RPC/block?height=$SYNC_BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $SYNC_BLOCK_HEIGHT $SYNC_BLOCK_HASH
PEERS=""
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.quicksilverd/config/config.toml
sed -i.bak -e "s|^enable *=.*|enable = true|" $HOME/.quicksilverd/config/config.toml
sed -i.bak -e "s|^rpc_servers *=.*|rpc_servers = \"$STATE_SYNC_RPC,$STATE_SYNC_RPC\"|" \
$HOME/.quicksilverd/config/config.toml
sed -i.bak -e "s|^trust_height *=.*|trust_height = $SYNC_BLOCK_HEIGHT|" \
$HOME/.quicksilverd/config/config.toml
sed -i.bak -e "s|^trust_hash *=.*|trust_hash = \"$SYNC_BLOCK_HASH\"|" \
$HOME/.quicksilverd/config/config.toml
systemctl restart quicksilverd && journalctl -fu quicksilverd -o cat