Skip to content

Commit

Permalink
added export script
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsitrin committed Aug 13, 2023
1 parent 9679408 commit 50d1230
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ SEQUENCER_ADDR=`dymd keys show sequencer --address --keyring-backend test --keyr
fund the sequencer account

```shell
dymd tx bank send local-user $SEQUENCER_ADDR 10000000000udym --keyring-backend test
dymd tx bank send local-user $SEQUENCER_ADDR 10000000000000000000000udym --keyring-backend test
```

### Register rollapp on settlement
Expand Down
23 changes: 16 additions & 7 deletions scripts/config.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# ---------------------------------------------------------------------------- #
# ROLLAPP CONFIG #
# ---------------------------------------------------------------------------- #
ROLLAPP_CHAIN_ID="demo-dymension-rollapp"
KEY_NAME_ROLLAPP="rol-user"
DENOM="urax"
MONIKER=$ROLLAPP_CHAIN_ID-sequencer
#!/bin/bash

# Function to set and log environment variable
set_env_var() {
local var_name="$1"
local value="$2"

export "$var_name"="$value"
echo "Exported $var_name: $value"
}

# Set and log environment variables
set_env_var ROLLAPP_CHAIN_ID "demo-dymension-rollapp"
set_env_var KEY_NAME_ROLLAPP "rol-user"
set_env_var DENOM "urax"
set_env_var MONIKER "$ROLLAPP_CHAIN_ID-sequencer"

0 comments on commit 50d1230

Please sign in to comment.