2

I have created a smart contract for the NFT collection marketplace and did not include any royalties inside the smart contract. I would like to confirm whether do I need to add some functions inside the smart contract for getting royalties or do I need to manage with the NFT platform externally without including it in the smart contract code?

1

2 Answers 2

1

It is not mandatory.

The mandatory things are specified in ERC-721 specification

2

Most likely royalties are handled by the marketplace. If the required the NFT contract to include some royalty functionality, they would have very few NFTs to sell.

The NFT (ERC-721) standard doesn't have any notion of royalties. Check out EIP-2981 standard EIP-2981: NFT Royalty Standard

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.