@@ -4,7 +4,6 @@ export const MAX_DESIRED_WORKERPOOL_ORDER_PRICE = 0;
44export const DEFAULT_CONTENT_TYPE = 'text/plain' ;
55export const ANY_DATASET_ADDRESS = 'any' ;
66
7- // Chain IDs
87export const CHAIN_IDS = {
98 BELLECOUR : 134 ,
109 AVALANCHE_FUJI : 43113 ,
@@ -26,7 +25,6 @@ interface ChainConfig {
2625export const CHAIN_CONFIG : Record < number , ChainConfig > = {
2726 [ CHAIN_IDS . BELLECOUR ] : {
2827 name : 'bellecour' ,
29- // eslint-disable-next-line sonarjs/no-duplicate-string
3028 dappAddress : 'web3mail.apps.iexec.eth' ,
3129 prodWorkerpoolAddress : 'prod-v8-bellecour.main.pools.iexec.eth' ,
3230 dataProtectorSubgraph :
@@ -35,26 +33,6 @@ export const CHAIN_CONFIG: Record<number, ChainConfig> = {
3533 ipfsGateway : 'https://ipfs-gateway.v8-bellecour.iex.ec' ,
3634 whitelistSmartContract : '0x781482C39CcE25546583EaC4957Fb7Bf04C277D2' ,
3735 } ,
38- [ CHAIN_IDS . AVALANCHE_FUJI ] : {
39- name : 'avalanche' ,
40- dappAddress : 'web3mail.apps.iexec.eth' , // TODO: Update with actual Avalanche address
41- prodWorkerpoolAddress : 'prod-v8-avalanche.main.pools.iexec.eth' , // TODO: Update
42- dataProtectorSubgraph :
43- 'https://thegraph.avalanche.iex.ec/subgraphs/name/avalanche/dataprotector-v2' , // TODO: Update
44- ipfsUploadUrl : '/dns4/ipfs-upload.v8-avalanche.iex.ec/https' , // TODO: Update
45- ipfsGateway : 'https://ipfs-gateway.v8-avalanche.iex.ec' , // TODO: Update
46- whitelistSmartContract : '0x781482C39CcE25546583EaC4957Fb7Bf04C277D2' , // TODO: Update
47- } ,
48- [ CHAIN_IDS . ARBITRUM_SEPOLIA ] : {
49- name : 'arbitrum' ,
50- dappAddress : 'web3mail.apps.iexec.eth' , // TODO: Update with actual Arbitrum address
51- prodWorkerpoolAddress : 'prod-v8-arbitrum.main.pools.iexec.eth' , // TODO: Update
52- dataProtectorSubgraph :
53- 'https://thegraph.arbitrum.iex.ec/subgraphs/name/arbitrum/dataprotector-v2' , // TODO: Update
54- ipfsUploadUrl : '/dns4/ipfs-upload.v8-arbitrum.iex.ec/https' , // TODO: Update
55- ipfsGateway : 'https://ipfs-gateway.v8-arbitrum.iex.ec' , // TODO: Update
56- whitelistSmartContract : '0x781482C39CcE25546583EaC4957Fb7Bf04C277D2' , // TODO: Update
57- } ,
5836} ;
5937
6038export function getChainConfig ( chainId : number ) : ChainConfig {
0 commit comments