Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Engine Wallet & 7702 Session Keys #126

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

0xFirekeeper
Copy link
Member

@0xFirekeeper 0xFirekeeper commented Jan 28, 2025

PR-Codex overview

This PR focuses on enhancing the Thirdweb library with new functionality for session keys and wrapped calls, specifically for the 7702 smart account model. It also updates access modifiers and introduces new methods for generating signatures and handling transactions.

Detailed summary

  • Changed access modifiers from internal to public for properties in ThirdwebContract.
  • Added new classes: SessionKeyParams_7702, Call, and WrappedCalls in AATypes.cs.
  • Implemented methods for generating signatures for wrapped calls and session keys in EIP712.cs.
  • Updated the Program.cs to include logic for session key creation and execution of wrapped calls.
  • Introduced EngineWallet class with methods for interacting with a backend wallet service.
  • Added error handling and validation for wallet operations in EngineWallet.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant