A revolutionary blockchain-based diploma verification platform built on Ethereum, enabling secure, transparent, and instant verification of academic credentials.
DiploChain is a decentralized application (DApp) that leverages blockchain technology to create an immutable, secure system for diploma issuance and verification. The platform connects educational institutions, students, and companies through smart contracts, ensuring the authenticity and integrity of academic credentials.
- Diplomas stored immutably on Ethereum blockchain
- IPFS integration for metadata storage
- Tamper-proof certificate validation
- Real-time diploma authenticity verification
- Token-based verification system (10 DIPTOK per verification)
- Automated verification process for employers
- Students: Receive and manage blockchain diplomas
- Institutions: Issue verified academic credentials
- Companies: Verify candidate qualifications instantly
- DiplomaToken (DIPTOK): Platform utility token
- Purchase rate: 0.01 ETH = 100 DIPTOK
- Evaluation rewards: 15 DIPTOK for internship evaluations
- DiplomaNFT.sol: ERC721 NFT contract for diploma certificates
- DiplomaToken.sol: ERC20 token for platform transactions
- OpenZeppelin: Security-focused contract libraries
- Next.js 15: React-based web application
- TypeScript: Type-safe development
- Ethers.js & Web3.js: Blockchain interaction
- SCSS: Modular styling architecture
- Network: Blaze Testnet (Sonic Labs)
- Chain ID: 57054
- RPC URL: https://rpc.blaze.soniclabs.com
- Address:
0xF0bC756473b8667912E7EB0413301ceCf5c08a4A - Explorer: View on Blaze Explorer
- Address:
0x232B40F317315A303D75A7d846c85e8330db4329 - Explorer: View on Blaze Explorer
DiploChain/
βββ frontend/ # Next.js web application
β βββ src/
β β βββ app/ # App router pages
β β β βββ Dashboard/
β β β β βββ Students/ # Student dashboard
β β β β βββ Institutions/ # Institution dashboard
β β β β βββ Companies/ # Company dashboard
β β βββ components/ # Reusable React components
β β β βββ Diploma/ # Diploma-related components
β β β βββ Token/ # Token management
β β β βββ Web3/ # Blockchain integration
β β βββ hooks/ # Custom React hooks
β β βββ utils/ # Utility functions
βββ smartContract/ # Hardhat development environment
β βββ contracts/ # Solidity smart contracts
β βββ scripts/ # Deployment scripts
β βββ test/ # Contract tests
βββ docs/ # Project documentation
- Node.js (v18+)
- npm or yarn
- MetaMask wallet
- Git
git clone https://github.com/your-username/DiploChain.git
cd DiploChaincd smartContract
npm install
npx hardhat compilecd frontend
npm install
npm run devCreate .env files in both frontend and smartContract directories:
smartContract/.env
PRIVATE_KEY=your_private_key_here
BLAZE_RPC_URL=https://rpc.blaze.soniclabs.comfrontend/.env.local
NEXT_PUBLIC_DIPLOMA_TOKEN_ADDRESS=0xF0bC756473b8667912E7EB0413301ceCf5c08a4A
NEXT_PUBLIC_DIPLOMA_NFT_ADDRESS=0x232B40F317315A303D75A7d846c85e8330db4329
NEXT_PUBLIC_CHAIN_ID=57054# Compile contracts
npm run compile
# Run tests
npm run test
# Deploy to testnet
npm run build
# Security analysis
npm run slither# Development server
npm run dev
# Build for production
npm run build
# Code linting
npm run lint
# Format code
npm run format- Mythril Analysis: Automated vulnerability scanning
- Access Control: Role-based permissions
- OpenZeppelin: Battle-tested contract libraries
- Immutable Data: Blockchain-based storage
- ESLint: Code quality enforcement
- Prettier: Consistent code formatting
- TypeScript: Type safety
- Husky: Pre-commit hooks
- Register as accredited institution
- Mint diploma NFTs for graduates
- Store metadata on IPFS
- Track issued certificates
- Connect MetaMask wallet
- Receive diploma NFTs
- Share verification links
- Manage academic credentials
- Purchase DIPTOK tokens
- Verify candidate diplomas
- Pay verification fees
- Access verification history
cd smartContract
npx hardhat test# Install Mythril
pip install mythril
# Analyze contracts
myth analyze contracts/diplomaNFT.sol --solv 0.8.24
myth analyze contracts/diplomaToken.sol --solv 0.8.24# Start local Hardhat node
npx hardhat node
# Deploy contracts locally
npx hardhat run scripts/deployDiploma.ts --network localhost# Deploy to Blaze Testnet
npx hardhat run scripts/deployDiploma.ts --network blaze- Fork the repository
- Create feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open Pull Request
- Phase 1: Core NFT diploma minting
- Phase 2: Token economy implementation
- Phase 3: IPFS integration
- Phase 4: Mobile application
- Phase 5: Mainnet deployment
- DEV 1: Smart Contracts & Blockchain Backend
- DEV 2: Frontend & Web3 Integration
- DEV 3: Infrastructure & Security Testing
This project is licensed under the MIT License - see the LICENSE file for details.
- Live Demo: DiploChain DApp
- Documentation: Project Docs
- Blaze Explorer: View Contracts
For support and questions:
- Create an issue on GitHub
- Contact the development team
- Join our community discussions
Built with β€οΈ using Ethereum, Next.js, and cutting-edge Web3 technologies