You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* on update deps to evmos v12.1.2
* on dev
* update md files
* update md files
* on dev
* evmos v12.1.3 and cosmos v10.0.0
* require yarn
* hermes v1.5.0
* update hermes ibc
* update versions & chain id in documents
* update version ibc in docs
* add config bd2 web app dir to README
* fix bug gas prices in hermes setup
* specific gas price when transfer coin to ibc relayer wallet
* wait a bit more before start tx
* add BD2_CFG_CHAIN_X_CHAIN_NAME for bd2
Copy file name to clipboardExpand all lines: README.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -5,22 +5,22 @@ I wrote hundred lines of comments which explains every steps in each script file
5
5
Not only EVMOS, you can use this script to build for other chains like cosmos,... Look at [this](https://github.com/VictorTrustyDev/EVMOS-sample-scripts/blob/main/sample.cosmos-and-evmos.override-env.sh) to know how to do it
6
6
7
7
#### Pre-requisites
8
-
-[Go 1.17.5+](https://go.dev/doc/install) to build chains
8
+
-[Go 1.20.2+](https://go.dev/doc/install) to build chains
9
9
-[jq](https://stedolan.github.io/jq/download)
10
10
-[yq + tomlq (build on top of jq)](https://github.com/kislyuk/yq)
11
11
-[Rust 1.60+](https://www.rust-lang.org/tools/install) to build Hermes - IBC relayer
- Node JS to build & run Big Dipper 2.0 for Cosmos based chains
13
+
- Node JS & Yarn to build & run Big Dipper 2.0 for Cosmos based chains
14
14
- PostgreSQL client (psql) for postgres 12.5 to setup Big Dipper
15
15
-[Hasura cli](https://hasura.io/docs/latest/graphql/core/hasura-cli/install-hasura-cli/) for bdjuno
16
16
17
17
You can find commands to install the above tools [here](https://github.com/VictorTrustyDev/EVMOS-sample-scripts/blob/main/Install-Required-Tools-on-Ubuntu.md)
18
18
19
19
I created all of the following samples on an Ubuntu 22.04 LTS machine with 4 CPU 16 GB RAM. It can run
-[Big Dipper 2.0 for Cosmos chains branch evmos](https://github.com/forbole/big-dipper-2.0-cosmos/tree/chains/evmos)
37
+
-[Big Dipper 2.0 for Cosmos chains v2.x](https://github.com/forbole/big-dipper-2.0-cosmos)
38
38
39
39
#### Customization
40
40
- You can change their version by updating file [env.sh](https://github.com/VictorTrustyDev/EVMOS-sample-scripts/blob/main/env.sh)
41
41
- This sample is using keyring `test`, you may need to change to `file` for secure your test env if needed in [env.sh](https://github.com/VictorTrustyDev/EVMOS-sample-scripts/blob/main/env.sh)
42
42
- You can create `override-env.sh` file and override values of [env.sh](https://github.com/VictorTrustyDev/EVMOS-sample-scripts/blob/main/env.sh)
43
-
- The [sample.cosmos-and-evmos.override-env.sh](https://github.com/VictorTrustyDev/EVMOS-sample-scripts/blob/main/sample.cosmos-and-evmos.override-env.sh) file contains example which tell you how to override variables of [env.sh](https://github.com/VictorTrustyDev/EVMOS-sample-scripts/blob/main/env.sh) and make the chain 1 use [Cosmos (gaia) source](https://github.com/cosmos/gaia/tree/v7.0.2), rename it to `override-env.sh` to make it effectives
43
+
- The [sample.cosmos-and-evmos.override-env.sh](https://github.com/VictorTrustyDev/EVMOS-sample-scripts/blob/main/sample.cosmos-and-evmos.override-env.sh) file contains example which tell you how to override variables of [env.sh](https://github.com/VictorTrustyDev/EVMOS-sample-scripts/blob/main/env.sh) and make the chain 1 use [Cosmos (gaia) source](https://github.com/cosmos/gaia/tree/v10.0.0), rename it to `override-env.sh` to make it effectives
44
44
- The [sample.expose-big-dipper-ui.override-env.sh](https://github.com/VictorTrustyDev/EVMOS-sample-scripts/blob/main/sample.expose-big-dipper-ui.override-env.sh) file contains example which tell you how to override variables of [env.sh](https://github.com/VictorTrustyDev/EVMOS-sample-scripts/blob/main/env.sh) and make the block explorer UI (Big Dipper 2.0) accessible from outside world, rename it to `override-env.sh` to make it effectives
[ $?-eq 0 ] || { echo>&2"ERR: Failed to build in root source dir";exit 1; }
143
+
144
+
cd"$CUR_DIR"
145
+
cd"$BD2_UI_DIR"
146
+
corepack enable
147
+
yarn run build
148
+
[ $?-eq 0 ] || { echo>&2"ERR: Failed to build in web app source dir";exit 1; }
129
149
130
150
cd"$CUR_DIR"
131
151
@@ -149,7 +169,7 @@ if [ $DISABLE_SYSTEMCTL -eq 0 ]; then
149
169
\n[Service]
150
170
\nUser=$USER
151
171
\nWorkingDirectory=$WORKING_DIR
152
-
\nExecStart=$(which npm) run dev
172
+
\nExecStart=$(which yarn) run start
153
173
\nRestart=always
154
174
\nRestartSec=3
155
175
\nLimitNOFILE=4096
@@ -174,4 +194,4 @@ else
174
194
echo"Hint: npm run dev"
175
195
fi
176
196
177
-
echo"Notice!!! Make sure the service file at '/etc/systemd/system/$BD2_SERVICE_NAME.service' has correct working directort and execution path (in case you changed any repo/branch)"
197
+
echo"Notice!!! Make sure the service file at '/etc/systemd/system/$BD2_SERVICE_NAME.service' has correct working directort and execution path (in case you changed any repo/branch)"
0 commit comments