Skip to content

theonrex/web3-Authentication

Repository files navigation

Web3 Authentication

This is a website built with Next.js, firebase and Thirdweb SDK that allows users to login using their wallet address like metamask wallet address

Features

  • Login and Sign in with your cryptocurrency wallet
  • Update your profile in real time

Getting Started

Prerequisites Before you get started, make sure you have the following requirements installed on your machine:

  • Node.js
  • npm

Installation

Clone this repository to your local machine: Copy code

git clone https://github.com/theonrex/web3-Authentication

Navigate to the project directory:

 ## Install the dependencies:
Copy code
```sh
npm install

Create a file called .env in the root of the project and add the following environment variables: Copy code

NEXT_PUBLIC_API_KEY=
NEXT_PUBLIC_AUTH_DOMAIN=
NEXT_PUBLIC_PROJECT_ID=
NEXT_PUBLIC_STORAGE_BUCKET=
NEXT_PUBLIC_MESSAGING_SENDER_ID=
NEXT_PUBLIC_APP_ID=
NEXT_PUBLIC_MEASUREMENT_ID=
FIREBASE_PRIVATE_KEY= 

FIREBASE_CLIENT_ID=
FIREBASE_PRIVATE_KEY_ID=
FIREBASE_CLIENT_EMAIL=

Start the development server: Copy code

npm run dev

The website should now be running at http://localhost:3000.

Deployment To deploy theon-x to a production environment, follow these steps:

Build the production version of the website:

npm run build

Built With

  • Next.js - A framework for building server-rendered React applications
  • Firebase -Firebase is a backend platform that provides a suite of services to help you build and manage web and mobile applications.
  • Thirdweb - Thirdweb is a software development kit (SDK) that enables developers to create decentralized applications (dApps) on the Ethereum blockchain.

About

Web3 Authentication with MetaMask Integrated with Firebase Auth,Firestore and Thirdweb sdk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published