Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

NFT with Royalty #40

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

NFT with Royalty #40

wants to merge 1 commit into from

Conversation

EGuenz
Copy link
Collaborator

@EGuenz EGuenz commented Mar 15, 2021

FA2 Compliant Royalty NFT contract

Normal NFT implementation of FA2 with following changes.

  1. Token metadata has following key
      royalty-data : (address %creator, nat %fee) where creator is the address that created the NFT and %fee is the percentage cut of a sale that the creator gets.
  2. Owner of a token cannot transfer it— only an operator can. 
  3. The contract contains no update operators entrypoint— operators must be set upon minting of some NFT and they must be set as addresses different from the token owners.
  4. Operators must be KT1 addresses, which are in fact auction contracts.
  5. There is an extra entrypoint Get_royalty that calculates the royalty-fee and address which is sent to the callback  

@EGuenz EGuenz requested review from emishur and removed request for emishur March 15, 2021 21:52
@EGuenz EGuenz changed the title Initial royalty nft commit NFT with Royalty Mar 22, 2021
@cpubot cpubot changed the base branch from develop to main April 9, 2021 18:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant