Skip to content

[frontend] Vault list page: data fetching + VaultCard components + link to detail #49

@ozpool

Description

@ozpool

Context

dApp entry. Fetches vault registry (via VaultFactory) and renders VaultCard grid.

Ref: PRISM_PRD_v1.0.html §Day 5.

Scope

In scope:

  • app/(app)/vaults/page.tsx
  • VaultCard component with states (loading/empty/error/active)
  • Server component for initial data, client for interactivity

Out of scope:

  • Filtering/search

Acceptance Criteria

  • Links route to /vault/[id]
  • 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

  • N/A

Estimate

M

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions