Skip to content

Instantly share code, notes, and snippets.

@dzianisv
Created July 14, 2023 07:33
Show Gist options
  • Select an option

  • Save dzianisv/bcfe414ac15f0f0dc6e1056f1a54e027 to your computer and use it in GitHub Desktop.

Select an option

Save dzianisv/bcfe414ac15f0f0dc6e1056f1a54e027 to your computer and use it in GitHub Desktop.
Install and configure stride validator
#!/bin/sh
set -eu
if [ ! stride ]; then
git clone https://github.com/Stride-Labs/stride
fi
cd stride
git checkout v11.0.0
make install
stride init cb-cloud --chain-id stride-1
strided tendermint unsafe-reset-all --home $HOME/.stride --keep-addr-book
curl -o - -L https://snapshots.polkachu.com/snapshots/stride/stride_4522456.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.stride
curl https://snapshots.polkachu.com/genesis/stride/genesis.json > ~/.stride/config/genesis.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment