Skip to content

Commit

Permalink
fix: add Argent mobile connector (lfglabs-dev#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
irisdv authored Feb 21, 2024
1 parent 9ac63b5 commit 98baebc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { StarknetIdJsProvider } from "@context/StarknetIdJsProvider";
import { ThemeProvider, createTheme } from "@mui/material";
import { QuestsContextProvider } from "@context/QuestsProvider";
import { getCurrentNetwork } from "@utils/network";
import { constants } from "starknet";

export const availableConnectors = [
new InjectedConnector({ options: { id: "braavos", name: "Braavos" } }),
Expand All @@ -24,7 +25,12 @@ export const availableConnectors = [
? "https://web.hydrogen.argent47.net"
: "https://web.argent.xyz/",
}),
new ArgentMobileConnector(),
new ArgentMobileConnector({
dappName: "Starknet Quest",
url: process.env.NEXT_PUBLIC_APP_LINK as string,
chainId: constants.NetworkName.SN_MAIN,
icons: ["https://starknet.quest/visuals/starknetquestLogo.svg"],
}),
];

export function Providers({ children }: { children: React.ReactNode }) {
Expand Down

0 comments on commit 98baebc

Please sign in to comment.