wagmi

Provides React hooks and core API for wallet management, contracts, and transactions in Ethereum apps.

Updated Sep 29, 2025
One-click install
npx skills add https://github.com/cyotee/manamesh --skill wagmi-cyotee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wagmi
Source: https://github.com/cyotee/manamesh/tree/main/.opencode/skills/wagmi
Command: npx skills add https://github.com/cyotee/manamesh --skill wagmi-cyotee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simplify building Ethereum-enabled React apps by offering a cohesive, type-safe set of hooks and a core API that abstract away boilerplate for wallet connections, account state, and contract interactions.

Core Features & Use Cases

  • Typed React hooks for wallet connections, account state, transactions, and contract interactions.
  • Read/Write contracts and resolve ENS with a unified, ergonomic API, across multiple chains.
  • Use cases include dashboards, dApps, and wallet-focused interfaces with minimal boilerplate.

Quick Start

Install wagmi and wrap your React app with WagmiProvider to begin wiring wallet connections and contract interactions.

Frequently Asked Questions about wagmi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect an Ethereum wallet in a React dApp?

To connect an Ethereum wallet in a React dApp, install wagmi, create a config with createConfig, and wrap your application in WagmiProvider. This setup provides typed React hooks to manage wallet connections and account state with minimal boilerplate.

What is the best way to read and write Ethereum contracts using React hooks?

The best way to read and write Ethereum contracts using React hooks is using wagmi. It provides a unified, type-safe API to interact with contracts across multiple chains, abstracting away transaction boilerplate for dashboards and dApps.

Does wagmi work with TypeScript for Ethereum UI development?

Yes, wagmi works with TypeScript for Ethereum UI development by leveraging the viem client beneath it. This integration ensures type safety and performance across wallet management, transactions, and contract interactions.

Can I resolve ENS names and support multi-chain setups in my Ethereum dashboard?

You can resolve ENS names and support multi-chain setups in an Ethereum dashboard using wagmi. Its core API and React hooks handle multi-chain configurations and ENS resolution natively for wallet-centric interfaces.

Do I need viem to send transactions and manage accounts with wagmi?

Yes, you need viem to send transactions and manage accounts with wagmi. Wagmi requires a config created with createConfig and leverages viem underneath to provide type-safe client operations for Ethereum interactions.