Skip to content

[frontend] Providers: wagmi v2 + viem v2 + RainbowKit v2 + TanStack Query on Base Sepolia #44

@ozpool

Description

@ozpool

Context

Web3 providers wired up. Base Sepolia is the only supported chain in v1. RainbowKit handles wallet UX.

Ref: PRISM_PRD_v1.0.html §Day 1, §Day 5.

Scope

In scope:

  • apps/web/src/lib/wagmi.ts
  • Providers in providers.tsx: WagmiProvider, QueryClientProvider, RainbowKitProvider
  • Base Sepolia chain config

Out of scope:

  • Mainnet/other chains

Acceptance Criteria

  • Wallet connect + switch-network to Base Sepolia works end-to-end
  • All tx states rendered (idle/pending/success/error/wrong-network)
  • wagmi v2 + viem v2 (not ethers)
  • ABIs from packages/shared (never hand-maintained)
  • Keyboard navigable; semantic HTML; WCAG AA contrast
  • Responsive at 320 / 768 / 1280
  • pnpm typecheck && pnpm lint && pnpm test pass

Dependencies

References

  • wagmi v2, viem v2, RainbowKit v2

Estimate

S

Metadata

Metadata

Assignees

Labels

layer:frontendNext.js / wagmi / React / Tailwindpriority:p0-blockerBlocks the critical pathstatus:readyScoped and ready to pick uptype:featureNew capability or deliverable

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions