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