OpenZeppelin / OpenZeppelin/compact-contracts
Add Native Shielded Token standard `MIP-11`
A pull request for this has already been merged.
- #621 by @0xisk — merged
- Dominant language
- TypeScript
- Stars
- 55
- Forks
- 29
- Avg merge
- 5d 7h
- Merged PRs (30d)
- 25
Description
🧐 Motivation
The library has contract-based token standards (FungibleToken, Shielded Contract-Based Tokens) but none for native shielded tokens — Zswap shielded UTXO coins. This is the primitive the Monument use case needs (phase-one mint/burn), and the base for compliant RWA tokens later.
📝 Details
Standard for minting/burning native shielded Zswap tokens, with a modular access-control layer (Ownable / AccessControl / Multisig) chosen by the consumer. Ledger state must be designed up front (not upgradable; see CMA). Phase-one scope = mint/burn, unblocked now; phase-two transfer depends on contract-to-contract + custom-spend logic.
Roadmap: Libraries → Shielded Native Token (Priority MNF: high).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.