๐Ÿ”„ How Royalties Work: Automatic Payments

Understand smart contract royalty distribution on each sale

Understand how creators earn from secondary sales

โš™๏ธ Payment Flow Mechanics

NFT royalties aren't magicโ€”they're implemented through smart contracts and marketplace cooperation. Understanding the technical flow helps you appreciate both the power and limitations of royalty systems.

๐Ÿ“

On-Chain Data

Royalty info stored in NFT smart contract

๐Ÿช

Marketplace Query

Platform reads royalty percentage and recipient

๐Ÿ’ธ

Payment Split

Sale proceeds divided among parties

๐Ÿงฎ Interactive: Royalty Calculator

Adjust the sale price and royalty percentage to see exactly how payments are distributed.

10%
0%10%20%
Creator Receives
0.250 ETH
10% of sale
Marketplace Fee
0.063 ETH
2.5% platform fee
Seller Receives
2.188 ETH
87.5% of sale
Payment Distribution Visualization
10%
2.5%
88%

๐Ÿ”„ Step-by-Step: What Happens on Sale

1
Buyer commits funds
Buyer sends full sale price to marketplace contract
2
Contract queries royalty
Marketplace calls royaltyInfo(tokenId, salePrice) on NFT contract
3
Royalty payment sent
Creator address receives royalty percentage automatically
4
Platform fee deducted
Marketplace takes service fee (typically 2-2.5%)
5
Seller receives balance
Original owner gets remaining proceeds
6
NFT transferred
Ownership updated to buyer's wallet

โœ… On-Chain Royalties

  • โ€ขTransparent: Anyone can verify royalty terms
  • โ€ขStandard: EIP-2981 works across all platforms
  • โ€ขImmutable: Terms can't be changed without upgrade
  • โ€ขPortable: Follows NFT to any marketplace

โš ๏ธ The Enforcement Gap

  • โ€ขNot automatically enforcedโ€”requires marketplace cooperation
  • โ€ขP2P transfers bypass royalties entirely
  • โ€ขSome platforms choose to ignore royalty data
  • โ€ขNo protocol-level enforcement mechanism exists

๐Ÿ’ก Key Insight

The "enforcement gap" is crucial to understand: while smart contracts can store royalty information, they cannot force marketplaces to honor it. This is because most NFT sales happen through marketplace contracts, not the NFT contract itself. The NFT contract can say "10% royalty please," but if the marketplace contract ignores that request, there's no technical way to stop the transfer.

โ† Introduction