Skip to content

Instantly share code, notes, and snippets.

@clevinson
Created March 23, 2021 23:03
Show Gist options
  • Save clevinson/6c79e9b193e4b63a1cc35a82e240d276 to your computer and use it in GitHub Desktop.
Save clevinson/6c79e9b193e4b63a1cc35a82e240d276 to your computer and use it in GitHub Desktop.
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