I have added the following lines in my Remix ERC721 code (from Contracts Wizard)
import "@openzeppelin/[email protected]/token/ERC721/extensions/ERC721Royalty.sol";
import "@openzeppelin/[email protected]/interfaces/IERC2981.sol";
What function code do I need to use to set royalty price and royalty address?
Is it as simple as adding the following to contractURI metadata?
"seller_fee_basis_points": 100
fee_recipient": "0x ADDRESS GOES HERE"
I have done an extensive search of the forums and nothing has addressed this already, so hoping this thread will shed some light.