Skip to content

Commit ee0d1af

Browse files
author
Dmitry Savonin
committed
moved chain id to the env
1 parent bf274de commit ee0d1af

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ apt update
3232
apt install -y build-essential socat
3333
git clone https://github.com/Ankr-network/bas-devnet-setup bas --recursive
3434
cd bas
35-
DOMAIN_NAME=dev-02.bas.ankr.com make all
35+
CHAIN_ID=14000 DOMAIN_NAME=dev-02.bas.ankr.com make all
3636
```
3737

3838
P.S: Variable `DOMAIN_NAME` should be set to your domain

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"chainId": 14001,
2+
"chainId": $CHAIN_ID,
33
"validators": [
44
"0x08fae3885e299c24ff9841478eb946f41023ac69",
55
"0x751aaca849b09a3e347bbfe125cf18423cc24b40",

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ services:
178178
image: ankrnetwork/bas-staking-ui:devel
179179
environment:
180180
REACT_APP_ENVIRONMENT: "env"
181-
CHAIN_ID: "14001"
181+
CHAIN_ID: "${CHAIN_ID}"
182182
CHAIN_NAME: "BAS devnet"
183183
CHAIN_RPC: "https://rpc.${DOMAIN_NAME}"
184184
EXPLORER_HOME_URL: "https://explorer.${DOMAIN_NAME}/"

0 commit comments

Comments
 (0)