wagmi

Integrate Celo blockchain wallet connections and contract interactions in React apps.

7|2|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/LuisSambrano/antigravity-config --skill wagmi-luissambrano
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wagmi
Source: https://github.com/LuisSambrano/antigravity-config/tree/main/skills/8-blockchain/wagmi
Command: npx skills add https://github.com/LuisSambrano/antigravity-config --skill wagmi-luissambrano

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wagmi, [email protected], @tanstack/react-query, and includes references (resource) components.

What problem does it solve?

This Skill simplifies the integration of Celo blockchain functionalities into React applications, abstracting away complex Web3 interactions.

Core Features & Use Cases

  • Wallet Connection: Seamlessly connect user wallets (like MetaMask) to your dApp.
  • Contract Interaction: Easily read data from and write transactions to Celo smart contracts using React hooks.
  • State Management: Manage blockchain state, balances, and network information within your React components.
  • Use Case: Build a decentralized application on Celo that allows users to connect their wallets, view their token balances, and interact with a DeFi protocol.

Quick Start

Use the wagmi skill to connect a user's wallet and display their Celo account address.

Frequently Asked Questions about wagmi

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

FAQPage Schema
How do I connect a Celo wallet to my React dApp?

Connect a Celo wallet in your React dApp using wagmi hooks to handle MetaMask integration and manage network state within your UI components.

What is the best way to read and write data to Celo smart contracts using React?

Read and write Celo smart contract data in React using wagmi hooks, leveraging viem and @tanstack/react-query for efficient blockchain state management and transaction execution.

Do I need viem and @tanstack/react-query to build a Celo dApp with wagmi?

Yes, building a Celo dApp with wagmi requires viem and @tanstack/react-query as dependencies to handle efficient blockchain state management and contract interactions within your React application.

Can I send native Celo currency transactions through React hooks?

Yes, you can send native Celo currency transactions using wagmi hooks to write and execute transactions directly within your React application components.

How does wagmi manage blockchain state and balances in a Web3 React application?

wagmi manages Web3 blockchain state and balances by leveraging viem and @tanstack/react-query to maintain network information and token data efficiently within your React components.

What are the limitations of using React hooks for Celo blockchain interactions?

Using wagmi React hooks for Celo interactions is limited to environments supporting React, viem, and @tanstack/react-query, making it unsuitable for non-React frameworks or server-side contexts lacking these dependencies.