Skip to content

Commit

Permalink
chore: Add dashboard network to .env files
Browse files Browse the repository at this point in the history
  • Loading branch information
theref committed Oct 11, 2023
1 parent 2021183 commit ab49ca7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ REACT_APP_ELECTRUM_PORT=$ELECTRUM_PORT
REACT_APP_MOCK_BITCOIN_CLIENT=false

REACT_APP_WALLET_CONNECT_PROJECT_ID=$WALLET_CONNECT_PROJECT_ID
REACT_APP_TACO_NETWORK=mainnet
1 change: 1 addition & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
REACT_APP_SUPPORTED_CHAIN_ID=1337
REACT_APP_MULTICALL_ADDRESS=0x086813525A7dC7dafFf015Cdf03896Fd276eab60
REACT_APP_TACO_NETWORK=dashboard
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,12 @@ REACT_APP_ELECTRUM_PORT=8443
REACT_APP_MOCK_BITCOIN_CLIENT=false
REACT_APP_WALLET_CONNECT_PROJECT_ID=$WALLET_CONNECT_PROJECT_ID
REACT_APP_TACO_NETWORK=dashboard
```

Then build the docker container and run the dashboard:

```bash
docker build -t dashboard:latest .
docker run -p 3000:3000 -d dashboard
docker-compose up --build
```
1 change: 1 addition & 0 deletions src/threshold-ts/mas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const tacoChains: TacoChains = {
lynx: "5",
mainnet: "1",
tapir: "11155111",
dashboard: "5",
}

const key = tacoChains[chainName] || ""
Expand Down

0 comments on commit ab49ca7

Please sign in to comment.