How ashutoshsati/vericert---blockchain-enabled-cross-chain-academic-credential-verification-with-ai-insights works
VeriCert is a cross-chain academic credential issuance and verification prototype. University staff issue or revoke credentials; employers submit a credential file, details, or hash and receive a rule-based verdict, checks, history, and optionally an AI explanation. The Streamlit frontend calls the Express API, which coordinates credential processing, database records, verification, and either a mock or CCIP chain implementation. The README documents the Solidity relay path. Some backend and frontend modules are indexed but not excerpted, so uncertain internal calls are omitted.
Main entry points: server.js Express API · app.py Streamlit app · evidence.js Verification evidence · index.js Chain mode selector
Components 23
User interface
- Streamlit app
frontend/app.py - Issue and revoke
frontend/views/issue.py - Credential verification
frontend/views/verify.py - Activity log
frontend/views/activity.py - Backend API client
frontend/api.py
API and verification
- Express API
backend/server.js - Credential hashing
backend/credential.js - Chain and record verification
backend/verification.js - Credential and event store
backend/db.js
Evidence and explanations
- Verification evidence
backend/ai/evidence.js - Verdict and checks
backend/ai/checks.js - AI prompt construction
backend/ai/prompt.js - AI explanation service
backend/ai/explainer.js
Chain integrations
- Chain mode selector
backend/chain/index.js - Mock chain
backend/chain/mock.js - CCIP chain adapter
backend/chain/ccip.js
On-chain records
- VeriCert issuer contract
contracts/contracts/VeriCert.sol - Fuji receiver contract
contracts/contracts/Receiver.sol
Other components
- University staff
- Employer
- OpenAI API
- Chainlink CCIP
- Avalanche Fuji
Connections 30
- University staff → Streamlit app: uses
frontend/app.py - Employer → Streamlit app: uses
frontend/app.py - Streamlit app → Issue and revoke: routes to
frontend/app.py - Streamlit app → Credential verification: routes to
frontend/app.py - Streamlit app → Activity log: routes to
frontend/app.py - Issue and revoke → Backend API client: requests issuance
frontend/views/issue.py - Credential verification → Backend API client: requests verification
frontend/views/verify.py - Backend API client → Express API: sends REST requests
frontend/api.py - Express API → Credential hashing: parses and hashes
backend/server.js - Express API → Chain and record verification: requests verification
backend/server.js - Express API → Credential and event store: records credentials
backend/server.js - Express API → Chain mode selector: issues and revokes
README.md - Express API → Verification evidence: runs explanations
backend/server.js - Chain and record verification → Chain mode selector: reads chain record
backend/verification.js - Chain and record verification → Credential and event store: reads and updates records
backend/verification.js - Chain mode selector → Mock chain: selects mock mode
README.md - Chain mode selector → CCIP chain adapter: selects CCIP mode
README.md - Verification evidence → Chain mode selector: gathers chain evidence
backend/ai/evidence.js - Verification evidence → Credential and event store: gathers records
backend/ai/evidence.js - Verification evidence → Chain and record verification: checks credential
backend/ai/evidence.js - Verdict and checks → Credential hashing: uses credential fields
backend/ai/checks.js - AI prompt construction → Verification evidence: formats evidence
backend/ai/prompt.js - AI explanation service → OpenAI API: requests explanation
backend/ai/explainer.js - AI explanation service → Credential and event store: caches explanations
backend/ai/explainer.js - Express API → VeriCert issuer contract: issues and revokes
README.md - VeriCert issuer contract → Chainlink CCIP: sends hash messages
README.md - Chainlink CCIP → Fuji receiver contract: delivers messages
README.md - Fuji receiver contract → Avalanche Fuji: records credentials
README.md - CCIP chain adapter → VeriCert issuer contract: calls contract
README.md - CCIP chain adapter → Fuji receiver contract: reads verification record
README.md