Skip to content

guptaaditya30121/thirdweb-app

Repository files navigation

DOC-Chain Frontend

The Complete Solution to the Digital Identity Problem.


Installation

  • Step 1: Clone this repository into your local machine. (See here)
  • Step 2: Install all the dependencies.
npm install
  • Step 3: Run the React server.
npm start

Backend

The const folder inside the src folder contains the addresses of all the smart contracts. We don't have any backend other than three contracts already deployed on the blockchain.


Screens

Home Screen

This screen holds the main structure of the website. It contains different options to perform different tasks to request and send claims to other users or receive and send information to other users. This screen contains the AVATAR for the person, which is made by using GenAI

Home1 Home2 Home3

Docker Screen

This screen gives you all the documents uploaded by you, you can upload more documents to it. For managing documents, I have used IPFS as storing big files on the Blockchain is expensive

ipfs1

Voter Screen

It offers the option to create a new poll and displays all the polls in our contract along with their results. This ensures there is no tampering mechanism by not revealing which users have voted for which option.

Voting1

Building Access Screen

This screen displays all your permanent properties, as well as any temporary ones (i.e., properties to which someone else has granted you access for a limited time). From this screen, you can manage all your properties, including those to which you have access. Additionally, you can check who has entered your property using the form in the bottom left corner

Property1 Property2

dotenv

Create a .env file and place your clientId of the third-web account in REACT_APP_TEMPLATE_CLIENT_ID. To obtain your private key, sign in to your third-web account, then navigate to settings > API Key and create the API Key. Afterwards, copy and paste the client ID. (REACT_APP_TEMPLATE_CLIENT_ID = cc68726829403494c9bffbba85d514de). GenAI api, Go to this website, Login and go to the dashboard. Go to settings and generate your api key and copy and paste this api key to the env file in STABLE_API

Additional Resources

Author Info

Aditya Gupta

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published