See how our extension integrates with Phantom wallet to protect Solana users
Our extension integrates seamlessly with Phantom Wallet to provide security checks before wallet connections and transactions. This interactive demo shows how the integration works.
User visits a website that requests Phantom wallet connection
// Website attempts to connect to Phantom const connectWallet = async () => { try { const { solana } = window; if (solana?.isPhantom) { const response = await solana.connect(); const publicKey = response.publicKey.toString(); console.log("Connected with Public Key:", publicKey); return publicKey; } } catch (error) { console.error(error); } };