Skip to content

Add ERC: Oracle-Permissioned ERC-20 with ZK-Verified ISO 20022 Payment Instructions #1062

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

chadxeth
Copy link

@chadxeth chadxeth commented Jun 3, 2025

Introduced a new ERC standard that allows token transfers to be validated through an external "Transfer Oracle" using zero-knowledge proofs. This standard aims to enhance compliance and flexibility in institutional tokenization while maintaining ERC-20 compatibility. Included detailed specifications, interfaces, and events for implementation.

…t Instructions

Introduced a new ERC standard that allows token transfers to be validated through an external "Transfer Oracle" using zero-knowledge proofs. This standard aims to enhance compliance and flexibility in institutional tokenization while maintaining ERC-20 compatibility. Included detailed specifications, interfaces, and events for implementation.
@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Jun 3, 2025

🛑 eip-review-bot failed for an unknown reason. Please see logs for more details, and report this issue at the eip-review-bot repository.

@chadxeth chadxeth force-pushed the master branch 2 times, most recently from cdc1f35 to 6cb4710 Compare June 5, 2025 05:57
chadxeth and others added 3 commits June 11, 2025 17:53
…s and enhance validation requirements. Added details on approval consumption behavior, amount range design, and best-match selection for overlapping approvals.
@github-actions github-actions bot added w-ci and removed w-ci labels Jun 11, 2025
@@ -0,0 +1,226 @@
---
eip: 7963
title: Oracle-Permissioned ERC-20 with ZK-Verified ISO 20022 Payment Instructions
Copy link
Contributor

Choose a reason for hiding this comment

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

Unfortunately ISO standards are not generally free (as in beer) to access. Unless this one is different, we do not permit links (even by name) to non-free resources. Doing so would place a burden on implementers that may be unfair to smaller organizations and individuals who might not be able to access the document.

Copy link
Author

Choose a reason for hiding this comment

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

Hey Sam, thanks for reviewing my PR. I have a couple of questions regarding this that I have compiled from the authors:

  1. Is it permissible to mention “ISO 20022 pain.001” by name if the implementation does not require access to the official ISO document? The spec is based on a public interpretation and open-source JSON abstraction.

  2. Would a clarification stating that “no ISO standard documents are required to implement this EIP” be sufficient to resolve the concern? I’m happy to include a Licensing & Accessibility section to that effect.

  3. Am I allowed to describe the schema as “pain.001-compatible” or “inspired by ISO 20022 pain.001” instead of naming the exact standard?

  4. Is referencing the publicly browsable message definitions on iso20022.org acceptable, or should I remove even those?

Comment on lines +156 to +160
This standard is **proof-system-agnostic**. The reference implementation uses RISC Zero for:
+ **Transparent Setup**: No trusted ceremony required
+ **Developer Experience**: Write verification logic in Rust
+ **Performance**: Efficient proof generation and verification
+ **Auditability**: Clear, readable verification code
Copy link
Contributor

Choose a reason for hiding this comment

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

Text describing the reference implementation should be placed in that section.

Copy link
Author

Choose a reason for hiding this comment

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

Noted on this.

+ **CLI Tools**: Host program for proof generation and verification
+ **Gas Optimization**: Efficient on-chain verification with detailed gas profiling

Repository: [chadxeth/eip-permissioned-erc20](https://github.com/chadxeth/eip-permissioned-erc20)
Copy link
Contributor

Choose a reason for hiding this comment

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

If the reference implementation is small, include it inline in this document. If it is larger, you should include it in the assets/... directory under a permissive license.

Copy link
Author

Choose a reason for hiding this comment

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

Understood on this as well. Will include in my next commit.

Copy link
Contributor

Choose a reason for hiding this comment

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

We prefer SVGs if you can, or PNGs failing that.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also this doesn't seem to be used.

Copy link
Author

Choose a reason for hiding this comment

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

I will remove this logo.

Copy link

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

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.

4 participants