I’m here for propose my idea to Ethereum Magicians community, redirected by a kind user of the Open Zeppelin community. I hope I can explain myself well and also some guidance if my proposal is really liked and can become an official standard.
I have been developing 2 extensions for ERC1155 as a personal purpose, but after discussing it with several developers I have been proposed to present it as an official extension.
I saw that the ERC1155 standard does not have the possibility to approve tokens by id or amounts as for example in ERC20. So, to create more security to my clients, I have designed the following code to avoid my smart contract to be approved for all ids, later I thought to develop the same but with amounts.
Code and explanations are here: GitHub - ivanmmurciaua/ERC1155ApprovalByAmount: A draft to do a safe approval by individual amounts by id for ERC1155 standard
It would be a pleasure to humbly contribute to this great community of developers.
Feel free to answer me and discuss with me.
Greetings from Spain,