Skip to content

Commit

Permalink
feat: add celo network
Browse files Browse the repository at this point in the history
  • Loading branch information
brotherlymite committed Feb 22, 2024
1 parent f058109 commit 7032554
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const ETHERSCAN_API_KEYS: {
[Networks.gnosis]: process.env.ETHERSCAN_API_KEY_GNOSIS || "",
[Networks.scroll]: process.env.ETHERSCAN_API_KEY_SCROLL || "",
[Networks.zkevm]: process.env.ETHERSCAN_API_KEY_ZKEVM || "",
[Networks.celo]: process.env.ETHERSCAN_API_KEY_CELO || "",
};

export const ETHERSCAN_API_URL: {
Expand All @@ -43,6 +44,7 @@ export const ETHERSCAN_API_URL: {
[Networks.gnosis]: "https://api.gnosisscan.io/api",
[Networks.scroll]: "https://api.scrollscan.com/api",
[Networks.zkevm]: "https://api-zkevm.polygonscan.com/api",
[Networks.celo]: "https://api.celoscan.io/api"
};

export const DEFAULT_RPC_URLS: {
Expand All @@ -61,4 +63,5 @@ export const DEFAULT_RPC_URLS: {
[Networks.gnosis]: process.env.RPC_GNOSIS || "",
[Networks.scroll]: process.env.RPC_SCROLL || "",
[Networks.zkevm]: process.env.RPC_ZKEVM || "",
[Networks.celo]: process.env.RPC_CELO || "",
};
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,5 @@ export enum Networks {
gnosis = 100,
scroll = 534352,
zkevm = 1101,
celo = 42220
}

0 comments on commit 7032554

Please sign in to comment.