Skip to content

Add ERC: Zero-Knowledge Compliance Oracle#1747

Open
DROOdotFOO wants to merge 9 commits into
ethereum:masterfrom
xochi-fi:add-erc-zk-compliance-oracle
Open

Add ERC: Zero-Knowledge Compliance Oracle#1747
DROOdotFOO wants to merge 9 commits into
ethereum:masterfrom
xochi-fi:add-erc-zk-compliance-oracle

Conversation

@DROOdotFOO
Copy link
Copy Markdown

@DROOdotFOO DROOdotFOO commented May 16, 2026

This PR submits a new ERC ERC-8262: Zero-Knowledge Compliance Oracle.

Summary

A standard interface for on-chain verification of regulatory compliance (AML, sanctions screening, anti-structuring) using zero-knowledge proofs. Users generate proofs client-side that attest to compliance with jurisdiction-specific thresholds without revealing transaction amounts, counterparty identities, or screening details. No trusted third party or TEE is required.

Discussion

Forum thread (per EIP-1): https://ethereum-magicians.org/t/erc-zero-knowledge-compliance-oracle/28543

Scope

  • Nine proof types (six unsigned + two single-signer + one M-of-N multi-signer), each backed by a separate ZK circuit with its own verification key
  • IZKPVerifier (per-proof-type routing, batch verification, version history) and IZKPOracle (attestation submission, expiry, retroactive lookup) interfaces
  • Jurisdiction configuration (EU AMLD6, US BSA, UK MLR, Singapore) with published thresholds in basis points
  • Public input validation registries (config hash, merkle root, credential root, reporting threshold) to prevent context-spoofing replay
  • Explicit trust-tier model in Rationale documenting what the standard does not prove (self-attested vs. provider-attested vs. credential-attested signals)

EIP-1 compliance

  • Frontmatter complete (title, description, author, discussions-to, status, type, category, created, requires: 165)
  • Sections in canonical order (Abstract → Motivation → Specification → Rationale → Backwards Compatibility → Test Cases → Reference Implementation → Security Considerations → Copyright)
  • Cross-references use ./eip-N.md form
  • All MUST/SHOULD/MAY usage follows RFC 2119
  • markdownlint, codespell pass locally
  • eipw passes locally with zero errors
  • CC0 license

Notes for editors

  • ERC-8262 self-claimed (next available above currently-claimed open-PR range). Happy to renumber if it collides with an in-flight assignment.
  • Authors:

@eip-review-bot
Copy link
Copy Markdown
Collaborator

eip-review-bot commented May 16, 2026

File ERCS/erc-8262.md

Requires 1 more reviewers from @g11tech, @jochem-brouwer, @samwilsn, @xinbenlv

@eip-review-bot eip-review-bot changed the title Add ERC: ZK Compliance Oracle Add ERC: Zero-Knowledge Compliance Oracle May 16, 2026
@github-actions github-actions Bot added the w-ci label May 16, 2026
@github-actions github-actions Bot added w-ci and removed w-ci labels May 16, 2026
@DROOdotFOO DROOdotFOO changed the title Add ERC: Zero-Knowledge Compliance Oracle Add ERC-8338: Zero-Knowledge Compliance Oracle May 16, 2026
@github-actions github-actions Bot added w-ci and removed w-ci labels May 16, 2026
@eip-review-bot eip-review-bot changed the title Add ERC-8338: Zero-Knowledge Compliance Oracle Add ERC: Zero-Knowledge Compliance Oracle May 16, 2026
@github-actions github-actions Bot removed the w-ci label May 16, 2026
@DROOdotFOO DROOdotFOO changed the title Add ERC: Zero-Knowledge Compliance Oracle Add ERC-8338: Zero-Knowledge Compliance Oracle May 16, 2026
@abcoathup
Copy link
Copy Markdown
Contributor

@DROOdotFOO

ERCs are application layer standards. They are not for product promotion or marketing purposes.
Recommend removing Xochi project name from the ERC.

Comment thread ERCS/erc-8338.md Outdated
@@ -0,0 +1,685 @@
---
eip: 8338
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
eip: 8338
eip: 8262

Assigning next sequential EIP/ERC/RIP number.
Numbers are assigned by editors & associates.

Please also update the filename.

@eip-review-bot eip-review-bot changed the title Add ERC-8338: Zero-Knowledge Compliance Oracle Add ERC: Zero-Knowledge Compliance Oracle May 18, 2026
Comment thread ERCS/erc-8262.md Outdated
title: Zero-Knowledge Compliance Oracle
description: On-chain ZK compliance verification without revealing transaction data
author: DROO (@DROOdotFOO), Bloo (@bloo-berries), Merkle Bonsai (@Jabher)
discussions-to: https://ethereum-magicians.org/t/erc-zero-knowledge-compliance-oracle/28543
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
discussions-to: https://ethereum-magicians.org/t/erc-zero-knowledge-compliance-oracle/28543
discussions-to: https://ethereum-magicians.org/t/erc-8262-zero-knowledge-compliance-oracle/28543

Updated Eth Magicians title with assigned number

@DROOdotFOO DROOdotFOO changed the title Add ERC: Zero-Knowledge Compliance Oracle Add ERC-8262: Zero-Knowledge Compliance Oracle May 18, 2026
@eip-review-bot eip-review-bot changed the title Add ERC-8262: Zero-Knowledge Compliance Oracle Add ERC: Zero-Knowledge Compliance Oracle May 18, 2026
@github-actions github-actions Bot added the w-ci label May 18, 2026
@github-actions
Copy link
Copy Markdown

The commit d97fb55 (as a parent of 7191656) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions Bot removed the w-ci label May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants