ERC2981 introduces a Non Fungible Token Royalty Standard for off-chain and on-chain auctions. This talk is going through the history and the mechanisms behind NFT auctions operating on NFT marketplaces. The speaker will share his personal experience in the implementation and operation of ERC2981 as an auction operator for NFT.
1. EIP-2981
NFT Standard for Royalty
1
1
Steve Huguenin, Brother Day Art
Steve Huguenin, Brother Day Art
Geneva DevChain, 3/5/2022
Geneva DevChain, 3/5/2022
2. Description
eip 2981
title ERC-721 Royalty Standard
authore Zach Burks (@vexycats)
discussions-to https://github.com/ethereum/EIPs/issues/2907
status Draft
type Standards Track
category ERC
created 2020-09-15
requires 165
2
2
Steve Huguenin, Brother Day Art
Steve Huguenin, Brother Day Art
Geneva DevChain, 3/5/2022
Geneva DevChain, 3/5/2022
3. Summary
A standardized way to retrieve royalty payment
information for non-fungible tokens (NFTs) to enable
universal support for royalty payments across all
NFT marketplaces and ecosystem participants.
3
3
Steve Huguenin, Brother Day Art
Steve Huguenin, Brother Day Art
Geneva DevChain, 3/5/2022
Geneva DevChain, 3/5/2022
4. Idea
Non Fungible Token are traded primarily through
drops and auctions.
Creator and Operators deserve royalty on the first as
well as the secondary sales.
How can the consensus protocol guarantee royalty
between marketplaces for any creator?
Owner cannot register for royalties.
4
4
Steve Huguenin, Brother Day Art
Steve Huguenin, Brother Day Art
Geneva DevChain, 3/5/2022
Geneva DevChain, 3/5/2022
5. Royalty payment percentage calculation
1. Marketplace sells NFT.
2. Marketplace delays days before invoking royaltyInfo()
and sending payment.
3. Marketplace receives for royaltyAmount which was
significantly different from the royaltyAmount amount that
would’ve been calculated days prior if no delay had
occurred.
4. Royalty recipient is dissatisfied with the delay from the
marketplace and for this reason, they raise a dispute.
This is processed in the browser in any case.
X
Y
X
5
5
Steve Huguenin, Brother Day Art
Steve Huguenin, Brother Day Art
Geneva DevChain, 3/5/2022
Geneva DevChain, 3/5/2022
6. Technology comparison
No-code tools for minting NFTs
Technology ERC721 ERC1155 ERC2981
Ownable
[1]
On-chain
Auction
Opensea.io / Wyvern Protocol
[2][3][4]
Yes Yes No Yes No
LooksRare [5][6] Yes Yes Yes
Yes
(wrapper)
Dutch Auction
(wrapper)
Rarible [7] Yes Yes Yes Yes
English Auction
(2022 Q1)
Zora Protocol [8] Yes No Yes Yes English Auction
Manifold [9] Yes Yes Yes Yes English Auction
WP Smart Contracts [10][11] Yes Yes Yes Yes English Auction
Origin Story [12] Yes No No Yes No
Thirdweb [13] Yes Yes Yes Yes English Auction
6
6
Steve Huguenin, Brother Day Art
Steve Huguenin, Brother Day Art
Geneva DevChain, 3/5/2022
Geneva DevChain, 3/5/2022
7. Two approaches for auction: respectively Dutch
(price decrease) and English (price increase) auction.
A compliant standard should be proposed for
compatibility between all marketplaces.
7
7
Steve Huguenin, Brother Day Art
Steve Huguenin, Brother Day Art
Geneva DevChain, 3/5/2022
Geneva DevChain, 3/5/2022
8. Gnosis Safe implemented a dutch auction solution
named DutchX [14] but it is only for ERC20 (fungible)
tokens.
Zora, Superrare, Foundation.app, Opensea, Nifty
Gateway, Manifold and Rarible co-authored a tracker
for tokens supporting NFT Royalty standard EIP-2981
[15].
NFT royalties will be supported on these platforms
soon.
8
8
Steve Huguenin, Brother Day Art
Steve Huguenin, Brother Day Art
Geneva DevChain, 3/5/2022
Geneva DevChain, 3/5/2022
9. Design pattern
pragma solidity ^0.6.0;
import "./IERC165.sol";
interface IERC2981 is IERC165 {
function royaltyInfo(
uint256 _tokenId,
uint256 _salePrice
) external view returns (
address receiver,
uint256 royaltyAmount
);
}
interface IERC165 {
function supportsInterface(
bytes4 interfaceID
) external view returns (bool);
}
9
9
Steve Huguenin, Brother Day Art
Steve Huguenin, Brother Day Art
Geneva DevChain, 3/5/2022
Geneva DevChain, 3/5/2022
10. Onchain vs Off chain
Auction Type API
Opensea.io English / Dutch External
LooksRare Dutch Onchain
Rarible English Onchain
Zora English Onchain
Async Art English Onchain
Only few NFT marketplaces run on external API.
10
10
Steve Huguenin, Brother Day Art
Steve Huguenin, Brother Day Art
Geneva DevChain, 3/5/2022
Geneva DevChain, 3/5/2022
11. To explore more
NFT School https://nftschool.dev/
Geneva Devchain http://geneva.devchain.io/
11
11
Steve Huguenin, Brother Day Art
Steve Huguenin, Brother Day Art
Geneva DevChain, 3/5/2022
Geneva DevChain, 3/5/2022