How psabarish484-debug/certichain-ai works
CertiChain AI is a certificate issuance, verification, and fraud-analysis web application. Its main workflow lets an institution prepare a certificate, compute its fingerprint, anchor it in the app’s ledger, and present an exportable credential; a verifier recomputes the fingerprint and compares it with the ledger. Separate portals provide visual-forensics reports, ledger exploration, and interactive demos. The README describes Algorand anchoring, while the sampled blockchain module shows a browser-side ledger simulator using stored certificate, block, and transaction data—not a demonstrated live Algorand connection. The Python API is documented but its role and integration are unclear from the available evidence.
Main entry points: types.ts Domain Data Models · issuer/page.tsx Issuance Portal · verify/page.tsx Verification Portal · blockchain.ts Local Ledger Simulator
Components 19
Product Portals
- Issuance Portal
src/app/issuer/page.tsx - Verification Portal
src/app/verify/page.tsx - Forensics Portal
src/app/ai-forensics/page.tsx - Ledger Explorer
src/app/explorer/page.tsx - Viva Demo Lab
src/app/demo/page.tsx - Home Overview
src/app/page.tsx
Domain Services
- Certificate Fingerprinting
src/lib/certificate.ts - Local Ledger Simulator
src/lib/blockchain.ts - Forensics Analysis
src/lib/ai-engine.ts - Domain Data Models
src/lib/types.ts
Result Views
- Certificate Card & PDF
src/components/CertificateCard.tsx - Verification Result
src/components/VerificationResultModal.tsx - Forensics Report
src/components/AIForensicsReport.tsx
Application Shell
- Blockchain Canvas
src/components/BlockchainCanvas.tsx - Navigation Bar
src/components/Navbar.tsx - Footer
src/components/Footer.tsx - Root Layout
src/app/layout.tsx
Other components
- Certificate Issuer
- Certificate Verifier
Connections 20
- Certificate Issuer → Issuance Portal: issues through
README.md - Certificate Verifier → Verification Portal: checks through
README.md - Issuance Portal → Certificate Fingerprinting: computes fingerprint
src/app/issuer/page.tsx - Issuance Portal → Local Ledger Simulator: registers certificate
src/app/issuer/page.tsx - Issuance Portal → Certificate Card & PDF: renders credential
src/app/issuer/page.tsx - Verification Portal → Certificate Fingerprinting: computes fingerprint
src/app/verify/page.tsx - Verification Portal → Local Ledger Simulator: checks ledger
src/app/verify/page.tsx - Verification Portal → Verification Result: shows verdict
src/app/verify/page.tsx - Ledger Explorer → Local Ledger Simulator: reads blocks and transactions
src/app/explorer/page.tsx - Forensics Portal → Forensics Analysis: runs analysis
src/app/ai-forensics/page.tsx - Forensics Portal → Forensics Report: renders report
src/app/ai-forensics/page.tsx - Certificate Fingerprinting → Domain Data Models: uses certificate model
src/lib/certificate.ts - Local Ledger Simulator → Domain Data Models: uses ledger models
src/lib/blockchain.ts - Forensics Analysis → Domain Data Models: uses report models
src/lib/ai-engine.ts - Certificate Card & PDF → Domain Data Models: renders certificate data
src/components/CertificateCard.tsx - Verification Result → Domain Data Models: renders result data
src/components/VerificationResultModal.tsx - Forensics Report → Domain Data Models: renders report data
src/components/AIForensicsReport.tsx - Root Layout → Blockchain Canvas: renders
src/app/layout.tsx - Root Layout → Navigation Bar: renders
src/app/layout.tsx - Root Layout → Footer: renders
src/app/layout.tsx