From bb46b0d07ad2dc99cab479a73b2ee39f6b3c0fcf Mon Sep 17 00:00:00 2001 From: paypes Date: Wed, 4 Jun 2025 18:12:59 +0200 Subject: [PATCH] fix: fetchMyContacts --- src/tools/getIExecApps.ts | 2 +- src/tools/web3mail/fetchMyContacts.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tools/getIExecApps.ts b/src/tools/getIExecApps.ts index 11ccae9..32d4df1 100644 --- a/src/tools/getIExecApps.ts +++ b/src/tools/getIExecApps.ts @@ -14,7 +14,7 @@ export const getIExecApps = { web3mail: { ens: "web3mail.apps.iexec.eth", address: "0x0d8b899f2faa0fe9f0b17bcf4debd0cbc9e574ef", - whitelistAddress: "0x1234567890abcdef1234567890abcdef12345678", + whitelistAddress: "0x781482C39CcE25546583EaC4957Fb7Bf04C277D2", aliases: ["web3mail", "web3 mail", "web3-mail"], }, web3telegram: { diff --git a/src/tools/web3mail/fetchMyContacts.ts b/src/tools/web3mail/fetchMyContacts.ts index 40aceff..2d15813 100644 --- a/src/tools/web3mail/fetchMyContacts.ts +++ b/src/tools/web3mail/fetchMyContacts.ts @@ -17,7 +17,8 @@ export const fetchMyContacts = { const privateKey = await readWalletPrivateKey(); const web3Provider = getWeb3Provider(privateKey); const web3mail = new IExecWeb3mail(web3Provider); - const contacts = await web3mail.fetchMyContacts(); + const contacts = await web3mail.fetchMyContacts({ isUserStrict: true } + ); return { message: "Contacts fetched successfully", contacts