-
Notifications
You must be signed in to change notification settings - Fork 9
docs: make 7702 default #962
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
base: main
Are you sure you want to change the base?
Conversation
🌿 Documentation Preview
|
27c4ef6 to
1dd2082
Compare
702d166 to
188d890
Compare
There was a problem hiding this 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_requestAccountbefore 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.
Description
Related Issues
Changes Made
Testing
pnpm run validate)