[Ethereum] Is it possible to burn an NFT (ERC20 or ERC721) from other provider/creator

erc-20erc-721nft

I want to create a wallet/gallery for NFTs and I was wondering if it could be possible for the user to send NFTs made in other providers/minters to burn in my platform. The thing is that I want to give a 'grace period' where the NFT is not burned yet. Is possible to do something like this? The ideal way is that the user allows the permission to burn but is not done until the proper time arrives.

Thanks a lot for any hint*

Best Answer

Practically, yes. The ERC-721 standard supports a transfer function. You can use that to allow people to send you tokens.

Then you can use transfer again to send them to the one address. This is a well-known address that is unable to recover any assets sent to it. (The zero address is better known with the same feature, but the standard specifically disallows sending there.) This is an effective burn.

But the standard specifically does not standardize burning. Your new contract could use the above approach in general along with more specific proprietary burning approaches as needed on a per-asset-type basis.

Related Topic