wagmi

Automate Ethereum dApp development with reactive hooks for React, Vue, and Solid.

4|1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/hairyf/blockchain-master --skill wagmi-hairyf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wagmi
Source: https://github.com/hairyf/blockchain-master/tree/main/skills/wagmi
Command: npx skills add https://github.com/hairyf/blockchain-master --skill wagmi-hairyf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Wagmi provides a unified, framework-agnostic approach to building Ethereum apps by offering reactive hooks and a core API for configuring chains, connectors, and contract interactions across React, Vue, and Solid.

Core Features & Use Cases

  • Centralized config and wallet connectors to simplify multi-chain setups.
  • Read/write contract interactions with optional TanStack Query integration for data fetching and caching.
  • Use Case: rapidly scaffold a wallet-connected dApp with consistent APIs across frameworks.

Quick Start

Create a Wagmi config with your desired chains and transports, then wrap your app with WagmiProvider to start using the hooks.

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 to my React dApp?

Wagmi provides reactive hooks and a core API to connect Ethereum wallets to React dApps, allowing you to configure connectors and wrap your app with WagmiProvider for multi-chain wallet connectivity.

What is the best way to read and write Ethereum smart contracts in Vue?

The best way to read and write Ethereum smart contracts in Vue is using Wagmi's reactive hooks, which offer contract interaction APIs with optional TanStack Query integration for data fetching and caching.

Does Wagmi support Solid apps for multi-chain Ethereum setups?

Yes, Wagmi supports Solid apps alongside React and Vue, providing a framework-agnostic core API with centralized config and wallet connectors to simplify multi-chain Ethereum setups.

How do I configure multiple chains for a Web3 application?

You configure multiple chains for a Web3 application by using createConfig to define desired chains and transports, then wrapping your app with WagmiProvider to activate the reactive hooks.

Do I need TanStack Query to fetch Ethereum contract data?

You do not need TanStack Query to fetch Ethereum contract data, as it is an optional integration in Wagmi for data fetching and caching, while the core hooks can read and write contracts independently.