Adding a local env file (#13)

This commit is contained in:
Blake Duncan
2023-01-24 11:14:56 +00:00
committed by GitHub
parent 1af4aa5ac9
commit 70c9678fb2
2 changed files with 2 additions and 8 deletions

1
.env.local.example Normal file
View File

@@ -0,0 +1 @@
NEXT_PUBLIC_ARBITRUM_GOERLI_RPC='https://goerli-rollup.arbitrum.io/rpc'

View File

@@ -2,17 +2,10 @@ export const NETWORKS = {
arbitrumGoerli: {
chainID: '0x66EED',
name: 'Arbitrum Goerli',
rpcUrl: 'https://goerli-rollup.arbitrum.io/rpc',
rpcUrl: process.env.NEXT_PUBLIC_ARBITRUM_GOERLI_RPC ?? 'https://goerli-rollup.arbitrum.io/rpc',
aggregatorUrl: 'https://arbitrum-goerli.blswallet.org',
verificationGateway: '0xae7DF242c589D479A5cF8fEA681736e0E0Bb1FB9',
},
arbitrumRinkeby: {
chainId: '421611',
name: 'Arbitrum Rinkeby',
rpcUrl: 'https://rinkeby.arbitrum.io/rpc',
aggregatorUrl: 'https://arbitrum-testnet.blswallet.org',
verificationGateway: '0x697B3E6258B08201d316b31D69805B5F666b62C8',
},
// For local dev make sure these values match your environment
local: {
chainId: '31337',