4. Connect Your Wallet

Initiate the connection flow to prompt the user to link their Solana wallet. This method will automatically open the wallet selection modal (supporting Phantom, Solflare, and others).

// Connect using Solana wallet adapter
await obscura.connectWallet();

Last updated