Skip to content

Conversation

unijaychie
Copy link

Summary

This PR fixes the issue where the app falsely reports "Wallet is not connected" during deposit for Solana Phantom wallets, even when the wallet is connected.

Changes

  • Added proper Solana wallet connection validation using window.solana.isConnected.
  • Added event listeners for Solana wallet connection/disconnection events.
  • Ensures deposit logic checks Solana wallet connection status before proceeding.

Testing

  • Verified that the deposit works when the Solana wallet is connected.
  • Confirmed error is shown only when the wallet is truly disconnected.

Related Issues

Closes #264

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Solana Phantom Wallet Connected but Deposit Fails with "Wallet Not Connected" Error
1 participant