Skip to content

Commit

Permalink
chore: add geneva testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
luanxu-mxc committed Apr 9, 2024
1 parent 914bc60 commit 1c7e5f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"@deploysentinel/cypress-debugger": "^0.5.5",
"@ethersproject/wallet": "^5.7.0",
"@next/bundle-analyzer": "^12.2.5",
"@next/swc-linux-x64-gnu": "12.1.4",
"@next/swc-darwin-arm64": "12.1.4",
"@openzeppelin/contracts": "^4.7.3",
"@openzeppelin/test-helpers": "^0.5.16",
"@testing-library/cypress": "^8.0.3",
Expand Down
2 changes: 1 addition & 1 deletion src/constants/Network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
const chain_id: string = process.env.NEXT_PUBLIC_NETWORK_CHAINID || "18686"

const networks: any = {
5167003: {
5167004: {
id: 5167004,
name: 'MXC zkEVM Moonchain Geneva Testnet',
nativeCurrency: { decimals: 18, name: 'MXC', symbol: 'MXC' },
Expand Down
6 changes: 4 additions & 2 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ export const networkName = {
'3': 'ropsten',
// eslint-disable-next-line @typescript-eslint/naming-convention
'1337': 'local',
'18686': 'moonchain',
'516004': 'geneva'
}

interface ResolverAddresses {
Expand Down Expand Up @@ -48,7 +50,7 @@ export const RESOLVER_ADDRESSES: ResolverAddresses = {
'0x84eA74d481Ee0A5332c457a4d796187F6Ba67fEB',
],
// eslint-disable-next-line @typescript-eslint/naming-convention
'5167003': ['0x316a9C61e09D5b87bcaB18d08948D2B2A8d6b4A8'],
'5167004': ['0xd241E9681B22Ae47e94c523d25CDdC1a4960cDC3'],
// eslint-disable-next-line @typescript-eslint/naming-convention
'18686': ['0x5325640Cc17A06a409d4f4b6af02A0120528c67E'],
}
Expand All @@ -65,7 +67,7 @@ export const NAMEWRAPPER_AWARE_RESOLVERS: ResolverAddresses = {
// eslint-disable-next-line @typescript-eslint/naming-convention
'1337': ['0x0E801D84Fa97b50751Dbf25036d067dCf18858bF'],
// eslint-disable-next-line @typescript-eslint/naming-convention
'5167003': ['0x61C48101ccE16653573e80c64b4bD4a4C3111Ce8'],
'5167004': ['0xCE5e3c318BFC7c2dee486cF7c62Ba95feFd6d2bD'],
// eslint-disable-next-line @typescript-eslint/naming-convention
'18686': ['0xD1B70f92b310c3Fa95b83dB436E00a53e1f1f5d5'],
}
Expand Down

0 comments on commit 1c7e5f3

Please sign in to comment.