Skip to content

Conversation

@0xRowan
Copy link

@0xRowan 0xRowan commented Nov 19, 2025

This EIP defines a minimal interface standard for privacy tokens on Ethereum.

While developing privacy solutions for the Ethereum ecosystem—including wrapper protocols (converting ERC-20 ↔ privacy tokens) and dual-mode tokens (combining public and private balances)—we identified a recurring need for standardized privacy primitives. Without a common interface, each implementation reinvents commitments, nullifiers, and note encryption, leading to ecosystem fragmentation.

This standard provides that common foundation. It enables:

  • Wrapper protocols: Implement this interface for their privacy layer
  • Dual-mode tokens protocols: Combine standards via contract DMT is ERC20, IZRC20

By unifying the privacy token interface, we facilitate the development of wrapper and dual-mode protocols, accelerating Ethereum's privacy ecosystem growth.

Discussion

Community discussion:
https://ethereum-magicians.org/t/erc-8086-privacy-token/26623
https://ethereum-magicians.org/t/erc-8085-dual-mode-fungible-tokens/26592

Next Steps
I will add the reference implementation and test cases after receiving initial community feedback on the
specification.

@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Nov 19, 2025

File ERCS/erc-8085.md

Requires 1 more reviewers from @g11tech, @SamWilsn, @xinbenlv

File ERCS/erc-8086.md

Requires 1 more reviewers from @g11tech, @SamWilsn, @xinbenlv

@eip-review-bot eip-review-bot changed the title Add ERC-8099: Native Privacy Token Standard Add ERC: Native Privacy Token Interface Standard Nov 19, 2025
@eip-review-bot eip-review-bot changed the title Add ERC: Native Privacy Token Interface Standard Add ERC: Native Privacy Token Interface Nov 19, 2025
- Update EIP number from 8099 to 8086
- Simplify title to "Privacy Token"
- Update discussions-to URL
@eip-review-bot eip-review-bot changed the title Add ERC: Native Privacy Token Interface Add ERC: Privacy Token Nov 23, 2025
@eip-review-bot eip-review-bot changed the title Add ERC: Privacy Token Add ERC: Dual-Mode Fungible Tokens Nov 27, 2025
@0xRowan 0xRowan mentioned this pull request Nov 27, 2025
6 tasks
ERC-8085 Reference Implementation
ERC-8086 Reference Implementation
@github-actions
Copy link

The commit ad66988 (as a parent of 7bd0d0a) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot added the w-ci label Nov 29, 2025
@github-actions github-actions bot removed the w-ci label Nov 29, 2025
@0xRowan
Copy link
Author

0xRowan commented Nov 29, 2025

Hi @SamWilsn @xinbenlv @g11tech,

This PR is now ready for formal review. All previous feedback has been addressed and reference implementations are complete.

📋 Summary

This PR introduces two related ERC standards:

  • ERC-8086: Privacy Token - A minimal interface for native privacy-preserving fungible tokens
  • ERC-8085: Dual-Mode Fungible Tokens - Tokens supporting both ERC-20 and privacy modes with seamless conversion

✅ Completed Items

  • All editorial feedback from @abcoathup incorporated (EIP number, title simplification, discussion links)
  • CI checks passing (htmlproofer issues resolved in commit 4c96069)
  • Reference implementations deployed on Base Sepolia testnet
  • All contracts verified on Basescan with public source code
  • Working test applications with ZK-SNARK proof generation
  • Comprehensive documentation in /assets/erc-8085/ and /assets/erc-8086/

🔗 Live Deployments

Both standards have functional testnet implementations:

ERC-8085 (Dual-Mode Token)

ERC-8086 (Privacy Token)

All contracts are deployed on Base Sepolia (Chain ID: 84532) and fully verified.

💬 Community Discussion

Active discussions on Ethereum Magicians:

🎯 Key Design Decisions

  1. ERC-8086 as Foundation: Provides reusable privacy primitives (commitments, nullifiers, Merkle trees)
  2. ERC-8085 Builds on Top: Combines ERC-20 + ERC-8086 for dual-mode functionality
  3. Dual-Layer Merkle Tree: 16-level active subtree + 20-level finalized tree (68.7B note capacity)
  4. Full ERC-20 Compatibility: ERC-8085 is backward compatible with existing DeFi infrastructure
  5. Application-Layer Solution: Deployable today without protocol changes

🔐 Security Considerations

The proposals include comprehensive security sections covering:

  • Nullifier uniqueness enforcement
  • Merkle tree integrity (append-only)
  • ZK-SNARK proof verification (Groth16)
  • Double-spending prevention
  • Supply invariant maintenance (for ERC-8085)

📚 Documentation Structure

assets/erc-8085/
├── README.md (deployment info, testing guide)
├── contracts/
│   ├── interfaces/ (IDualModeToken, IZRC20)
│   └── reference/ (DualModeToken, Factory)
└── deployments/base-sepolia.json

assets/erc-8086/
├── README.md (deployment info, testing guide)
├── contracts/
│   ├── interfaces/ (IZRC20, IVerifier)
│   └── reference/ (PrivacyToken, Factory)
└── deployments/base-sepolia.json

Request

Please let me know if you need any clarification, additional documentation, or changes to move this proposal forward. I'm happy to address any feedback promptly.

Thank you for your time and consideration!

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