Add a wallet login button
Configure UnlockPanelManager once at startup, then add a reusable connect and disconnect button that works with every registered wallet provider.
Configure UnlockPanelManager once at startup, then add a reusable connect and disconnect button that works with every registered wallet provider.
A dedicated Ledger login button using ProviderFactory directly, including the anchor element the SDK renders its own device-connect and account-picker UI into.
A dedicated single-provider login button using ProviderFactory directly, with real extension detection and no generic multi-provider picker UI.
A dedicated xPortal login button using ProviderFactory and WalletConnect v2 directly, including the QR-code anchor element and project ID setup.
Side-by-side v4 vs v5 diffs for every removed hook, component, and import path. The shortest viable upgrade path for an existing v4 dApp.
The full-app version of the DappProvider removal, every file that touches it, including the session-restore state v4 quietly handled for you.
The same hook name still resolves in v5 but returns less data, silently. The easiest migration bug to miss because nothing forces a second look at it.
The v4 hook this migration is named for does not exist in the real package. What does exist is batch sends and a v5 nested-array trigger.
A working Next.js 15 App Router starter with sdk-dapp v5. Client-only init wrapper, the real next.config.js, login button, account hook, compiles strict.
The smallest working sdk-dapp v5 setup in a fresh Vite + React + TypeScript project. Compiles strict on the first try, with HTTPS dev built in.
How nativeAuth issues a bearer token on login, why loginExpiresAt is not the token's real expiry, and how LogoutManager schedules the warning toast and logout.
Every AccountType field explained, which ones are optional, how to format the balance correctly, and when to reach for useGetAccountInfo instead.
The canonical sdk-dapp v5 sign, send, and track flow. provider.signTransactions then TransactionManager.send and .track, with proper nonce handling.
Track a transaction's live status via sdk-dapp's WebSocket-with-polling-fallback tracker and the pending/successful/failed hooks.
Four real bugs found while verifying cookbook recipes against installed sdk-dapp, plus the tsconfig flags and ESLint rules that catch them.