Skip to content

Split Royalties in Tezos Collections #244

Answered by 0x666c6f
marcusrehm asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @marcusrehm !
Indeed, the set_royalties entrypoint can only be called by us.
However, the royalties provider follow this pattern:

  • Check in NFT contract if the get_royalties endpoint is implemented
  • If not, check if we have an entry for the contract and the token ID in the royalty registry storage
  • If not, check if we have a global royalty set for the whole NFT contract
  • If still not, royalty is considered 0

So in order for you to integrate with the Royalty contract, you just need to implement the get_royalties call with the good parameters in the NFT contract

Some useful resources:

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@marcusrehm
Comment options

@0x666c6f
Comment options

@marcusrehm
Comment options

Answer selected by marcusrehm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment