Skip to content

A React-based decentralized identity system that combines behavioral biometrics and blockchain technology. Users create secure identities using custom form data, pattern-based behavior, and visibility controlβ€”stored and accessed via unique blockchain Block IDs.

Notifications You must be signed in to change notification settings

KshitijSawant1/Behavioral-Biometric-V1.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


Logo Behavioral Blockchain Identity System

Version: 1.0

Author: Kshitij K Sawant


🌐 Live Demo

Check out the project in action:
πŸ”— Behavioral Blockchain Identity System – Live Site


πŸ” Overview

Behavioral Blockchain Identity System is a secure identity framework that uses behavioral biometrics and blockchain technology to create a pattern-based decentralized identity. The platform enables users to draw unique patterns and store identity information immutably on a blockchain system, making it ideal for systems needing secure authentication and transparent verification.


✨ Features

  • πŸ” Decentralized Identity Storage using Blockchain
  • 🧠 Behavioral Biometrics-based Pattern Entry System
  • 🧾 User-Controlled Public/Private Field Visibility
  • πŸ”„ Real-Time Pattern Drawing & Matching
  • 🧩 Dynamic Field Form Generation
  • πŸ” Secondary Web App for Identity Lookup
  • πŸ“Š Firestore Integration for Secure Data Handling

πŸ–ΌοΈ Screenshots & Preview

1. Hero Section (Landing Page)

The Hero page introduces the core idea of the platform β€” "Where Behavior Becomes Identity." It highlights how behavioral traits like typing patterns and gestures are used for secure identity verification. The clean design, bold text, and supporting graphic emphasize data visibility control and user privacy, while the "Checkout" button invites users to explore further.

2. Authentication: Signin

The Signup page allows new users to create an account by entering their first name, last name, email ID, password, and confirming the password. With a clean, centered layout on a soft blue background, it ensures a smooth onboarding experience. The "Create Account" button stands out, while a toggle link makes it easy to switch to the Sign In page.

3. Authentication: Signup

The Signin page is designed for returning users to log in securely using their email ID and password. It features a centered card layout on a light blue gradient background, offering a minimal and focused interface. The page also includes a clear option to switch to the Signup page for new users.

4. Dashboard – Pattern-based Identity Creation

The Dashboard page warmly welcomes the user by name and provides a clean, responsive interface to input personal data and draw a custom pattern. Users can add multiple form fields, control visibility settings, and visualize their pattern in a grid-based canvas, making the block creation process intuitive and secure.

5. Block Creation Confirmation

The Dashboard page warmly welcomes the user by name and provides a clean, responsive interface to input personal data and draw a custom pattern. Users can add multiple form fields, control visibility settings, and visualize their pattern in a grid-based canvas, making the block creation process intuitive and secure.

6. Secondary Web App – Login via Block ID

The Secondary Website Login screen allows users to access their data using their unique Personal Block ID. This page serves as a secure entry point on the secondary web app, ensuring that only authorized users with a valid block ID can view the associated identity data.

7. Secondary Web App – Data Display

The Data Display screen showcases the user's identity information retrieved from the blockchain block using the entered Block ID. It neatly presents both public and private data fields based on visibility settings defined during block creation, offering a clean and secure way to view user-authenticated data.

How It Works

βœ… Step 1: Sign Up / Log In

Users begin by creating an account or logging in using their email and password. Authentication is securely handled through Firebase Authentication, ensuring smooth user onboarding.


πŸ”§ Step 2: Fill Identity Fields & Set Visibility

Users are presented with a dynamic form where they can enter details such as Name, Email, Date of Birth, etc.
Each field includes a visibility toggle, allowing users to choose whether the field is publicly visible or kept private when data is later accessed via the blockchain.


✍️ Step 3: Draw a Behavioral Pattern

On the right side of the dashboard, users draw a gesture-based unlock pattern, capturing their unique behavioral input.
This pattern is stored as part of the block and adds an additional layer of identity verification using behavioral traits.


⛓️ Step 4: Save as a Blockchain Block

Once the form is filled and the pattern drawn, a block is created and stored in the blockchain.
A unique Block ID (serving as a cryptographic key) is generated and shown in a popup.
This Block ID can be used later to retrieve the associated data.

βœ… Note: To simulate stale vs fresh data handling, the block creation process is executed twice.

  • The first block contains the original data.
  • The second block demonstrates how updated fields and behavioral patterns overwrite the previous state while retaining traceability.
  • This showcases how the system handles changes to user identity over time in a secure, versioned manner.

πŸ” Step 5: Access via Secondary Web App

On the secondary platform, users can input their Block ID to retrieve and view publicly visible data fields.
This ensures decentralized verification without exposing private data, making it ideal for third-party validation scenarios.


πŸ“ Folder Structure

primary/
β”‚
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ Auth.jsx
β”‚   β”‚   β”œβ”€β”€ Dashboard.jsx
β”‚   β”‚   β”œβ”€β”€ Navbar.jsx
β”‚   β”‚   └── SecondaryWebapp.jsx
β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   β”œβ”€β”€ logo.png
β”‚   └── firebaseConfig.js
β”‚
β”œβ”€β”€ public/
β”‚   └── index.html
β”‚
β”œβ”€β”€ .env
β”œβ”€β”€ package.json
β”œβ”€β”€ README.md

βš™οΈ Tech Stack

  • 🧠 React.js – Frontend framework
  • πŸ” Firebase Auth – Secure login system
  • ☁️ Firestore DB – Identity storage and retrieval
  • πŸ” React Router DOM – Routing
  • πŸ–ŒοΈ Tailwind CSS – UI styling
  • πŸ“¦ Vite – Lightning fast bundler

πŸš€ Getting Started

πŸ“₯ 1. Clone the Repository

git clone https://github.com/your-username/behavioral-blockchain-identity.git
cd behavioral-blockchain-identity

πŸ“¦ 2. Install Dependencies

npm install

πŸ”‘ 3. Run the App Locally

npm run dev

Access the app at: http://localhost:5173

---

## 🧠 Future Improvements

- πŸ” Behavioral Pattern AI Verification  
- 🧬 Biometric Pattern Matching Algorithms  
- πŸ“± PWA Compatibility  
- πŸ”’ Encryption Layer for Pattern  


---

## ⭐ Support

If you found this project helpful or inspiring, please give it a ⭐ on GitHub and consider contributing!

---

About

A React-based decentralized identity system that combines behavioral biometrics and blockchain technology. Users create secure identities using custom form data, pattern-based behavior, and visibility controlβ€”stored and accessed via unique blockchain Block IDs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published