Skip to content

Commit

Permalink
fix(mas): update environment variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
theref committed Oct 17, 2023
1 parent 54ada44 commit 4ebf04e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ REACT_APP_ELECTRUM_PORT=$ELECTRUM_PORT
REACT_APP_MOCK_BITCOIN_CLIENT=true

REACT_APP_WALLET_CONNECT_PROJECT_ID=$WALLET_CONNECT_PROJECT_ID

REACT_APP_TACO_DOMAIN=dashboard
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +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
REACT_APP_TACO_DOMAIN=mainnet
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
REACT_APP_SUPPORTED_CHAIN_ID=1337
REACT_APP_MULTICALL_ADDRESS=0x086813525A7dC7dafFf015Cdf03896Fd276eab60
REACT_APP_TACO_NETWORK=dashboard
REACT_APP_TACO_DOMAIN=dashboard
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ REACT_APP_MOCK_BITCOIN_CLIENT=false
REACT_APP_WALLET_CONNECT_PROJECT_ID=$WALLET_CONNECT_PROJECT_ID
REACT_APP_TACO_NETWORK=dashboard
REACT_APP_TACO_DOMAIN=dashboard
```

Then build the docker container and run the dashboard:
Expand Down
2 changes: 1 addition & 1 deletion src/threshold-ts/mas/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import RandomBeacon from "@keep-network/random-beacon/artifacts/RandomBeacon.json"
import WalletRegistry from "@keep-network/ecdsa/artifacts/WalletRegistry.json"

const chainName = process.env.REACT_APP_TACO_NETWORK || "" // Ensure it's a string
const chainName = process.env.REACT_APP_TACO_DOMAIN || "" // Ensure it's a string
const TacoRegistryFile: any = require(`@nucypher/nucypher-contracts/deployment/artifacts/${chainName}.json`)

import {
Expand Down

0 comments on commit 4ebf04e

Please sign in to comment.