Created
October 6, 2022 00:17
-
-
Save YazzyYaz/414e84e369b1fe1b868ab1b1f8ea4574 to your computer and use it in GitHub Desktop.
Initializes wordle with different rollmint and golang versions for testing commands
This file contains 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 | |
#gover="1.19.1" | |
#gover="1.18.2" | |
#rollmintver="v0.45.4-optimint-v0.3.5" | |
#rollmintver="v0.45.4-optimint-v0.3.4" | |
#rollmintver="v0.45.4-optimint-v0.3.3" | |
rollmintver="v0.44.5-optimint-v0.3.3" | |
# Install Golang | |
#cd $HOME | |
#wget "https://golang.org/dl/go$gover.linux-amd64.tar.gz" | |
#sudo rm -rf /usr/local/go | |
#sudo tar -C /usr/local -xzf "go$gover.linux-amd64.tar.gz" | |
#rm "go$gover.linux-amd64.tar.gz" | |
# Install Ignite | |
#curl https://get.ignite.com/cli | bash | |
#sudo mv ignite /usr/local/bin/ | |
# Scaffold Wordle | |
cd $HOME | |
rm -rf wordle/ | |
ignite scaffold chain github.com/YazzyYaz/wordle --no-module | |
cd wordle | |
# Install Optimint | |
go mod edit -replace github.com/cosmos/cosmos-sdk=github.com/celestiaorg/cosmos-sdk | |
@$rollmintver | |
go mod tidy | |
go mod download | |
# Test Scaffolding | |
ignite scaffold module wordle --dep bank |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment