Verification Overview
ICQuests uses on-chain verification to ensure that every quest completion is real, transparent, and secure.
Why On-Chain?
- Trustless: No one can fake quest completions—verification is based on actual canister state.
- Open: Anyone can audit the verification logic and results.
- No manual review: Everything is automated, so users get instant feedback and rewards.
- No PII: Only principals, quest IDs, and XP are stored—no personal data.
How It Works
- You implement a
query
method in your canister (e.g.,verifySwap(principal)
). - ICQuests calls this method after the user claims completion.
- Your method checks on-chain state (e.g., did this principal make a swap?) and returns
true
orfalse
. - If true, XP is awarded to the user's profile in the ICQuests canister.
Note: Verification methods are always read-only and cannot move funds or change state in your canister.