A simple app to get started with web3-react (https://github.com/NoahZinsmeister/web3-react)
UNLICENSE License
This is a simple, structured sample of using web3-react.
The app fetches the block number and some basic information about DAI token, demonstrating use of basic functions and contract interactions.
The app demonstrates the following use-cases:
See features/web3
for the web3-react
setup. Note that Web3Provider
wraps App
in index.tsx
, and a Web3ConnectionManager
wraps the rest of the app in App.tsx
.
[email protected]
, which is recommended for use with new projects, but has limited documentation.Feel like you can improve this example? PRs are welcome! Just remember that this is intended as starter code. :)
Contributors:
Wouldn't be possible without:
See UNLICENSE for details.