Skip to content

Commit f043a9c

Browse files
feat: add arbitrum mainnet configuration
- Set PoCo hub address to 0x098bFCb1E50ebcA0BaA92C12eA0c3F045A1aD9f0 - Update subgraph URL with correct ID: Ep5zs5zVr4tDiVuQJepUu51e5eWYJpka624X4DMBxe3u
1 parent 56fd6fc commit f043a9c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/common/utils/config.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Network, EnsPlugin } from 'ethers';
2-
import { TEE_FRAMEWORKS } from './constant.js';
1+
import { EnsPlugin, Network } from 'ethers';
32
import { address as voucherHubBellecourAddress } from '../generated/@iexec/voucher-contracts/deployments/bellecour/VoucherHubERC1967Proxy.js';
3+
import { TEE_FRAMEWORKS } from './constant.js';
44

55
const networkConfigs = [
66
{
@@ -67,6 +67,7 @@ const networkConfigs = [
6767
compass: 'https://compass.arbitrum-sepolia-testnet.iex.ec',
6868
pocoSubgraph:
6969
'https://thegraph.arbitrum-sepolia-testnet.iex.ec/api/subgraphs/id/2GCj8gzLCihsiEDq8cYvC5nUgK6VfwZ6hm3Wj8A3kcxz',
70+
7071
voucherHub: undefined, // no voucher
7172
voucherSubgraph: undefined, // no voucher
7273
bridge: {}, // no bridge
@@ -76,7 +77,7 @@ const networkConfigs = [
7677
{
7778
id: 42161,
7879
name: 'arbitrum-mainnet',
79-
hub: 'TODO', // TODO: replace with actual poco address
80+
hub: '0x098bFCb1E50ebcA0BaA92C12eA0c3F045A1aD9f0',
8081
host: 'https://arb1.arbitrum.io/rpc',
8182
ensRegistry: undefined, // not supported
8283
ensPublicResolver: undefined, // not supported
@@ -88,11 +89,12 @@ const networkConfigs = [
8889
iexecGateway: 'https://api-market.arbitrum-mainnet.iex.ec',
8990
compass: 'https://compass.arbitrum-mainnet.iex.ec',
9091
pocoSubgraph:
91-
'https://thegraph.arbitrum-mainnet.iex.ec/api/subgraphs/id/TODO', // TODO: replace with actual subgraph ID
92+
'https://thegraph.arbitrum.iex.ec/api/subgraphs/id/Ep5zs5zVr4tDiVuQJepUu51e5eWYJpka624X4DMBxe3u',
9293
voucherHub: undefined, // no voucher
9394
voucherSubgraph: undefined, // no voucher
9495
bridge: {}, // no bridge
9596
shouldRegisterNetwork: false,
97+
isExperimental: false,
9698
},
9799
];
98100

0 commit comments

Comments
 (0)