Comparison To Other Libraries
This comparison strives to be as accurate and as unbiased as possible. If you use any of these libraries and feel the information could be improved, feel free to suggest changes.
There are a multiple options when it comes to React libraries for Ethereum that help manage wallet connections, provide utility methods/hooks, etc.
|Supported Frameworks||React, Vanilla JS||React||React||Vanilla JS|
- 20+ hooks for working with wallets, ENS, contracts, transactions, signing, etc.
- Built-in wallet connectors for MetaMask, WalletConnect, Coinbase Wallet, and Injected
- Caching, request deduplication, and persistence powered
- Auto-refresh data on wallet, block, and network changes
- Test suite running against forked Ethereum network
- TypeScript ready and extensive documentation
- WAGMIT License (web3 MIT)
- Not as many connectors as
- Supports many different connectors (conceptually similar to wagmi's connectors)
- Basic hooks for managing account
- Used by Uniswap and some other popular projects
- Need to set up connectors and method for connecting wallet on your own
- Need to install connectors separately
- Almost no tests or documentation; infrequent updates
- GPL-3.0 License
- Auto-refresh on new blocks and wallet changes
- Multicall support
- Transaction notifications
- Chrome extension and Firefox add-on
- MIT License
- Non-standard hook API
- UI component for connecting wallet
- Supports many different connectors
- MIT License
- Cannot be used headlessly
- No hooks for interacting with Ethereum, fetching information, etc.
- Almost no tests and infrequent updates