feat(air-e): ICP blockchain anchor for attestation records
Immutable on-chain attestation ledger (AIR Improvement E). Every attestation is dual-written to Netlify Blobs (fast) and an ICP canister (tamper-evident). Third parties can verify directly on-chain without trusting the operator.
- New Motoko canister (hub/icp/src/attestation/main.mo): append-only ledger with Candid API + HTTP query interface for browser verification - New ICP client (hub/gateway/icp-attestation-client.mjs): Secp256k1 identity, Candid calls with timeout, graceful degradation - Dual-write in attest-store.mjs: Blob-first, ICP best-effort with 4s timeout, pending/anchored status tracking - New routes: GET /api/v1/attest/:id/verify (cross-source consensus), POST /api/v1/attest/anchor-pending (admin reconciliation) - Principal utility script for canister setup - 26 new tests (238 total, 0 failures) - Deployed: dejku-syaaa-aaaaa-qgy3q-cai
0 comments
muse hub commit comment sha256:5780694cc61e43a0eae462729c5f03e56fb8b8ba0afc6af62d82e066ac97f15d --body "your comment"
No comments yet. Be the first to start the discussion.