You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 }
The amount each creator gets is the
dispense_royalties Instruction
call with
total_fee
nft_account
royalty_config
it will then call invoke_signed to pay out the different accounts based on shares / royalty_percent
Questions
Should this be a collection or nft level primitive?
The text was updated successfully, but these errors were encountered:
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?The text was updated successfully, but these errors were encountered: