Skip to content

Commit 7aac094

Browse files
feat: add support for arbitrum-mainnet
1 parent 317b3c8 commit 7aac094

File tree

5 files changed

+20
-10
lines changed

5 files changed

+20
-10
lines changed

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.13.2",
5454
"graphql-request": "^6.1.0",
55-
"iexec": "^8.17.1",
55+
"iexec": "^8.18.0",
5656
"kubo-rpc-client": "^4.1.1",
5757
"yup": "^1.1.1"
5858
},

src/config/config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@ const CHAIN_CONFIG: Record<number, ChainConfig> = {
4040
whitelistSmartContract: '0x8d46d40840f1Aa2264F96184Ffadf04e5D573B9B',
4141
isExperimental: true,
4242
},
43+
42161: {
44+
name: 'arbitrum-mainnet',
45+
dappAddress: undefined, // ENS not supported on this network, address will be resolved from Compass
46+
prodWorkerpoolAddress: '0x2C06263943180Cc024dAFfeEe15612DB6e5fD248',
47+
dataProtectorSubgraph:
48+
'https://thegraph.arbitrum.iex.ec/api/subgraphs/id/Ep5zs5zVr4tDiVuQJepUu51e5eWYJpka624X4DMBxe3u',
49+
ipfsGateway: 'https://ipfs-gateway.arbitrum-mainnet.iex.ec',
50+
ipfsUploadUrl: 'https://ipfs-upload.arbitrum-mainnet.iex.ec',
51+
whitelistSmartContract: '0xD5054a18565c4a9E5c1aa3cEB53258bd59d4c78C',
52+
},
4353
};
4454

4555
export const getChainDefaultConfig = (

0 commit comments

Comments
 (0)