Skip to content

Commit 7cf7580

Browse files
feat: add support arbitrum mainnet
feat: add support arbitrum mainnet
1 parent c91f5a4 commit 7cf7580

File tree

6 files changed

+22
-12
lines changed

6 files changed

+22
-12
lines changed

.github/workflows/dapp-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
# prod environments (requires a tag starting with dapp-v)
1515
- bellecour-prod
1616
- arbitrum-sepolia-prod
17-
- arbitrum-mainnet-prod
17+
- arbitrum-prod
1818

1919
jobs:
2020
extract-tag:

deployment-dapp/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deployment-dapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"author": "",
1919
"license": "ISC",
2020
"dependencies": {
21-
"iexec": "^8.17.1",
21+
"iexec": "^8.18.0",
2222
"typescript": "^5.0.4",
2323
"yup": "^1.2.0"
2424
},

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"buffer": "^6.0.3",
5353
"ethers": "^6.8.1",
5454
"graphql-request": "^6.1.0",
55-
"iexec": "^8.17.1",
55+
"iexec": "^8.18.0",
5656
"kubo-rpc-client": "^4.1.3",
5757
"yup": "^1.1.1"
5858
},

src/config/config.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,19 @@ export const CHAIN_CONFIG: Record<number, ChainConfig> = {
3535
'https://thegraph.arbitrum-sepolia-testnet.iex.ec/api/subgraphs/id/5YjRPLtjS6GH6bB4yY55Qg4HzwtRGQ8TaHtGf9UBWWd',
3636
ipfsGateway: 'https://ipfs-gateway.arbitrum-sepolia-testnet.iex.ec',
3737
ipfsUploadUrl: 'https://ipfs-upload.arbitrum-sepolia-testnet.iex.ec',
38-
whitelistSmartContract: '0x7291ff96100DA6CF97933C225B86124ef95aEc9b', // TODO: add the correct address
38+
whitelistSmartContract: '0x7291ff96100DA6CF97933C225B86124ef95aEc9b',
3939
isExperimental: true,
4040
},
41+
42161: {
42+
name: 'arbitrum-mainnet',
43+
dappAddress: undefined, // ENS not supported on this network, address will be resolved from Compass
44+
prodWorkerpoolAddress: '0x2C06263943180Cc024dAFfeEe15612DB6e5fD248',
45+
dataProtectorSubgraph:
46+
'https://thegraph.arbitrum.iex.ec/api/subgraphs/id/Ep5zs5zVr4tDiVuQJepUu51e5eWYJpka624X4DMBxe3u',
47+
ipfsGateway: 'https://ipfs-gateway.arbitrum-mainnet.iex.ec',
48+
ipfsUploadUrl: 'https://ipfs-upload.arbitrum-mainnet.iex.ec',
49+
whitelistSmartContract: '0x53AFc09a647e7D5Fa9BDC784Eb3623385C45eF89',
50+
},
4151
};
4252

4353
export const getChainDefaultConfig = (

0 commit comments

Comments
 (0)