Open
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
🌿 Documentation Preview
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR migrates the wallet documentation from the v4 SDK (@account-kit/wallet-client) to the v5 SDK (@alchemy/wallet-apis@0.0.0-alpha.19). The migration simplifies the API by adopting viem-native types, reducing package dependencies, and making EIP-7702 the default delegation mode for smart wallets.
Changes:
- Updated all code examples across transaction, signing, and third-party integration documentation to use the new v5 API
- Added a comprehensive migration guide documenting all breaking changes and migration patterns
- Replaced custom signer wrappers with viem's native
privateKeyToAccountand directWalletClientusage - Updated API parameters: removed
fromandaccountparameters (now inferred), renamedpaymasterServicetopaymaster, changed value formats from hex strings to bigints - Added TODO comments for SDK reference links that will be published after the alpha release
Reviewed changes
Copilot reviewed 26 out of 26 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| fern/wallets/pages/transactions/using-eip-7702/third-party.mdx | Updated Privy third-party signer example to use v5 API, removed WalletClientSigner wrapper |
| fern/wallets/pages/transactions/using-eip-7702/index.mdx | Updated EIP-7702 usage examples with v5 imports and simplified client creation |
| fern/wallets/pages/transactions/using-eip-7702/client.mdx | Updated sendCalls examples with v5 API, removed from parameter and eip7702Auth capability |
| fern/wallets/pages/transactions/swap-tokens/client.mdx | Updated swap token examples with v5 imports and paymaster configuration |
| fern/wallets/pages/transactions/sponsor-gas/index.mdx | Added TODO comments for future SDK reference links |
| fern/wallets/pages/transactions/sponsor-gas/client.mdx | Updated gas sponsorship examples with v5 API and paymaster capability |
| fern/wallets/pages/transactions/signing/sign-typed-data/client.mdx | Updated signTypedData examples, removed explicit account parameter |
| fern/wallets/pages/transactions/signing/sign-messages/client-text.mdx | Updated signMessage examples with v5 API |
| fern/wallets/pages/transactions/signing/sign-messages/client-raw.mdx | Updated raw message signing examples with v5 API |
| fern/wallets/pages/transactions/send-transactions/prepare-calls/client.mdx | Updated prepareCalls flow with v5 API, removed from parameter |
| fern/wallets/pages/transactions/send-transactions/encoding-function-data/client.mdx | Updated function data encoding examples with v5 imports |
| fern/wallets/pages/transactions/send-transactions/client.mdx | Updated sendCalls examples with v5 API and bigint values |
| fern/wallets/pages/transactions/send-parallel-transactions/client.mdx | Updated parallel transaction examples with v5 API and paymaster capability |
| fern/wallets/pages/transactions/send-batch-transactions/client.mdx | Updated batch transaction examples with v5 API |
| fern/wallets/pages/transactions/retry-transactions/client.mdx | Updated retry transaction examples with v5 API |
| fern/wallets/pages/transactions/pay-gas-with-any-token/index.mdx | Added TODO comments for future SDK reference links |
| fern/wallets/pages/transactions/pay-gas-with-any-token/client.mdx | Updated ERC-20 gas payment examples with v5 API and bigint values |
| fern/wallets/pages/transactions/cross-chain-swap-tokens/client.mdx | Updated cross-chain swap examples with v5 imports and paymaster configuration |
| fern/wallets/pages/third-party/signers/turnkey.mdx | Updated Turnkey integration to use v5 API, removed WalletClientSigner wrapper |
| fern/wallets/pages/third-party/signers/privy.mdx | Updated Privy integration to use v5 API, removed WalletClientSigner wrapper |
| fern/wallets/pages/third-party/signers/custom-integration.mdx | Updated custom signer integration guide with v5 patterns |
| fern/wallets/pages/smart-wallets/session-keys/sdk.mdx | Updated session keys documentation with v5 API and new signing flow |
| fern/wallets/pages/smart-wallets/quickstart/sdk.mdx | Updated quickstart guide with v5 API and simplified client creation |
| fern/wallets/pages/resources/migration-v5.mdx | Added comprehensive migration guide from v4 to v5 with all breaking changes |
| fern/wallets/pages/concepts/smart-account-client.mdx | Updated smart wallet client configuration with v5 API |
| fern/wallets/pages/authentication/what-is-a-signer.mdx | Updated signer documentation to reference viem's native account types |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
avarobinson
reviewed
Feb 17, 2026
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…signing pages Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
🔗 Preview Mode
|
Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Related Issues
Changes Made
Testing
pnpm run validate)