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.1

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.1
File Size Uploaded Provenance Actions
aot_ev1-0.1.1.tar.gz 49.2 kB With provenance Details for aot_ev1-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 77.3 kB

Release files / aot_ev1-0.1.1.tar.gz

Download URL aot_ev1-0.1.1.tar.gz
Size 49.2 kB
Tags Source
SHA-256 checksum
How to use checksums
eed6afff6f06af28461737f336db4308adb359df6f657b5e23100c22c56193c7
BLAKE2b-256 checksum
How to use checksums
080290e9f757824a2e71ef67b44a47b9a4238b0e95803b1d876133bb7adc4943
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

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

Download URL aot_ev1-0.1.1-py3-none-any.whl
Size 28.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2f809c24310fee2e959f52005abdc58daa8f33d8152630a50d52a8b2ed67f68
BLAKE2b-256 checksum
How to use checksums
2a3928fac104e539556999f4ce50994a1a0b99bcd208708b185405141072aeeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for aot-ev1 0.1.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aot_ev1-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

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