I want to transfer part of the value paid to an address whenever an NFT is traded. If the value is 0, then nothing is transferred.
My original idea was to override the transfer function in oppenzeppelin/ERC721, but its impossible to override a nonpayable function to payable.
Any way of doing this? The idea is for a DAO to make passive income every card trade.