feat(smart-account): add EIP-7702 / smart-account helper utilities #18

Merged
scheerenkevin merged 1 commit from feature/eip7702-smart-account-helpers into develop 2026-08-03 04:37:37 +00:00
scheerenkevin commented 2026-08-03 04:36:33 +00:00 (Migrated from github.com)

Summary

  • Eip7702Authorization validated dataclass + to_dict() for authorizationList entries
  • build_eip7702_user_operation() to build a UserOperation payload for an EIP-7702-delegated smart account
  • merge_sponsorship_result() non-mutating merge helper
  • No cryptographic signing (out of scope — this is an HTTP client, not a wallet/signing library)

Verified locally: hatch run lint, hatch run format-check, hatch run test (87 passed), hatch build.

Closes #8

Note: merges into develop, not the default branch main — issue closed manually after merge per repo process.

## Summary - `Eip7702Authorization` validated dataclass + `to_dict()` for `authorizationList` entries - `build_eip7702_user_operation()` to build a UserOperation payload for an EIP-7702-delegated smart account - `merge_sponsorship_result()` non-mutating merge helper - No cryptographic signing (out of scope — this is an HTTP client, not a wallet/signing library) Verified locally: `hatch run lint`, `hatch run format-check`, `hatch run test` (87 passed), `hatch build`. ## Related Closes #8 Note: merges into `develop`, not the default branch `main` — issue closed manually after merge per repo process.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kevin/alchemy-wallet-client!18
No description provided.