Skip to content

Subharjun/blockchain-wallet-employee-student

Repository files navigation

Decentralized Skill & Credential Verification Network

A blockchain-based platform for issuing, verifying, and managing professional credentials as NFTs, powered by AI verification and community endorsements.

๐ŸŒŸ Features

  • Blockchain Security: Tamper-proof credentials stored on Ethereum
  • AI Verification: Multi-AI system using Mistral, Groq, and SerpAPI for credential validation
  • NFT Certificates: Unique digital certificates as valuable NFTs
  • Peer Endorsements: Community-driven validation and skill endorsements
  • Real-time Verification: Instant credential verification with confidence scoring
  • MetaMask Integration: Seamless wallet connectivity

๐Ÿš€ Technology Stack

  • Frontend: Next.js, React, Tailwind CSS
  • Blockchain: Ethereum (Sepolia Testnet), Hardhat, Solidity
  • Web3: Ethers.js, Wagmi, MetaMask
  • AI Services:
    • Mistral AI for credential analysis
    • Groq for skill validation
    • SerpAPI for web verification
  • Smart Contracts: ERC-721 NFT standard with custom extensions

๐Ÿ“‹ Prerequisites

  • Node.js 18+
  • MetaMask wallet
  • Sepolia testnet ETH

๐Ÿ› ๏ธ Installation

  1. Clone the repository

    git clone <repository-url>
    cd skill-credential-network
  2. Install dependencies

    npm install
  3. Environment Setup The .env.local file is already configured with your API keys:

    • Mistral AI API Key
    • SerpAPI Key
    • Groq API Key
    • Wallet credentials
  4. Compile Smart Contracts

    npm run compile
  5. Deploy to Sepolia

    npm run deploy
  6. Start Development Server

    npm run dev

๐Ÿ”ง Smart Contract Features

SkillCredentialNFT Contract

  • Issue Credentials: Mint NFT certificates with metadata
  • Endorsement System: Peer-to-peer skill validation
  • Expiry Management: Time-bound credentials
  • Verification Status: AI-powered verification tracking
  • Rating System: Community-driven credential ratings

Key Functions

function issueCredential(
    address recipient,
    string memory skillName,
    string memory issuerName,
    string memory recipientName,
    uint256 expiryDate,
    string memory metadataURI
) public returns (uint256)

function endorseCredential(
    uint256 tokenId,
    string memory endorserName,
    string memory message,
    uint8 rating
) public

function verifyIssuer(string memory issuerName, bool status) public onlyOwner

๐Ÿค– AI Verification System

Multi-Layer Verification

  1. Mistral AI Analysis: Credential legitimacy assessment
  2. SerpAPI Web Search: Cross-reference with public information
  3. Groq Skill Validation: Industry standard compliance check

Verification Process

// AI verification combines multiple confidence scores
const finalConfidence =
  (aiResult.confidence +
    skillValidation.confidence +
    (webVerification.found ? 0.9 : 0.6)) /
  3;

๐ŸŽจ User Interface

Main Features

  • Home Dashboard: Overview with statistics and features
  • Issue Credentials: AI-powered credential creation
  • My Credentials: Personal credential portfolio with QR sharing
  • Verify Credentials: Public verification interface for employers
  • QR Code Generation: Easy sharing for instant verification
  • Public Verification Pages: Employer-friendly credential verification

Design Highlights

  • Gradient backgrounds with glassmorphism effects
  • Responsive design for all devices
  • Interactive animations and hover effects
  • Professional color scheme with blue/purple gradients

๐Ÿ” Security Features

  • Blockchain Immutability: Credentials cannot be altered once issued
  • Multi-signature Verification: AI consensus for authenticity
  • Expiry Management: Time-bound credential validity
  • Access Control: Owner-only administrative functions

๐Ÿ“Š Verification System

Public Verification Pages

  • /verify/[tokenId]: Public credential verification page
  • /share/[tokenId]: QR code sharing page for credential holders
  • QR Code Integration: Instant scanning for employers
  • Direct Links: Shareable verification URLs

Employer-Friendly Features

  • No Wallet Required: Employers can verify without MetaMask
  • Instant Results: Real-time blockchain verification
  • Professional Display: Clean, trustworthy verification interface
  • Multiple Access Methods: QR codes, direct links, or manual token entry

๐Ÿš€ Deployment Guide

Local Development

npm run dev

Production Build

npm run build
npm start

Smart Contract Deployment

# Deploy to Sepolia testnet
npm run deploy

# The contract address will be saved to contract-info.json

๐Ÿ”ฎ Future Enhancements

  • IPFS Integration: Decentralized metadata storage
  • Multi-chain Support: Polygon, BSC, Arbitrum
  • Advanced Analytics: Credential trend analysis
  • Mobile App: React Native implementation
  • Enterprise Features: Bulk credential management

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License.

๐Ÿ†˜ Support

For support and questions:

  • Create an issue in the repository
  • Check the documentation
  • Review the smart contract code

Built with โค๏ธ for the decentralized future of professional credentials

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors