What problem does it solve?
This Skill provides a structured approach to implementing robust blockchain interactions in React apps by leveraging wagmi v3 and viem v2, covering contract reads, writes, and wallet/chain management with ABI integration and hook patterns.
Core Features & Use Cases
- Contract Reads: Read data from on-chain contracts via well-typed hooks.
- Contract Writes & Transaction Flows: Manage simulation, signing, submission, and confirmation using a state-machine pattern.
- Wallet & Chain Management: Handle wallet connections, chain switching, and Safe wallet support.
- ABI & Hooks Reference: Use standardized ABIs and pre-built hooks to minimize boilerplate in UI components.
- Use Case: Rapidly build a dApp with reliable transaction lifecycles and multi-network support.
Quick Start
Initialize wagmi-specialist by consulting the hook and contract references in this skill to implement a read/write flow in your component.