Not sure what the appropriate category is for questions about building on Zama.
Anyways, so where are we in terms of contract standards for RWAs? I’ve seen different kinds of approches and standards for this… What is the latest standard for this in your opinion?
I want to make a simple vault with monthly lock and revenue and wrapped token. Compliant and confidential.
I already have an IdentityRegistry.
About ERC-7984 as per ERC-7984 | OpenZeppelin Docs , I think CompliantERC20 ( CompliantERC20 | fhEVM Hub ) seems more compliant than ERC7984. Also what features ERC7984 adds that other standards don’t have? My problem with ERC7984Restricted , as illustrated in ERC7984Restricted.sol ( openzeppelin-confidential-contracts/contracts/token/ERC7984/extensions/ERC7984Restricted.sol at master · OpenZeppelin/openzeppelin-confidential-contracts · GitHub ) is that it isn’t natively compatible with IdentityRegistry and it exposes KYC result ‘UserRestricted’, which is non compliant (CompliantERC20 prevents this).
Do we know of a good middle ground? Something like ERC7984Rwa but with the transfer logic of CompliantERC20 (using IdentityRegistry)?