Skip to content

docs: add session keys how-to and fix unsafe EIP-7702 examples - #51

Merged
bastienrp merged 2 commits into
mainfrom
feat/session-keys
Oct 12, 2026
Merged

bastienrp merged 2 commits into
mainfrom
feat/session-keys

Conversation

@bastienrp

Copy link
Copy Markdown
Contributor
  • Add how-to/session-keys: delegate an EOA to Modular Account v2 via Alchemy Wallet APIs, grant a scoped expiring session key, send with it, and clear the delegation.
  • account-abstraction: replace Multicall3 (callable by anyone once delegated) with a self-only BatchExecutor; drop the SpendingLimitExecutor and SessionKeyExecutor examples, which let any caller drain the EOA.
  • Fix the self-sponsored authorization nonce (current + 1) and use ethers' wallet.authorize() in account-abstraction, subscribe-and-collect, and the EIP-7702 reference.
  • Fix links that pointed the implementation guide at the reference page.

Summary

Docs i18n checklist

  • Edited docs/pages/en/ only (did not hand-edit cn/ko content)
  • Updated docs/sidebar.json (/en/) if pages were added, moved, or renamed
  • Reviewed the auto-generated cn/ko translations committed to this PR
  • If a page was deleted/renamed: applied the same change to cn and ko
  • npm run i18n:check reports 0 missing (stale warnings OK)

- Add how-to/session-keys: delegate an EOA to Modular Account v2 via
  Alchemy Wallet APIs, grant a scoped expiring session key, send with it,
  and clear the delegation.
- account-abstraction: replace Multicall3 (callable by anyone once
  delegated) with a self-only BatchExecutor; drop the SpendingLimitExecutor
  and SessionKeyExecutor examples, which let any caller drain the EOA.
- Fix the self-sponsored authorization nonce (current + 1) and use ethers'
  wallet.authorize() in account-abstraction, subscribe-and-collect, and the
  EIP-7702 reference.
- Fix links that pointed the implementation guide at the reference page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Styleguide check

✓ 134 en pages — 0 blocking, 9 warnings

docs/pages/en/explanation/autobahn.mdx

  • ⚠ warning: marketing word "robust" (L20)
  • ⚠ warning: marketing word "seamless" (L34)

docs/pages/en/explanation/consensus.mdx

  • ⚠ warning: marketing word "robust" (L32)

docs/pages/en/explanation/ethereum-compatibility.mdx

  • ⚠ warning: marketing word "seamless" (L10)

docs/pages/en/how-to/monitor-node.mdx

  • ⚠ warning: marketing word "comprehensive" (L7)

docs/pages/en/how-to/troubleshoot-node.mdx

  • ⚠ warning: marketing word "comprehensive" (L7)

docs/pages/en/reference/ramps.mdx

  • ⚠ warning: marketing word "seamless" (L28)

docs/pages/en/reference/wallets.mdx

  • ⚠ warning: marketing word "powerful" (L88)
  • ⚠ warning: marketing word "seamless" (L35)

Enforced by npm run style:check — see STYLEGUIDE.md.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
🔵 In progress
View logs
docs a133baa Oct 12 2026, 06:50 AM

@bastienrp
bastienrp merged commit 09d1ef7 into main Oct 12, 2026
3 of 4 checks passed
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