add glow wallet
This commit is contained in:
parent
fcbca6fc2e
commit
73ca3a92eb
|
@ -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(),
|
||||
],
|
||||
[]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue