An ENSv2-powered evidence layer for verifiable authority, actions, and audit trails.
HIR - History · Integrity · Responsibility is an ENSv2-powered evidence layer designed to make authority, records, decisions, and actions independently verifiable.
The idea behind HIR starts with a simple problem: a cryptographic signature can tell us which wallet signed something, but it doesn't necessarily tell us whether that wallet was authorized to act on behalf of an organization, what permissions it had at that point in time, or what happened afterward.
HIR aims to connect these missing pieces.
Organizations can publish identities and delegated authority through ENSv2. Records, requests, decisions, and outcomes can then be linked to that published authority using cryptographic signatures and onchain evidence. This creates a verifiable history that third parties can independently inspect without relying solely on the organization or HIR's application.
The objective is to answer three questions: • Who was authorized to do what? • What was recorded, decided, or reported to have happened? • Can someone independently verify the evidence afterward?
For the hackathon, we built two working applications of this approach.
Invoice Authenticity
An organization publishes its authorized invoice signer and approved payment instructions through ENSv2. Each issued invoice has its own resolvable ENS identity and signed evidence. A recipient can independently verify that the invoice was authorized, its payment details match the organization's policy, its revision is current, and the PDF hasn't been tampered with.
This helps address Business Email Compromise (BEC), where attackers impersonate suppliers or alter invoices and payment instructions to redirect funds to fraudulent accounts. HIR allows recipients to verify payment instructions against the organization's published authority before making a payment.
AI Agent Authority & Evidence
As AI agents become more autonomous and start interacting with other agents, businesses, and external services, an important question arises: How does a third party know what an AI agent is actually authorized to do on behalf of an organization? Without a verifiable source of authority, third parties may have to rely on the agent's own claims, creating risks of unauthorized actions, misuse of permissions, and a lack of accountability.
HIR addresses this by allowing organizations to publish AI agents' identities and permissions through ENSv2. When an agent requests an action from another agent, the receiving agent can independently verify its published authority before deciding whether to proceed.
Our working demonstration uses two real LLM agents. One requests an analysis service, while the other checks the published 50-credit limit and accepts or rejects the request. HIR preserves evidence of the request, decision, and outcome, including whether the decision complied with the organization's published policy.
The goal is to make delegated authority independently verifiable and autonomous agent interactions auditable, rather than relying solely on trust between agents.
HIR is not trying to claim that blockchain proves every real-world action. It establishes attributable records, published authority, and tamper-evident evidence that can be independently checked. The distinction between what someone was permitted to do and what they actually claimed or attempted to do is central to the design.
Our larger objective is to make verifiable authority and evidence a reusable foundation for interactions between organizations, people, and autonomous systems.
HIR is built around a common architecture: ENSv2 provides organizational identity and delegated authority, cryptographic signatures bind records and actions to their participants, and smart contracts preserve verifiable evidence.
We implemented two independent applications to demonstrate how the same approach works across different use cases.
ENSv2 — Identity and Authority
HIR uses an organization's existing ENS identity as the foundation for publishing authority. Using ENSv2's hierarchical namespace and permissioned resolvers, organizations can establish application-specific identities and publish records defining authorized signers, agent identities, permissions, and other policies.
These records can be retrieved independently through ENSv2's native resolution infrastructure. ENS is therefore not just a readable name or branding element; it is the source of organizational authority used by HIR's verification mechanisms.
Cryptographic Evidence and Smart Contracts
We use Solidity smart contracts deployed on Ethereum Sepolia, EIP-712 typed-data signatures, and cryptographic commitments to link records and actions to their authorization context.
The contracts serve different purposes depending on the application. The invoice evidence ledger validates authorization before accepting issuance, while the agent evidence contract records authenticated interactions, including decisions that may violate published permissions.
Full documents and agent conversations are not stored onchain. Instead, HIR records commitments to evidence that can be retained, downloaded, and independently verified. Invoice Authenticity Application
The invoice application generates PDFs using PDFKit and hashes the exact document bytes. An EIP-712 signed record binds the invoice identity, issuer, amount, payment destination, token, revision, and PDF fingerprint. A dedicated evidence ledger validates the relevant ENS-published authority and payment instructions before accepting publication.
Each invoice also receives an ENSv2-resolvable evidence reference, allowing recipients to independently discover and verify its records without relying on HIR's database.
AI Agent Authority Application
We built two real LLM agents using the OpenAI Agents SDK, with separate roles and tools. The requesting agent signs a structured request. The receiving agent independently retrieves the requesting agent's authority from ENSv2, uses deterministic policy assessment, and decides whether to accept or reject the request.
The receiving agent performs a real calculation when it accepts an authorized request. The request, policy checkpoint, decision, and execution outcome are signed and linked together. A separate evidence contract records their commitment onchain. Historical verification checks the permissions that existed at the time of the interaction rather than relying only on the current ENS policy.
Our live Sepolia demonstration includes an accepted 40-credit request and a rejected 80-credit request under a published 50-credit permission.
Technology and Infrastructure
The applications use JavaScript, HTML, CSS, Tailwind CSS, Cloudflare Workers, and SQLite-backed Durable Objects for application state and offchain evidence. Solidity and OpenZeppelin support the smart contracts and signature verification, while Viem handles Ethereum interactions, typed-data encoding, ENS resolution, and transaction verification. Technical Challenges
One of the main challenges was establishing authority at the time an action occurred, even if the organization's policy subsequently changed. We addressed this through historical ENS policy checkpoints and independently verifiable signed evidence.
Another challenge was maintaining a clear distinction between published permissions, participant decisions, and execution outcomes. HIR preserves these separately instead of treating an accepted request as proof that the action was completed or authorized. The completed prototype demonstrates both applications on Sepolia, with actual ENSv2 records, signed evidence, confirmed onchain commitments, and independent verification.

