I'm creating a NFT and I want the transferFrom function to be payable
. In order to do so I need to edit the ERC721 interface and make that function payable
also there.
If I do so everything compiles smoothly, but my question is:
- Will other platforms don't accept my token as a standard ERC721 token? How do other platforms (eg. wallets as Trust Wallet) recognize that my token is a standard ERC721?
- Is there a better way to do this without editing the ERC721 interface? There is this discussion but no real solution: https://github.com/OpenZeppelin/openzeppelin-contracts/issues/1015