Editing Royalties
Last updated
Last updated
If your NFT collection does not implement ERC2981, or if you wish to update existing royalty settings, you can do so by deploying a royalty override contract and registering it with the Royalty Registry.
In order to set royalties using an override, you must first deploy a dedicated override contract using the Override Factory:
createOverrideDefaultOnInitUnlinked
, enter the royalty rate in bps (e.g. 500 for 5%) and the address that should receive the royaltiesRoyalties may be paid in various ERC20 tokens. When configuring a royalty override, ensure the recipient address can receive ERC20 tokens.
When the transaction confirms, find it on the Canto Explorer. In the "Logs" section, you'll see the address at which the override was deployed.
Once the override contract has been deployed, you must register it with the Royalty Registry:
setRoyaltyLookupAddress
, enter the addresses of your NFT collection and override contract, respectivelyBlank Rasa will begin using the royalty rate specified in the royalty override immediately.