From 73ca3a92eb49e7d9590fb30f990ab552e3e701e6 Mon Sep 17 00:00:00 2001 From: tjs Date: Fri, 30 Dec 2022 15:07:32 -0500 Subject: [PATCH] add glow wallet --- pages/_app.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index 8b04eb02..79ccb7e8 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -16,6 +16,7 @@ import { import { PhantomWalletAdapter, SolflareWalletAdapter, + GlowWalletAdapter, } from '@solana/wallet-adapter-wallets' import { clusterApiUrl } from '@solana/web3.js' import Notifications from '../components/shared/Notification' @@ -42,10 +43,14 @@ import { THEME_KEY } from 'utils/constants' const queryClient = new QueryClient() function MyApp({ Component, pageProps }: AppProps) { - const network = WalletAdapterNetwork.Devnet + const network = WalletAdapterNetwork.Mainnet const endpoint = useMemo(() => clusterApiUrl(network), [network]) const wallets = useMemo( - () => [new PhantomWalletAdapter(), new SolflareWalletAdapter({ network })], + () => [ + new PhantomWalletAdapter(), + new SolflareWalletAdapter(), + new GlowWalletAdapter(), + ], [] )