From 8cefc3975115b6e3e706dd110670badad954a3bd Mon Sep 17 00:00:00 2001 From: Shane Fontaine <9441295+shanefontaine@users.noreply.github.com> Date: Thu, 27 Jan 2022 14:45:49 -0800 Subject: [PATCH] Update constants --- config/constants.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/constants.ts b/config/constants.ts index 457a78e5..d52fafb8 100644 --- a/config/constants.ts +++ b/config/constants.ts @@ -1,3 +1,5 @@ +require('dotenv').config() + import { BigNumber } from 'ethers' import { parseEther } from 'ethers/lib/utils' @@ -121,8 +123,8 @@ export const DEFAULT_SWAP_ADMIN_FEE: string = '0' export const DEFAULT_SWAP_WITHDRAWAL_FEE: string = '0' export const POLYGON_RPC_ENDPOINTS: any = { - MAINNET: 'https://polygon.rpc.hop.exchange', - GOERLI: 'https://mumbai.rpc.hop.exchange' + MAINNET: process.env.RPC_ENDPOINT_POLYGON, + GOERLI: process.env.RPC_ENDPOINT_GOERLI } export const FX_ROOT_ADDRESSES: any = {