// App.tsx
import {createAppKit} from '@reown/appkit/react';
import {SolanaAdapter} from '@reown/appkit-adapter-solana/react';
import {solana, solanaTestnet, solanaDevnet} from '@reown/appkit/networks';
import {
PhantomWalletAdapter,
} from '@solana/wallet-adapter-wallets';
// 0. Set up Solana Adapter
const solanaWeb3JsAdapter = new SolanaAdapter({wallets:[
new PhantomWalletAdapter(), // Type 'PhantomWalletAdapter' is not assignable to type 'BaseWalletAdapter<string>'.
]});
Link to minimal reproducible example
https://github.com/schellenbergk/appkit-example
Summary
List of related npm package versions