Web3NextjsAuth icon indicating copy to clipboard operation
Web3NextjsAuth copied to clipboard

Authenticate your users through a web3 wallet like metamask

This is a Next.js project bootstrapped with create-next-app.

Resources

  • To know more about web3 authentication i sudjest you this article https://www.toptal.com/ethereum/one-click-login-flows-a-metamask-tutorial
  • To connect the wallets i use web3-react

Getting Started

  • First, run the development server:
npm run dev
# or
yarn dev
  • Open http://localhost:3000 with your browser to see the result.

  • Connect a wallet by clicking Connecct with metamask

  • Click the login button on the web app

  • Sign the note that appear through metamask popup

  • Now you are logged in