Skip to content

could not find a modular square root #967

@maxfelixxyz

Description

@maxfelixxyz

When logging in with an injected wallet like MM or Rabby.
The login process fails due to the cause of

providers.tsx:30 Turnkey error: Error: could not find a modular square root
    at modSqrt (math.ts:15:13)
    at uncompressRawPublicKey (crypto.ts:451:18)
    at addressFromPublicKey (utils.ts:840:29)
    at errorCode (core.ts:1113:40)
    at async withTurnkeyErrorHandling (utils.ts:954:12)

happens with the react-wallet-kit in the browser

Screen.Recording.2025-09-22.at.17.42.48.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions