Skip to content

Frontend shows wallet connected before Keplr approval confirmation #32

@hammadtq

Description

@hammadtq

Issue:
When a new user connects their Keplr wallet, the frontend doesn't wait for the user to approve the connection in Keplr before showing the wallet as connected.

Steps to reproduce:

  1. New user clicks "Connect Wallet"
  2. User selects Keplr wallet
  3. Keplr prompts for approval
  4. Frontend immediately shows wallet as connected (enables "Disconnect Wallet" button) without waiting for user confirmation
  5. If user doesn't approve in Keplr but tries to place orders or check wallet, frontend shows random errors (wrong signature, etc.) instead of prompting for approval first

Expected behavior:

  • Frontend should wait for Keplr approval confirmation before showing wallet as connected
  • If approval is pending or denied, frontend should prompt user to approve the connection
  • Should not enable wallet actions until connection is fully confirmed

Current behavior:

  • Wallet appears connected before Keplr approval
  • Random errors appear when user tries to interact without having approved the connection

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions