Overview
This issue implements the backend logic for the PoI verification process, supporting both:
- Internal verifier review system (admin-controlled)
- Future community verifiers who staked DCU via smart contracts
It will handle verifier roles, API endpoints, and verification metadata storage.
🎯 Objectives
- Add PoI verification statuses (Pending, Verified, Rejected)
- Admin API for internal verifiers to update statuses and leave feedback
- Prepare logic to fetch verifier eligibility from smart contract
- Record verification actions and make them visible on frontend
🧩 Functional Requirements
1. Models
2. APIs
3. Admin Panel (Optional MVP)
🔐 Dependencies
contracts: VerifierStaking + Registry
dapp: Verifier UI + staking interface
🧪 Future Logic (v2.3+)
Related
contracts issue #87: Link
dApp issue #57 : Link
Overview
This issue implements the backend logic for the PoI verification process, supporting both:
It will handle verifier roles, API endpoints, and verification metadata storage.
🎯 Objectives
🧩 Functional Requirements
1. Models
PoIschema:status:"pending" | "verified" | "rejected"verifiedBy: wallet or user IDverificationComment: optional stringverifiedAt: timestamp2. APIs
GET /api/poi/:id/statusPATCH /api/poi/:id/verify{ status, comment }role: 'verifier'verifiedByandverifiedAtGET /api/verifier/:walletisVerifier: true | falsestake: number3. Admin Panel (Optional MVP)
🔐 Dependencies
contracts: VerifierStaking + Registrydapp: Verifier UI + staking interface🧪 Future Logic (v2.3+)
Related
contracts issue #87: Link
dApp issue #57 : Link