Skip to content

Conversation

@jakehobbs
Copy link
Contributor

Description

Related Issues

Changes Made

Testing

  • I have tested these changes locally
  • I have run the validation scripts (pnpm run validate)
  • I have checked that the documentation builds correctly

@github-actions
Copy link

github-actions bot commented Jan 22, 2026

🌿 Documentation Preview

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Jan 27, 2026, 1:20 AM

@github-actions github-actions bot temporarily deployed to docs-preview January 22, 2026 23:34 Destroyed
@github-actions github-actions bot temporarily deployed to docs-preview January 22, 2026 23:40 Destroyed
@github-actions github-actions bot temporarily deployed to docs-preview January 22, 2026 23:42 Destroyed
@github-actions github-actions bot temporarily deployed to docs-preview January 23, 2026 00:23 Destroyed
@github-actions github-actions bot temporarily deployed to docs-preview January 23, 2026 00:40 Destroyed
@github-actions github-actions bot temporarily deployed to docs-preview January 23, 2026 16:32 Destroyed
@github-actions github-actions bot temporarily deployed to docs-preview January 27, 2026 00:14 Destroyed
@github-actions github-actions bot temporarily deployed to docs-preview January 27, 2026 00:47 Destroyed
@github-actions github-actions bot temporarily deployed to docs-preview January 27, 2026 00:48 Destroyed
@github-actions github-actions bot temporarily deployed to docs-preview January 27, 2026 00:59 Destroyed
@github-actions github-actions bot temporarily deployed to docs-preview January 27, 2026 01:18 Destroyed
@jakehobbs jakehobbs marked this pull request as ready for review January 27, 2026 01:19
@jakehobbs jakehobbs requested a review from a team as a code owner January 27, 2026 01:19
Copilot AI review requested due to automatic review settings January 27, 2026 01:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the documentation to reflect that EIP-7702 is now the default mode for Alchemy Smart Wallets. Users can now use their signer address directly without first calling wallet_requestAccount, simplifying the wallet setup process.

Changes:

  • Made EIP-7702 the default mode for smart wallets throughout documentation
  • Removed the requirement to call wallet_requestAccount before transactions in most examples
  • Updated code examples to use signer addresses directly instead of account addresses
  • Added guidance on how to opt out of 7702 mode when needed

Reviewed changes

Copilot reviewed 35 out of 35 changed files in this pull request and generated no comments.

Show a summary per file
File Description
fern/wallets/pages/transactions/using-eip-7702/index.mdx Updated to explain EIP-7702 as default, added opt-out instructions with examples
fern/wallets/pages/transactions/using-eip-7702/client.mdx Removed explicit 7702 capability and account setup code
fern/wallets/pages/transactions/using-eip-7702/api.mdx Updated to show 7702 as default mode in API calls
fern/wallets/pages/transactions/swap-tokens/client.mdx Removed requestAccount call, updated to use signer address directly
fern/wallets/pages/transactions/swap-tokens/api.mdx Removed requestAccount step, fixed typo in parameter name
fern/wallets/pages/transactions/sponsor-gas/client.mdx Removed requestAccount setup, simplified client initialization
fern/wallets/pages/transactions/sponsor-gas/api.mdx Removed requestAccount step from API guide
fern/wallets/pages/transactions/signing/sign-typed-data/index.mdx Added note about delegation requirement for signatures
fern/wallets/pages/transactions/signing/sign-typed-data/client.mdx Updated to use signer address with explicit account parameter
fern/wallets/pages/transactions/signing/sign-messages/index.mdx Added note about delegation requirement for signatures
fern/wallets/pages/transactions/signing/sign-messages/client-text.mdx Updated to use signer address with explicit account parameter
fern/wallets/pages/transactions/signing/sign-messages/client-raw.mdx Updated to use signer address with explicit account parameter
fern/wallets/pages/transactions/send-transactions/prepare-calls/client.mdx Updated to use signer address directly in prepareCalls
fern/wallets/pages/transactions/send-transactions/encoding-function-data/client.mdx Updated to use signer address, replaced dynamic address with static example
fern/wallets/pages/transactions/send-transactions/encoding-function-data/api.mdx Updated to use signer address in API examples
fern/wallets/pages/transactions/send-transactions/client.mdx Removed requestAccount setup, simplified client code
fern/wallets/pages/transactions/send-transactions/api.mdx Removed requestAccount step, added complete signing flow for array responses
fern/wallets/pages/transactions/send-parallel-transactions/client.mdx Updated to use signer address for parallel transactions
fern/wallets/pages/transactions/send-parallel-transactions/api.mdx Removed requestAccount step from parallel transactions guide
fern/wallets/pages/transactions/send-batch-transactions/client.mdx Updated batch transaction examples to use signer address
fern/wallets/pages/transactions/send-batch-transactions/api.mdx Removed requestAccount step from batch guide
fern/wallets/pages/transactions/retry-transactions/client.mdx Updated retry examples with signer address, fixed API calls
fern/wallets/pages/transactions/retry-transactions/api.mdx Removed requestAccount step from retry flow
fern/wallets/pages/transactions/pay-gas-with-any-token/client.mdx Updated gas payment examples to use signer address
fern/wallets/pages/transactions/pay-gas-with-any-token/api-preop.mdx Removed requestAccount step, updated step references
fern/wallets/pages/transactions/pay-gas-with-any-token/api-postop.mdx Removed requestAccount step from postop flow
fern/wallets/pages/transactions/cross-chain-swap-tokens/index.mdx Fixed code comment formatting
fern/wallets/pages/transactions/cross-chain-swap-tokens/client.mdx Updated to use signer address for cross-chain swaps
fern/wallets/pages/transactions/cross-chain-swap-tokens/api.mdx Removed requestAccount step, updated step references
fern/wallets/pages/smart-wallets/session-keys/sdk.mdx Updated session key examples to use signer address
fern/wallets/pages/smart-wallets/session-keys/index.mdx Updated session key installation example
fern/wallets/pages/smart-wallets/session-keys/api.mdx Restructured session key API guide to show delegation first
fern/wallets/pages/smart-wallets/quickstart/sdk.mdx Reordered quickstart to show transactions before signing
fern/wallets/pages/smart-wallets/quickstart/api.mdx Removed requestAccount step, added complete delegation flow
fern/docs.yml Updated navigation title from "EIP-7702 transactions" to "How EIP-7702 works"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

reference](/wallets/api-reference/smart-wallets/wallet-api-endpoints/wallet-api-endpoints/wallet-prepare-calls)
for full descriptions of the parameters used in the following example.

EIP-7702 is now the default mode when using your signer address directly with `wallet_prepareCalls`. The API will automatically return an authorization request when delegation is needed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: remove "now" as that will get stale


Use the `eip7702Auth` capability on the smart wallet client `sendCalls` action. `sendCalls` will automatically
sign any required authorization requests to delegate the EOA to Modular Account v2.
EIP-7702 is now the default mode for Smart Wallets. Simply create a client with your signer and use `sendCalls` - the SDK will automatically handle authorization requests to delegate the EOA to Modular Account v2 when needed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: remove "now"

Copy link
Contributor

@dancoombs dancoombs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM. Do we still have good documentation on how to use a non-7702 account somewhere?

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.

2 participants