Skip to content

Commit

Permalink
Merge pull request #1 from akc2267/patch-1
Browse files Browse the repository at this point in the history
fix: address errors in run_gcosmos.sh
  • Loading branch information
mark-rushakoff authored Oct 25, 2024
2 parents 926514c + 064a46d commit 4096cdc
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions scripts/run_gcosmos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ go build -o gcosmos .

./gcosmos init moniker --chain-id=${CHAIN_ID}

# example-mnemonic address: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl
echo -n "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art" > example-mnemonic.txt

./gcosmos keys add val --recover --source example-mnemonic.txt
./gcosmos genesis add-genesis-account val 10000000stake --keyring-backend=test
./gcosmos genesis gentx val 1000000stake --keyring-backend=test --chain-id=${CHAIN_ID}
./gcosmos keys add val
./gcosmos genesis add-genesis-account val 10000000stake
./gcosmos genesis gentx val 1000000stake --chain-id=${CHAIN_ID}
./gcosmos genesis collect-gentxs

./gcosmos start --g-http-addr 127.0.0.1:$G_HTTP_ADDR --g-grpc-addr 127.0.0.1:$G_GRPC_ADDR

0 comments on commit 4096cdc

Please sign in to comment.