Build
Attestation
Permanent attestation of entity versions to Arweave for independent verification.
Overview
Arke permanently attests entity versions to Arweave, a decentralized permanent storage network. This ensures that:
- Full manifests (not just hashes) are stored permanently
- The network can be reconstructed from Arweave alone
- Third parties can independently verify content integrity
How It Works
- Entity version is created or updated
- The full manifest is queued for attestation via D1's
attestation_queuetable - An async process uploads the manifest to Arweave
- The Arweave transaction ID is indexed in KV (
attest:{pi}:{ver}) - The
prev_cidchain provides ordering guarantees across versions
Verification
Anyone can verify an entity's history by:
- Querying Arweave for the entity's attestation records
- Verifying the content hash matches the CID
- Following the
prevchain to reconstruct the full version history
Attestation Status
Check the attestation status of an entity:
GET /attestations/:entityId
Authorization: Bearer <token>Returns the list of attested versions with their Arweave transaction IDs.