This is the moderation interface. Entries that have accumulated enough votes are listed below with a status of ready. A trusted approver reviews each one and clicks Approve & Anchor — this generates a dataHash (a fingerprint of the content) and creates an on-chain anchor record with a txHash as proof. Once anchored, the record is permanent and cannot be changed. (txHash is simulated in this prototype.)
In production, this is determined by the logged-in account. This interface is only accessible to authorised roles — adminID (manual, full access), committeeID (manual, designated reviewers), or schemeID (automated algorithm that moderates without human input — must be activated before it can approve). Each approval is recorded on-chain with the approver's identity.
These entries have accumulated enough votes and are awaiting final approval. Once approved, a data hash will be generated and the record will be permanently anchored on-chain.
Shows the raw JSON returned by the last API action. After approving an entry, it displays the generated dataHash and txHash. After a reset, it shows {"ok": true}. Useful for debugging.
{}