📌ERC2981
Overview
The Royalties
contract is an extension of the OpenZeppelin ERC721Royalty standard. It's designed to manage and automate royalty payments for NFTs (Non-Fungible Tokens).
This contract provides a way to mint NFTs with royalty information, ensuring that the original creators receive compensation whenever their NFTs are traded.
Methods
safeMint
safeMint
Mints an NFT and sets specific royalty information for it.
Parameters
Parameter | Type | Description |
|
| Address of the person who will receive the NFT. |
|
| ID of the NFT to be minted. |
|
| Address of the person who will receive the royalties. |
|
| Numerator for calculating the royalty fee. |
Last updated