How nan13473/veribind works
VeriBind is a wallet-bound credential demo: holders register, institutions approve and mint credentials, holders confirm them, and verifiers request and validate selective QR presentations. The frontend App coordinates these stages, using the identity, Merkle, and presentation utilities and reading live credential status from the Solidity contract during verification. README-described capabilities such as role routing and lifecycle transitions are represented, but unsampled contract and UI wiring is not expanded beyond documented behavior.
Main entry points: App.tsx Role workspaces · presentation.ts Presentation signing and checks · VeriBindCredential.sol Credential contract · merkle.ts Field Merkle proofs
Components 12
Credential workflow
- Role workspaces
frontend/src/App.tsx
Identity and proofs
- Identity hashing
frontend/src/lib/identity.ts - Document encryption
frontend/src/lib/encryption.ts - Field Merkle proofs
frontend/src/lib/merkle.ts - Presentation signing and checks
frontend/src/lib/presentation.ts
On-chain credential
- Credential contract
contracts/VeriBindCredential.sol
Other components
- Holder
- Issuer
- Verifier
- Wallet provider
- Blockchain network
- QR encoder / decoder
Connections 14
- Holder → Role workspaces: registers / confirms
- Issuer → Role workspaces: approves issuance
- Verifier → Role workspaces: requests / verifies
- Role workspaces → Wallet provider: connects accounts
- Role workspaces → Identity hashing: hashes identity
- Role workspaces → Credential contract: issues / updates
- Credential contract → Blockchain network: persists state
- Role workspaces → Field Merkle proofs: builds proof
- Role workspaces → Presentation signing and checks: signs / checks
- Presentation signing and checks → Wallet provider: requests signature
- Presentation signing and checks → Field Merkle proofs: checks proof
- Role workspaces → QR encoder / decoder: encodes / decodes
- Role workspaces → Credential contract: reads live status
- Role workspaces → Document encryption: document crypto utility