From cd91d4d4cc4786dc8fd8ce4721f23da3344df30e Mon Sep 17 00:00:00 2001 From: Iris Date: Fri, 13 Sep 2024 15:58:21 +0200 Subject: [PATCH] fix: ArgentMobile connection --- utils/connectorWrapper.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/utils/connectorWrapper.ts b/utils/connectorWrapper.ts index ae3eb00d..019ff815 100644 --- a/utils/connectorWrapper.ts +++ b/utils/connectorWrapper.ts @@ -11,12 +11,14 @@ export const getConnectors = () => { new InjectedConnector({ options: { id: "braavos" } }), new InjectedConnector({ options: { id: "okxwallet" } }), new InjectedConnector({ options: { id: "bitkeep" } }), - // new ArgentMobileConnector({ - // dappName: "Starknet ID", - // url: process.env.NEXT_PUBLIC_APP_LINK as string, - // chainId: constants.NetworkName.SN_MAIN, - // icons: ["https://app.starknet.id/visuals/StarknetIdLogo.svg"], - // }), + ArgentMobileConnector.init({ + options: { + dappName: "Starknet ID", + url: process.env.NEXT_PUBLIC_APP_LINK as string, + chainId: constants.NetworkName.SN_MAIN, + icons: ["https://app.starknet.id/visuals/StarknetIdLogo.svg"], + }, + }), new WebWalletConnector({ url: "https://web.argent.xyz/", }),