Custom Wallets
What is the Solana wallet adapter
Eclipse Wallet
Writing support for a custom (Eclipse) wallet
Prerequisites
npx create-next-app custom-wallet-adapter --ts
cd custom-wallet-adapternpm install @solana/wallet-adapter-base @solana/web3.js @solana/wallet-adapter-react @solana/wallet-adapter-walletsInitializing Wallets
import "@/styles/globals.css";
import type { AppProps } from "next/app";
import head from "next/head";
import {
ConnectionProvider,
WalletProvider,
} from "@solana/wallet-adapter-react";
import { useMemo } from "react";
import { SalmonWalletAdapter } from "@solana/wallet-adapter-wallets";
import { SnapWalletAdapter } from "@drift-labs/snap-wallet-adapter";
import { clusterApiUrl } from "@solana/web3.js";Filtering Wallets

Was this helpful?