Web3 React

A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps
Alternatives To Web3 React
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
a month ago112otherJavaScript
Mastering Ethereum, by Andreas M. Antonopoulos, Gavin Wood
Metamask Extension10,903315 hours ago2June 10, 20221,705otherJavaScript
:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
Full Blockchain Solidity Course Py10,031
5 months ago215mit
Ultimate Solidity, Blockchain, and Smart Contract - Beginner to Expert Full Course | Python Edition
Scaffold Eth8,909
2 months ago2mitCSS
🏗 forkable Ethereum dev stack focused on fast product iterations
Wtf Solidity8,696
7 days ago19otherSolidity
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用,每周更新1-3讲。Now supports English! 官网: https://wtf.academy
17 hours ago2September 21, 2023895apache-2.0Rust
Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
Hardhat6,366204,13215 hours ago135November 15, 2023433otherTypeScript
Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
Awesome Solidity6,134
2 months ago7
⟠ A curated list of awesome Solidity resources, libraries, tools and more
Web3 React5,217372a month ago79October 02, 2023146gpl-3.0TypeScript
A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps
Wagmi5,081592a day ago381December 04, 202335mitTypeScript
React Hooks for Ethereum
Alternatives To Web3 React
Select To Compare

Alternative Project Comparisons

web3-react (beta)


Looking for the prior version of this library? It's available on the v6 branch.


This is a hosted version of example.


Package Version Size Link
@web3-react/types npm minzip
@web3-react/store npm minzip
@web3-react/core npm minzip
@web3-react/eip1193 npm minzip EIP-1193
@web3-react/empty npm minzip
@web3-react/gnosis-safe npm minzip Gnosis Safe
@web3-react/metamask npm minzip MetaMask
@web3-react/network npm minzip
@web3-react/url npm minzip
@web3-react/walletconnect-v2 npm minzip WalletConnect
@web3-react/coinbase-wallet npm minzip Coinbase Wallet
@web3-react-trust-wallet npm minzip Trust Wallet
@avalabs/web3-react-core-connector npm minzip Core Wallet
@venly/web3-react-venly npm minzip Venly

Get Started

  • yarn
  • yarn start

In addition to compiling each package in watch mode, this will also spin up /example on localhost:3000.

Run Tests

  • yarn build
  • yarn test --watch


  • yarn lerna publish [--dist-tag]


This version of web3-react is still in beta, so unfortunately documentation is pretty sparse at the moment. /example, TSDoc comments, and the source code itself are the best ways to get an idea of what's going on. More thorough documentation is a priority as development continues!

Upgrading Connector Dependencies

Some connectors have one or more dependencies that are specific to the connection method in question. For example, the walletconnect connector relies on @walletconnect/ethereum-provider package to handle a lot of the connection logic. Often, you may wish to upgrade to the latest version of a client package, to take advantage of the latest features. web3-react makes the process of upgrading client packages fairly painless by specifying them as peerDependencies. This means that you have to explicitly install client packages, and therefore may transparently switch between any version that agrees with the semver specified in the connector (usually any matching major).

Third-Party Connectors

The decision to publish a connector under the @web3-react namespace is fully up to the discretion of the team. However, third-party connectors are always welcome! This library was designed to be highly modular, and you should be able to draw inspiration from the existing connectors to write your own. That connector can live inside your codebase, or even be published as a standalone package. A selection of third-party connectors that have widespread usage may be featured below, PRs modifying this list are welcome.

Upgrading from v6

While the internals of web3-react have changed fairly dramatically between v6 and v8, the hope is that usage don't have to change too much when upgrading. Once you've migrated to the new connectors and state management patterns, you should be able to use the hooks defined in @web3-react/core, in particular useWeb3React (or usePriorityWeb3React), as more or less drop-in replacements for the v6 hooks. The big benefit in v8 is that hooks are now per-connector, as opposed to global, so no more juggling between connectors/multiple roots!

Popular Ethereum Projects
Popular Dapp Projects
Popular Blockchain Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.