Skip to content

Improvement: Standardized Context Management for ERC-7715 Permissions #121

@Smartdevs17

Description

@Smartdevs17

While implementing ERC-7715 permissions in EnvioPilot, we found that managing the permissionsContext between the initial request and the subsequent redemption (often in different parts of the app or different sessions) requires custom state management.

It would be beneficial if the smart-accounts-kit provided:

A hook or utility to persist and retrieve active permission contexts.
More granular error types for when a permission redemption fails due to limit exhaustion or expiry.
Impact: This would lower the barrier for developers to implement complex, long-running permissions and improve the overall developer experience.

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