I wanted to handle royalites of NFT for secondary sales. Initially, I created buyNFT function that will handling royalites and transfer of NFT but later I have been thinking that If someone migrate the NFT to other platform then buyNFT function will not be executed.
I have been thinking to override the _transfer and _transferFrom function and royalities check in it.
Should I do in the same way or is there any other good procedure available?
@abcoathup Please help me out