Skip to content

Commit

Permalink
Updated the init script to add a validator by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ItayLevyOfficial committed Aug 9, 2023
1 parent 2210896 commit c2b7523
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/init.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ROLLAPP_CHAIN_DIR="$HOME/.rollapp"
DENOM="urax"
MONIKER="rollapp-sequencer"
ROLLAPP_CHAIN_ID="demo-dymension-rollapp"
STAKING_AMOUNT="500000000000$DENOM"

KEY_NAME_ROLLAPP="rol-user"

Expand Down Expand Up @@ -62,4 +63,6 @@ set_denom "$DENOM"
$EXECUTABLE keys add "$KEY_NAME_ROLLAPP" --keyring-backend test
$EXECUTABLE add-genesis-account "$KEY_NAME_ROLLAPP" "$TOKEN_AMOUNT" --keyring-backend test
$EXECUTABLE gentx_seq --pubkey "$($EXECUTABLE dymint show-sequencer)" --from "$KEY_NAME_ROLLAPP"
$EXECUTABLE gentx "$KEY_NAME_ROLLAPP" "$STAKING_AMOUNT" --chain-id "$ROLLAPP_CHAIN_ID" --keyring-backend test --home "$ROLLAPP_CHAIN_DIR"
$EXECUTABLE collect-gentxs --home "$ROLLAPP_CHAIN_DIR"
$EXECUTABLE validate-genesis

0 comments on commit c2b7523

Please sign in to comment.