This is an example project demonstrating the use of @uauth/web3-react
-
Build your local copy of the
uauth
repo.# From the top level of the uauth repo yarn install yarn build
Or add a live version of the
@uauth/web3-react
package to the project.# Inside this project folder yarn add @uauth/js @uauth/web3-react
-
Install the project dependencies.
yarn install
-
Start the development server.
yarn start
- index.tsx - The root of the React app.
- connectors.ts - The configuration for
web3-react
. - App.tsx - A login page implementation.
For step-by-step instructions for integrating with @uauth/web3-react
, see the Login Integration Pathways and the Web3 React integration guide.