Created
July 14, 2023 07:33
-
-
Save dzianisv/bcfe414ac15f0f0dc6e1056f1a54e027 to your computer and use it in GitHub Desktop.
Install and configure stride validator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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