# Wagmi

[BASE product page](<https://base.akulich.dev/en/library/wagmi/>) · [Resource](<https://github.com/wevm/wagmi>)

ID: wagmi · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

Typed React and core primitives for Ethereum applications: they connect wallet connections, contract reads, and transactions to an interface\.

## Type

Web framework / library

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/wagmi/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/wagmi/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/wagmi/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/wagmi/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/wagmi/#resource-tasks>)

- Add wallet connection and contract reading to an interface
- Connect a contract read to a screen and verify the result with a test wallet

## Category IDs

- frontend

## Subcategory IDs

- frontend\.utilities

## Tags

- Wagmi
- web
- Development

## Also known as

- wevm/wagmi
- wagmi
- ethereum\-reactive\-primitives

## [Selection purpose](<https://base.akulich.dev/en/library/wagmi/#resource-selection>)

Add wallet connection and contract reading to an interface

## [Choose this when](<https://base.akulich.dev/en/library/wagmi/#resource-selection>)

- Add wallet connection and contract reading to an interface
- Connect a contract read to a screen and verify the result with a test wallet

## [Requirements](<https://base.akulich.dev/en/library/wagmi/#resource-selection>)

- Manual installation in the guide includes wagmi, viem@2\.x, and @tanstack/react\-query\. TypeScript is recommended but optional; config registration infers permitted chain IDs\.

## [Limitations](<https://base.akulich.dev/en/library/wagmi/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.
- The example configures transport separately per chain\. Wallet, RPC, and blockchain access depend on this configuration; installing hooks alone does not provide every external endpoint\.

## [Questions before use](<https://base.akulich.dev/en/library/wagmi/#resource-faq>)

### What can you use for free in Wagmi?

Code and local use under MIT\.

### What additional costs might arise with Wagmi?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for Wagmi?

MIT for the code; dependencies have separate licenses\.

### How do you get started with Wagmi?

Configure the wallet connector and chosen application test network\. Connect a contract read to a screen and verify the result with a test wallet\. Add real data and error handling; check the production build\.

### How does Wagmi React connect Ethereum requests to components?

createConfig defines chains and transports\. Wrap the application in WagmiProvider and QueryClientProvider: Wagmi provides hooks, Viem performs blockchain operations, and TanStack Query manages async state and caching\.

## Sources for the selection guide

- [https://github\.com/wevm/wagmi](<https://github.com/wevm/wagmi>)
- [https://raw\.githubusercontent\.com/wevm/wagmi/HEAD/LICENSE](<https://raw.githubusercontent.com/wevm/wagmi/HEAD/LICENSE>)
- [https://wagmi\.sh/](<https://wagmi.sh/>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)
- [https://wagmi\.sh/react/getting\-started](<https://wagmi.sh/react/getting-started>)

## [Possible workflow](<https://base.akulich.dev/en/library/wagmi/#resource-scenario>)

Add wallet connection and contract reading to an interface\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- Web application source code and the intended workflow\.
- The project's framework and runtime version\.

## Steps

1. Configure the wallet connector and chosen application test network\.
2. Connect a contract read to a screen and verify the result with a test wallet\.
3. Add real data and error handling; check the production build\.

## Check your result

- The interface correctly handles an unsupported network, wallet refusal, and disconnection\.
- Test contract reads on a test network; keys and financial operations are excluded from the test scenario\.

## [License](<https://base.akulich.dev/en/library/wagmi/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## Related resource IDs

- foundry

## [Sources](<https://base.akulich.dev/en/library/wagmi/#resource-sources>)

- [Official source](<https://github.com/wevm/wagmi>)
- [License](<https://raw.githubusercontent.com/wevm/wagmi/HEAD/LICENSE>)
- [Official source](<https://wagmi.sh/>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)
- [Official source](<https://wagmi.sh/react/getting-started>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
