Skip to content

Commit

Permalink
add env
Browse files Browse the repository at this point in the history
  • Loading branch information
andresaiello committed Feb 5, 2024
1 parent ff317c5 commit 290e497
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ let START_BLOCK = 0;
let END_BLOCK = 0;

if (network.name === "bsc_mainnet") {
API_KEY = "C1Z6YAZ48NZF6FYM85JT4J9JUCESQEDNRQ";
API_KEY = process.env.C1Z6YAZ48NZF6FYM85JT4J9JUCESQEDNRQ || "";
API_ENDPOINT = "api.bscscan.com";
START_BLOCK = 35741686;
END_BLOCK = 35844713;
} else if (network.name === "eth_mainnet") {
API_KEY = "57A2HPCSSKRT16YHXKU6B6P2HXF36WA3BD";
API_KEY = process.env.ETHERSCAN_API_KEY || "";
API_ENDPOINT = "api.etherscan.io";
START_BLOCK = 19080591;
END_BLOCK = 19157698;
Expand Down

0 comments on commit 290e497

Please # to comment.