Skip to content

Commit

Permalink
feat: add network ids for all supported networks
Browse files Browse the repository at this point in the history
  • Loading branch information
chmanie committed Jul 15, 2024
1 parent 13e4134 commit 0bef243
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions packages/core/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,25 @@ export enum Network {
ArbitrumSepolia = 'ArbitrumSepolia',
}

export enum NetworkId {
/** Use this to specify an own main ColonyNetwork address in the options */
Custom = 0x0,
/** Ethereum Mainnet */
Mainnet = 0x1,
/** Goerli testnet */
Goerli = 0x5,
/** Gnosis chain */
Gnosis = 0x64,
/** Gnosis chain (alias) */
Xdai = 0x64,
/** Gnosis chain custom fork */
XdaiQa = 0x64,
/** Arbitrum Testnet */
ArbitrumSepolia = 0x66eee,
/** Arbitrum One Mainnet */
ArbitrumOne = 0xa4b1,
}

/**
* Addresses of the deployed ColonyNetwork EtherRouter contracts in all networks
*/
Expand Down

0 comments on commit 0bef243

Please sign in to comment.