Skip to content

Commit

Permalink
fix errors in run_gcosmos.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
akc2267 authored Oct 25, 2024
1 parent 926514c commit 064a46d
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 064a46d

Please sign in to comment.