rln-interep-contract/common/chain-utils.ts

6 lines
178 B
TypeScript
Raw Normal View History

2022-11-25 11:38:38 +05:30
export const devNets = ["hardhat", "localhost", "goerli"];
2022-11-25 11:38:38 +05:30
export const prodNets = ["mainnet"];
2022-11-25 11:38:38 +05:30
export const isDevNet = (networkName: string) => devNets.includes(networkName);