(I’m sorry to ask here, because no one responded in the OpenSea channel)
I want to enable Creator Fee Enforcement for my NFT on OpenSea. Here is the relevant information I have obtained:
However, I don’t quite understand the part about code implementation mentioned in the document:
In addition to implementing the above
ICreatorTokeninterface, the NFT contract should also implement one of the following transfer validation functions in their_beforeTokenTransferhook, with the call being performed to the assigned transfer validator (if one is set) and withgetTransferValidationFunction()returning the corresponding function selector:
Has anyone implemented this? I would be very grateful if you could provide more implementation descriptions or code examples. ![]()