Open-source verifier
Verify Akashi recordings with the MIT-licensed akashi-verify package and CLI.
akashi-verify is MIT-licensed and reads proofs directly from the Ethereum Attestation Service. It works in Node 18+ and modern browsers.
Command line
npx akashi-verify ./recording.mp4
# check a fingerprint instead of a file
npx akashi-verify 0x8f3c…a91e
# skip Akashi entirely: check a known attestation on a chain you choose
npx akashi-verify ./recording.mp4 --uid 0x… --chain base --witness 0xWitnessAddress
# machine-readable
npx akashi-verify ./recording.mp4 --jsonExit codes: 0 verified, 1 not verified, 2 error.
Node
import { verifyFile } from "akashi-verify/node";
const result = await verifyFile("./recording.mp4");
if (result.status === "verified") {
console.log("Recorded", new Date(Number(result.proof.recordedAt) * 1000));
}Browser
import { verifyBlob } from "akashi-verify";
const result = await verifyBlob(file, { onProgress: (f) => console.log(f) });Results
| status | Meaning |
|---|---|
verified | The on-chain fingerprint matches and a trusted witness signed it. |
not_found | No Akashi proof exists for this exact file (it may have been re-encoded). |
mismatch | The attestation's fingerprint differs from the file. |
untrusted | The attestation wasn't made with Akashi's schema or witness. |
error | Something went wrong (network, bad input). |