Skip to content

Commit

Permalink
add new env vars for polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosQ96 committed Mar 17, 2023
2 parents 330aeaf + d07dbbd commit 43dbffe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ GNOSISSCAN_API_URL=https://api.gnosisscan.io/api
ETHERSCAN_API_KEY=0000000000000000000000000000000000
GNOSISSCAN_API_KEY=0000000000000000000000000000000000
INFURA_API_KEY=0000000000000000000000000000000000
# It should have same value as INFURA_API_KEY, but we should use it because monoswap needs to read this from .env
ETHEREUM_NODE_ID=
NUMBER_OF_VERIFY_DONATION_CONCURRENT_JOB=1

# Optional - polygon dedicated RPC url
POLYGON_MAINNET_NODE_HTTP_URL=
# This means every second
VERIFY_DONATION_CRONJOB_EXPRESSION=0 * * * * *

Expand Down
3 changes: 3 additions & 0 deletions config/test.env
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,6 @@ CHAINVINE_ADAPTER=mock
CHAINVINE_API_ENABLE_TEST_MODE=true
# We should not try to verify donaitons after some hours, because checking old donations would make lots of requests to web3 providers
DONATION_VERIFICAITON_EXPIRATION_HOURS=24

# We need it for monoswap
POLYGON_MAINNET_NODE_HTTP_URL=https://polygon-rpc.com

0 comments on commit 43dbffe

Please sign in to comment.