Created
March 23, 2021 23:03
-
-
Save clevinson/6c79e9b193e4b63a1cc35a82e240d276 to your computer and use it in GitHub Desktop.
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
alias simd='/path/to/simd' | |
SIMD_HOME=$(pwd)/.simd | |
CHAIN_ID=test-chain | |
##### Setup moniker, chain, homedir | |
simd init cory --chain-id $CHAIN_ID --home $SIMD_HOME | |
##### Setup Keys | |
simd keys add cory --keyring-backend test --home $SIMD_HOME | |
simd keys add alice --keyring-backend test --home $SIMD_HOME | |
MY_ADDRESS=$(simd keys show -a cory --keyring-backend test --home $SIMD_HOME) | |
##### Setup validator | |
simd add-genesis-account cory 1000000000stake --keyring-backend test --home $SIMD_HOME | |
simd gentx cory 1000000stake --chain-id $CHAIN_ID --keyring-backend test --home $SIMD_HOME | |
simd collect-gentxs --home $SIMD_HOME | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment