dapp-frontend-patterns
CommunityBuild robust dApp frontends with Wagmi + Viem.
Authorccashwell
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Streamline building modern dApp frontends by providing ready-to-use patterns for contract reads, writes, simulation, and transaction handling with Wagmi v2 and Viem.
Core Features & Use Cases
- Contract reading/writing patterns with useReadContract, useWriteContract, and useSimulateContract for safe, deterministic interactions.
- Transaction lifecycle handling with useWaitForTransactionReceipt to confirm on-chain events.
- Wallet UI & chain management via RainbowKit and chain switching, with ENS resolution for friendly addresses.
- Real-world use cases include dashboards that display token balances, perform single or batched contract calls, and manage user approvals and deposits.
Quick Start
Install Wagmi, Viem, and RainbowKit in your project and configure a Wagmi client to wrap your app with RainbowKitProvider.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dapp-frontend-patterns Download link: https://github.com/ccashwell/evm-cortex/archive/main.zip#dapp-frontend-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.