Use env vars for aggregator urls

This commit is contained in:
Blake Duncan
2023-01-27 15:24:57 +00:00
parent d9aae010ef
commit 7c89007458
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
REACT_APP_BLS_TEAM_PK=
# Arbitrum Goerli
REACT_APP_ARBITRUM_GOERLI_RPC=
REACT_APP_ARBITRUM_GOERLI_AGG=
# Optimism Goerli
REACT_APP_OPTIMISM_GOERLI_RPC=
REACT_APP_OPTIMISM_GOERLI_AGG=

View File

@@ -22,14 +22,14 @@ export const NETWORKS: NetworksType = {
chainId: '421613',
name: 'Arbitrum Goerli',
rpcUrl: process.env.REACT_APP_ARBITRUM_GOERLI_RPC ?? '',
aggregatorUrl: 'https://arbitrum-goerli.blswallet.org',
aggregatorUrl: process.env.REACT_APP_ARBITRUM_GOERLI_AGG ?? 'https://arbitrum-goerli.blswallet.org',
verificationGateway: '0xae7DF242c589D479A5cF8fEA681736e0E0Bb1FB9',
},
optimismGoerli: {
name: 'Optimism Goerli',
chainId: '420',
rpcUrl: process.env.REACT_APP_OPTIMISM_GOERLI_RPC ?? '',
aggregatorUrl: 'https://optimism-goerli.blswallet.org',
aggregatorUrl: process.env.REACT_APP_OPTIMISM_GOERLI_AGG ?? 'https://optimism-goerli.blswallet.org',
verificationGateway: '0x643468269B044bA84D3F2190F601E3579d3236BB',
},
};