Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Explore checking the users nonce to safeguard against stale MM tx cache #64

@escottalexander

Description

@escottalexander

Sometimes users have to start over and when they do they need to clear their MM wallet cache or else it thinks their nonce is higher than it should be. Their wallet will say that they have pending transactions right from the start. It is possible to get the users nonce with eth_getTransactionCount. If it doesn't line up with the transaction nonce we are about to request (this may be handled by the wallet as opposed to Wagmi in which case we will need to check their signed trasnaction for verification after handing it to them) then we show them a dialog with instructions on resetting the wallet cache and start them back from the beginning if necessary.

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