1// Paste this into ChatGPT, Gemini or any AI and ask:
2// "Is this code safe? Does it access my private key?"
4// Our wallet connection — using @solana/wallet-adapter-react
5// This is a standard open-source library used by all Solana apps
7import { useWallet } from '@solana/wallet-adapter-react';
9const { publicKey, sendTransaction } = useWallet();
11// publicKey → your PUBLIC address. Safe to share. We store this.
12// sendTransaction → you approve EVERY payment inside Phantom.
13// privateKey → we NEVER import, access or request this. Ever.