ERC721 Tax

Hello,

I was wondering if there is a way to incorporate some sort of tax / overwrite the atomic match from the open-sea transfer and incorporate a fee over the value that was transferred?

So if someone sells their erc721 on opensea they get taxed 20-30% of the value.

if so what would be the way to do this?

Thank you

Hello @BlockchainDev

You can try to add a fee inside the _transfer function of ERC721, but you are likely to break the compatibility with a lot of systems.

What OpenSea usually relies on is this. Its not enforced at the contract level, but will be applied by the opensea tooling.