Check out the project in action:
π Behavioral Blockchain Identity System β Live Site
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.
- π 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
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
primary/
β
βββ src/
β βββ components/
β β βββ Auth.jsx
β β βββ Dashboard.jsx
β β βββ Navbar.jsx
β β βββ SecondaryWebapp.jsx
β βββ assets/
β β βββ logo.png
β βββ firebaseConfig.js
β
βββ public/
β βββ index.html
β
βββ .env
βββ package.json
βββ README.md
- π§ 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
git clone https://github.com/your-username/behavioral-blockchain-identity.git
cd behavioral-blockchain-identitynpm installnpm run devAccess 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!
---