Node Installation
Hardware requirements The following requirements are recommended for running QUICKSILVER:
6 or more physical CPU cores
At least 1TB of SSD disk storage
At least 16GB of memory (RAM)
At least 500mbps network bandwidth
Manual Installation
# Update & install dependencies
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 htop tmux chrony liblz4-tool fail2ban -y
# Install Go
cd $HOME
VER="1.23.4"
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"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source $HOME/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/bin
go version
# Set Vars
MONIKER=<YOUR_MONIKER_NAME_GOES_HERE>
echo "export MONIKER=$MONIKER" >> $HOME/.bash_profile
echo "export QUICKSILVER_CHAIN_ID="quicksilver-2"" >> $HOME/.bash_profile
echo "export QUICKSILVER_PORT="115"" >> $HOME/.bash_profile
source $HOME/.bash_profile
# Download Binary
cd $HOME
wget -O quicksilverd https://github.com/quicksilver-zone/quicksilver/releases/download/v1.7.5/quicksilverd-v1.7.5-amd64
chmod +x quicksilverd
mv $HOME/quicksilverd $HOME/go/bin/quicksilverd
# Config and Init App
quicksilverd config node tcp://localhost:${QUICKSILVER_PORT}57
quicksilverd config chain-id $QUICKSILVER_CHAIN_ID
quicksilverd init $MONIKER --chain-id $QUICKSILVER_CHAIN_ID
# Add Genesis File and Addrbook
wget -O $HOME/.quicksilverd/config/genesis.json https://snapshot.syanodes.my.id/mainnets/quicksilver/genesis.json
wget -O $HOME/.quicksilverd/config/addrbook.json https://snapshot.syanodes.my.id/mainnets/quicksilver/addrbook.json
#Configure Seeds and Peers
SEEDS=""
PEERS="[email protected]:36656,[email protected]:25656,[email protected]:61156,[email protected]:11156,[email protected]:26656,[email protected]:26656,[email protected]:36656,[email protected]:26736,[email protected]:26656,[email protected]:26656,[email protected]:26672,[email protected]:48656,[email protected]:11256,[email protected]:46656,[email protected]:26556,[email protected]:46656,[email protected]:26656,[email protected]:2000,[email protected]:48656,[email protected]:11156,[email protected]:38656,[email protected]:26656,[email protected]:26633,[email protected]:26633,[email protected]:28656,[email protected]:32656,[email protected]:11156,[email protected]:26656,[email protected]:27026,[email protected]:11156,[email protected]:26654,[email protected]:60656,[email protected]:21026,[email protected]:26656,[email protected]:36656,[email protected]:26656,[email protected]:47656,[email protected]:31126,[email protected]:26656,[email protected]:11156,[email protected]:26656"
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.quicksilverd/config/config.toml
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.00025uqck\"/" $HOME/.quicksilverd/config/app.toml
sed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.quicksilverd/config/config.toml
sed -i 's|^prometheus *=.*|prometheus = true|' $HOME/.quicksilverd/config/config.toml
# Config Pruning
pruning="custom"
pruning_keep_recent="100"
pruning_keep_every="0"
pruning_interval="10"
sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.quicksilverd/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.quicksilverd/config/app.toml
sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.quicksilverd/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.quicksilverd/config/app.toml
# Set Custom Port
sed -i -e "s%:1317%:${QUICKSILVER_PORT}17%; s%:8080%:${QUICKSILVER_PORT}80%; s%:9090%:${QUICKSILVER_PORT}90%; s%:9091%:${QUICKSILVER_PORT}91%; s%:8545%:${QUICKSILVER_PORT}45%; s%:8546%:${QUICKSILVER_PORT}46%; s%:6065%:${QUICKSILVER_PORT}65%" $HOME/.quicksilverd/config/app.toml
sed -i -e "s%:26658%:${QUICKSILVER_PORT}58%; s%:26657%:${QUICKSILVER_PORT}57%; s%:6060%:${QUICKSILVER_PORT}60%; s%:26656%:${QUICKSILVER_PORT}56%; s%:26660%:${QUICKSILVER_PORT}61%" $HOME/.quicksilverd/config/config.toml
# Set Service File
sudo tee /etc/systemd/system/quicksilverd.service > /dev/null <<EOF
[Unit]
Description=quicksilver-mainnet
After=network-online.target
[Service]
User=$USER
ExecStart=$(which quicksilverd) start --home $HOME/.quicksilverd
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
# Enable and Start Service
sudo systemctl daemon-reload
sudo systemctl enable quicksilverd
sudo systemctl start quicksilverd && sudo journalctl -fu quicksilverd -o cat
Auto Installation
wget https://snapshot.syanodes.my.id/auto/mainnet/quicksilver_auto && chmod +x quicksilver_auto && ./quicksilver_auto
Last updated