Skip to content

Commit 102a8c8

Browse files
committed
[Portal] EIP-7702 Session Key Docs (.NET) (#7448)
Closes TOOL-4880 <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces new features and updates for the `EcosystemWallet` in the Thirdweb .NET SDK, focusing on EIP-7702 functionalities, including session management and permissions. ### Detailed summary - Added new sidebar links for EIP-7702 actions. - Updated `CreateSessionKey` function to include EIP-7702 functionalities. - Introduced detailed documentation for new methods: `SignerHasFullPermissions`, `GetCallPoliciesForSigner`, `GetTransferPoliciesForSigner`, `GetSessionExpirationForSigner`, and `GetSessionStateForSigner`. - Each method includes usage examples, parameter details, return values, and exception handling. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Expanded sidebar navigation with new links for EIP-7702 session key actions under the wallet section. * Added documentation for EIP-7702 session key management, including creating session keys, checking signer permissions, retrieving call and transfer policies, session expiration, and session state. * **Documentation** * Introduced detailed guides and usage examples for new EIP-7702 wallet session key features and related methods in the .NET SDK. * Clarified sidebar link names to distinguish between EIP-4337 and EIP-7702 session key creation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 472e737 commit 102a8c8

File tree

7 files changed

+825
-1
lines changed

7 files changed

+825
-1
lines changed

apps/portal/src/app/dotnet/sidebar.tsx

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,30 @@ const walletActions: SidebarLink = (() => {
104104
href: `${parentSlug}/generateexternalloginlink`,
105105
name: "GenerateExternalLoginLink",
106106
},
107+
{
108+
href: `${parentSlug}/createsessionkey7702`,
109+
name: "CreateSessionKey (EIP-7702)",
110+
},
111+
{
112+
href: `${parentSlug}/signerhaspermissions7702`,
113+
name: "SignerHasFullPermissions",
114+
},
115+
{
116+
href: `${parentSlug}/getcallpolicies7702`,
117+
name: "GetCallPoliciesForSigner",
118+
},
119+
{
120+
href: `${parentSlug}/gettransferpolicies7702`,
121+
name: "GetTransferPoliciesForSigner",
122+
},
123+
{
124+
href: `${parentSlug}/getsessionexpiration7702`,
125+
name: "GetSessionExpirationForSigner",
126+
},
127+
{
128+
href: `${parentSlug}/getsessionstate7702`,
129+
name: "GetSessionStateForSigner",
130+
},
107131
],
108132
name: "InAppWallet & EcosystemWallet",
109133
},
@@ -116,7 +140,7 @@ const walletActions: SidebarLink = (() => {
116140
},
117141
{
118142
href: `${parentSlug}/createsessionkey`,
119-
name: "CreateSessionKey",
143+
name: "CreateSessionKey (EIP-4337)",
120144
},
121145
{
122146
href: `${parentSlug}/addadmin`,

0 commit comments

Comments
 (0)