Skip to main content

AOT-EV1

Deterministic evidence layer for the evidenceHash slot of ERC-8325: who asserted something, what exactly, and until when it holds — verifiable offline, years later.

  • canonical — JCS (RFC 8785 subset): no floats, ASCII keys, byte-identical output.
  • sign — strict Ed25519 (mandatory) + EIP-712 (optional [evm]).
  • verify — 12 offline checks, one error code per check, no network.
  • bundle — deterministic .aotev.zip (stored, fixed order, fixed timestamps).

Core is independent of any service; anchoring is an optional extra ([anchor]).

Usage

aotev canonical payload.json          # canonical bytes + evidence_hash
aotev sign --payload payload.json --issuer-key <seed-hex> --out signed/
aotev bundle signed/ -o evidence.aotev.zip
aotev verify evidence.aotev.zip --now 1750000000
aotev verify evidence.aotev.zip --chain previous.aotev.zip
aotev inspect evidence.aotev.zip
aotev inspect --types

Exit codes: 0 valid, 2 broken (steps 1–10), 3 signature-valid but expired/revoked, 4 chain error. Verification is fully offline; without --chain the status is chain: unverified and that is not an error.

EIP-712 bundles need a chainId for verification. The bundle format does not carry it (SPEC §4 fixes only name/version/chainId in the domain), so aotev uses --chain-id with a default of 1; pass the value used at signing time for other chains.

Deterministic defaults: created_at defaults to payload.valid_from, so two bundle runs over the same input produce the same file.

Test-only keys live in tests/helpers.py and vectors/; they are never used in production. Conformance vectors are regenerated with PYTHONPATH=. python tests/test_vectors.py --write.

Status: v0.1 in development. Contract: SPEC.md.

License: Apache-2.0. Maintained by the AOTrust project (legal@aotrust.link).

Metadata

Release files for aot-ev1 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aot-ev1 0.1.0
File Size Uploaded Provenance Actions
aot_ev1-0.1.0.tar.gz 49.7 kB Without provenance Details for aot_ev1-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aot-ev1 0.1.0
File Interpreter ABI Platform Actions
aot_ev1-0.1.0-py3-none-any.whl Python 3 none any Details for aot_ev1-0.1.0-py3-none-any.whl

Total release size: 77.8 kB

Release files / aot_ev1-0.1.0.tar.gz

Download URL aot_ev1-0.1.0.tar.gz
Size 49.7 kB
Tags Source
SHA-256 checksum
How to use checksums
660a0745e2e85264fca4b1e0d9efd6a0b909fc6ad4ad519ca6cc26777d22af73
BLAKE2b-256 checksum
How to use checksums
7cac02a3f0741fdaf9398f327eb12c33b91a4ddef47812875e0c02ff65989d51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / aot_ev1-0.1.0-py3-none-any.whl

Download URL aot_ev1-0.1.0-py3-none-any.whl
Size 28.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
204d3f117393b7fda28cbe8f6dadb2c8ab0f5ef97b2ba7092c6909eae9717dc8
BLAKE2b-256 checksum
How to use checksums
58f7b51646141be30c3236bad956bc98e7a1e4486220f91c6f3d2a481d9a5262
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for aot-ev1 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page