Skip to content

ERC-7715 Support - #26

Open
csibbach wants to merge 6 commits into
developfrom
feature/ERC7715
Open

ERC-7715 Support#26
csibbach wants to merge 6 commits into
developfrom
feature/ERC7715

Conversation

@csibbach

Copy link
Copy Markdown
Contributor

Support for ERC-7715 delegations

Charlie Sibbach 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.
- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant