ERC-7715 Support - #26
Open
csibbach wants to merge 6 commits into
Open
Conversation
added 6 commits
July 29, 2026 20:39
- Upgraded versions of `@1shotapi/ows-types`, `@1shotapi/ows-wallet-utils`, and related packages in `package.json` and `package-lock.json` to improve functionality. - Replaced `CachedRelayerCredentialRepository` with `CachedRelayerVaultRepository` for enhanced credential and delegation management. - Introduced `IDelegationRepository` interface and related types for managing ERC-7715 delegations. - Added new `CachedRelayerVaultRepository` implementation to handle both credentials and delegations securely. - Updated various components and hooks to utilize the new vault repository for credential storage and retrieval.
…nagement - Introduced `DelegationService` to handle creation and cancellation of execution permissions for ERC-20 period transfers. - Added `TransactionUtils` to provide shared functionality for transaction management across services. - Updated interfaces to include `IDelegationService` and related types for better delegation handling. - Refactored `TransactionService` to utilize `TransactionUtils` for wallet upgrade checks and payment quoting. - Integrated new services into the wallet provider for improved delegation and transaction capabilities.
- Implemented `GrantExecutionPermissionModal` and `CancelDelegationModal` for managing ERC-7715 permissions. - Updated `ModalHost` to handle new modal types for granting and canceling permissions. - Enhanced `styleForm.ts` with new text fields for permission titles and actions. - Integrated new styles and schemas for grant execution and cancellation processes. - Updated wallet provider to support execution permission requests and cancellations.
- Introduced a new Delegations tab in the wallet interface, allowing users to manage ERC-7715 permissions. - Added `DelegationsList` and `DelegationsTab` components for displaying and interacting with delegation permissions. - Updated `styleForm.ts` to include new text fields for the Delegations tab. - Enhanced the wallet provider to support delegation listing, refreshing, and cancellation functionalities. - Implemented necessary styles and schemas for the new Delegations features.
…ake them part of the class.
- Introduced `DEMO_EXECUTION_DELEGATEE` constant for EIP-7715 permissions. - Enhanced `WalletActions` component to manage session grants and delegation requests. - Implemented delegation request and cancellation functionalities in `useHostTestActions`. - Updated `TestPanel` to reflect new delegation capabilities. - Added storage functions for COSE public keys to support passkey registration and recovery. - Refactored `CachedRelayerVaultRepository` to handle COSE public key registration during credential recovery.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support for ERC-7715 delegations