Skip to content
Akashi

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 --json

Exit 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

statusMeaning
verifiedThe on-chain fingerprint matches and a trusted witness signed it.
not_foundNo Akashi proof exists for this exact file (it may have been re-encoded).
mismatchThe attestation's fingerprint differs from the file.
untrustedThe attestation wasn't made with Akashi's schema or witness.
errorSomething went wrong (network, bad input).

Source: github.com/Saverio3/akashi/packages/akashi-verify

NextEmbeds & verified badge→