Open vpontis opened 2 years ago
since almost all nfts belong to a collection it might be good to make the royalties a per collection basis.
unless it is a 1/1 which is not in a collection. then it would need to be on the nft.
perhaps make it an optional field?
We will want to send royalties to multiple accounts but we don't want to store all of them on the NFT (since that will make creating the NFT more expensive for everyone)
Instead we could set up:
RoyaltyConfigAccount
royalty_percent
creators
-CreatorRoyalty[]
type CreatorRoyalty = { creator: Address; shares: u64 }
dispense_royalties
Instructiontotal_fee
nft_account
royalty_config
invoke_signed
to pay out the different accounts based onshares
/royalty_percent
Questions
collection
ornft
level primitive?