Switching wallet infrastructure can affect connection sessions, signing behavior, mobile deep links, analytics, and payment status—not just an SDK import. This runbook gives engineering and product teams a reusable checklist for comparing providers, preserving user workflows, testing migration risks, and rolling out a new NFT wallet integration with a controlled rollback plan.
Overview
An NFT app may depend on several layers of wallet infrastructure at once: a browser-injected provider, a wallet connection protocol, a mobile linking mechanism, a wallet SDK, a transaction relay, an NFT wallet API, or a hosted onboarding service. Replacing one layer can change how users connect, approve messages, sign transactions, return from a wallet app, or recover from an interrupted checkout.
Before selecting a replacement, document the current integration as a set of observable behaviors rather than a list of packages. Record which chains and methods the app uses, how sessions are created and restored, what errors reach the user, and which analytics events support customer support and payment reconciliation. The goal is not to preserve every implementation detail. It is to preserve the user and business outcomes that depend on the integration.
Use the following rule throughout the migration: compare capabilities, test workflows, and release behind a reversible control. A provider that looks compatible at the API level may still differ in session namespaces, chain switching, signature prompts, mobile behavior, rate limits, or custody boundaries.
Provider comparison matrix
| Capability | What to record before migration | What to validate with the new provider |
|---|---|---|
| Supported chains | Production, test, and read-only networks; chain IDs; NFT standards used | Exact chain support, switching behavior, RPC assumptions, and unsupported-method handling |
| Session namespaces | Namespaces, accounts, methods, events, and session persistence rules | Whether sessions restore correctly and reject unsupported requests clearly |
| Deep links | Desktop QR flows, mobile browser flows, app-to-app returns, and interrupted redirects | Wallet selection, return URLs, universal links, fallback behavior, and back-button handling |
| Signature methods | Personal messages, typed data, transaction signing, and batch or marketplace actions | Prompt contents, encoding, rejection behavior, and compatibility with existing contracts |
| Custody boundary | Which keys are controlled by users, the application, or a third-party service | Changes to key ownership, recovery, export, permissions, and support responsibilities |
| Analytics events | Connect, disconnect, chain change, sign, submit, confirm, reject, and timeout events | Equivalent event names, identifiers, timestamps, and failure reasons |
| Rate limits | Request volume, concurrency, retry behavior, and current usage patterns | Documented limits, burst behavior, quota visibility, and appropriate backoff controls |
| Error codes | Errors used for rejection, disconnection, unsupported chains, timeouts, and transport failures | Mapping into stable application errors that support clear user messaging and monitoring |
| Rollback | Current configuration, feature flags, dependency versions, and session invalidation steps | A tested switch-back path that does not strand orders or require users to repeat avoidable actions |
Checklist by scenario
1. Migrating a browser wallet connection
- Inventory every connection entry point, including a primary connect button, account menu, NFT checkout, mint page, and marketplace listing flow.
- Test injected wallets and alternative connection paths independently. Do not assume that a successful desktop connection proves that mobile or extension-based flows work.
- Verify account changes, chain changes, disconnect events, locked-wallet states, and a second connection attempt after an initial rejection.
- Confirm that the application does not retain a stale account or chain after a wallet changes context.
- Compare how the old and new SDKs expose providers, signers, accounts, sessions, and transaction responses. Create an adapter layer if business logic should not depend directly on provider-specific objects.
2. Migrating WalletConnect or another session-based connection flow
- Record the current session namespace, supported methods, supported events, chain references, and session expiry behavior.
- Test QR code creation, QR expiration, wallet selection, return to the browser, and a user closing the wallet before signing.
- Test mobile deep links from supported browsers, including a wallet app that is installed and a device where it is not installed.
- Decide whether existing sessions will be allowed to expire naturally, explicitly disconnected, or migrated. Communicate any required reconnection in the interface.
- Confirm that a rejected request does not leave the UI permanently in a loading state or create duplicate transaction attempts.
For a broader chain and wallet assessment, use the multichain NFT wallet integration matrix. It can help separate a genuine chain-support gap from a connection-layer limitation.
3. Migrating signing and transaction workflows
- List every signing method: account authentication, personal messages, typed data, NFT minting, transfers, approvals, listings, offers, and purchases.
- Compare message encoding and typed-data serialization. A visually similar prompt can still produce a different payload.
- Confirm that contract addresses, chain IDs, token IDs, quantities, recipients, and transaction parameters are displayed and submitted as intended.
- Test user rejection, insufficient funds, an unsupported chain, a replaced transaction, a dropped transaction, and a successful confirmation.
- Keep transaction submission separate from confirmation in application state. A provider response that includes a transaction hash is not the same as final business fulfillment.
Pair this work with the NFT payment integration testing checklist and the smart contract integration checklist before exposing the new flow to real customers.
4. Migrating a custodial, embedded, or social-login wallet flow
- Write down the custody boundary in plain language: who controls keys, who can initiate transactions, and what recovery options exist.
- Map user identity to wallet identity without silently replacing an existing wallet or creating duplicate profiles.
- Test first login, returning login, account recovery, device change, email or social-provider change, and an account with existing NFTs or balances.
- Define how users export, connect, or transition to self-custody if the product supports that path.
- Review support procedures for lost access, suspicious activity, failed signing, and an account that cannot complete migration.
The NFT wallet onboarding UX checklist is useful when a provider change affects first-time users as well as experienced wallet users.
5. Migrating an NFT checkout or merchant integration
- Preserve the relationship between cart, order, wallet address, chain, payment asset, transaction hash, and fulfillment status.
- Test a customer connecting before checkout, connecting during checkout, switching wallets, switching chains, and returning after a failed signature.
- Confirm that an interrupted wallet session cannot create an order attributed to the wrong account.
- Keep payment confirmation and order fulfillment idempotent so retries do not mint or deliver the same NFT twice.
- Validate refund, cancellation, underpayment, overpayment, and expired-order handling where those cases are supported.
For operational controls, review the NFT payment reconciliation template and the NFT transaction monitoring runbook.
What to double-check before release
Dependency and protocol versions: Record the old and new SDK versions, adapter versions, protocol support, peer dependencies, and deprecated methods. Read migration notes and test the exact production build rather than only a local development build.
Environment separation: Use separate project identifiers, callback URLs, keys, and quotas for development, staging, and production. Confirm that staging cannot submit transactions to an unintended production contract or endpoint.
Browser and mobile behavior: Test current supported browsers, private browsing where relevant, mobile browsers, wallet apps, QR scanning, deep links, screen rotation, and interrupted navigation. Capture screen recordings for failures that are difficult to reproduce from logs alone.
Security and permissions: Inspect requested permissions, approved contracts, signing prompts, origin checks, redirect validation, and secret storage. Never ask users for seed phrases or private keys. If the new service changes custody, document that change prominently and obtain the necessary product and security review.
Observability: Preserve correlation IDs across connection, signing, transaction submission, webhook, and fulfillment events. Monitor connection success, session restoration, signing rejection, unsupported-chain errors, deep-link return failures, request latency, rate-limit responses, and order mismatches.
Fees and transaction status: Recheck gas estimation, fee presentation, replacement behavior, and confirmation handling. A provider migration may change when fees are estimated or which errors are returned. See NFT transfer fees explained for a separate review of transaction cost categories.
Common mistakes
- Equating API compatibility with workflow compatibility. Matching method names do not guarantee matching prompts, events, session behavior, or mobile returns.
- Changing the provider and the contract flow together. Separate infrastructure changes from smart contract changes so failures can be isolated.
- Ignoring existing sessions. A new connection layer may not understand sessions created by the old layer. Plan expiry, reconnection, and user messaging.
- Using provider-specific errors throughout the application. Normalize errors at the integration boundary so a future migration does not require rewriting checkout and account logic.
- Testing only a successful purchase. Rejections, chain changes, timeouts, duplicate clicks, wallet locks, and interrupted redirects are often more damaging than a visible happy-path failure.
- Releasing without a rollback switch. Keep the previous integration deployable until migration metrics and support signals are stable.
- Forgetting non-wallet dependencies. NFT payments also depend on indexing, RPC access, webhooks, order state, and reconciliation. A wallet connection can succeed while downstream fulfillment still fails.
When to revisit
Revisit this runbook before seasonal planning cycles, major launches, chain additions, wallet-provider renewals, or any scheduled dependency review. Update it whenever an SDK releases a breaking change, a connection protocol changes its supported methods, a wallet alters browser or mobile behavior, or a provider changes limits, error codes, custody features, or deprecated APIs.
Keep a dated migration record containing the provider versions tested, supported chains, known limitations, screenshots of important signing prompts, test results, incident notes, and the rollback procedure. Review that record after a production incident and after meaningful changes to checkout, minting, marketplace, or account-recovery flows.
For the next migration, take these actions in order:
- Freeze and document the current integration contract.
- Build the provider capability matrix and identify gaps.
- Implement an adapter with normalized sessions, errors, and analytics.
- Run desktop, mobile, multi-chain, signing, payment, and recovery tests in staging.
- Release to a controlled cohort behind a feature flag.
- Compare connection, signing, transaction, fulfillment, and support metrics with the existing flow.
- Expand gradually, or switch back using the tested rollback plan.
This process turns an NFT wallet provider migration from a package replacement into a managed change to the entire web3 wallet integration.