Skip to content

feat(wallet-react-ui): PoC add external-wallet auth method#323

Draft
brtkx wants to merge 2 commits into
mainfrom
bartek/poc/third-party-wallets
Draft

feat(wallet-react-ui): PoC add external-wallet auth method#323
brtkx wants to merge 2 commits into
mainfrom
bartek/poc/third-party-wallets

Conversation

@brtkx

@brtkx brtkx commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds an external-wallet sign-in method to the kit: injected wallets via EIP-6963 auto-discovery plus an in-house WalletConnect QR step — own UI end to end, no Reown components, no runtime registry API. PoC scope.

Done & working

  • Auth flow'external-wallet' in AuthMethod; SignUp gains "Continue with a wallet" → wallet-selection step.
  • Wallet list — 6963-discovered + dev-configured connectors (zerodev row filtered out); click = plain wagmi connect, the wallet's own provider serves RPC afterwards (embedded wallet and provider.ts never involved).
  • Wallet guidewalletGuide.ts: 10 wallets (name, rdns, inline SVG icon, mobile deep-link prefix, download URL). Rows currently open the vendor download page.
  • WalletConnect step — kit creates wagmi's walletConnect({ showQrModal: false }) from new ZeroDevKitConfig.walletConnectProjectId (registered via the same _internal path wagmi's own connect() uses; reuses a dev-added WC connector if present); subscribes display_uri before connecting; QR rendered in-house with uqr.
  • PlumbingwalletConnectProjectId flows kit config → kit store (same pattern as logo).
  • Demo — method enabled, PoC Reown projectId, mainnet + arbitrum added.
  • Depsuqr@^0.1.3 (kit).

Still to do (not in this PR)

  • undiscovered (not installed) wallets become connect-capable

How to test

  1. pnpm --filter @zerodev/signer-demo devlocalhost:3000.
  2. Injected: sign-in modal → Continue with a wallet → WalletConnect → Scan QR code in any wallet app → modal closes, dapp connected via the wallet's provider.

@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
zerodev-signer-demo Ready Ready Preview, Comment Jul 13, 2026 12:33pm

Request Review

@pkg-pr-new

pkg-pr-new Bot commented Jul 13, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/zerodevapp/zerodev-wallet-sdk/@zerodev/wallet-core@323
npm i https://pkg.pr.new/zerodevapp/zerodev-wallet-sdk/@zerodev/wallet-react@323
npm i https://pkg.pr.new/zerodevapp/zerodev-wallet-sdk/@zerodev/react-ui@323
npm i https://pkg.pr.new/zerodevapp/zerodev-wallet-sdk/@zerodev/wallet-react-ui@323

commit: 8e08cb8

@brtkx brtkx changed the title feat(wallet-react-ui): add external-wallet auth method, wallet guide, and WC pairing step feat(wallet-react-ui): PoC add external-wallet auth method Jul 13, 2026
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.

1 participant