Skip to content

How do I use viem in React app? #219

Answered by jxom
AndreinNguyen asked this question in Question
Discussion options

You must be logged in to vote

wagmi is primarily for dapps & wallets – a high-level and stateful interface for Ethereum (React Hooks, Vanilla JS, etc).

viem is primarily for libraries, tooling, server-side dev, scripting, etc – a low-level and stateless interface for Ethereum.

I would use wagmi for a React application. Soon, wagmi will port from ethers.js to viem internally.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AndreinNguyen
Comment options

Answer selected by jxom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants