Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WEN Royalties Interface #105

Open
2 tasks
kespinola opened this issue Jun 24, 2024 · 1 comment
Open
2 tasks

WEN Royalties Interface #105

kespinola opened this issue Jun 24, 2024 · 1 comment
Assignees

Comments

@kespinola
Copy link
Contributor

Issue

The WEN Royalties Distribution is handling both royalty payout and enforcement.

The program is unable to payout creators in the sell flow and instead requires escrow accounts that need to be claimed by the creator.

Additional Metadata Fields Spec

royaltyBasisPoints: u16
`{creator_1}`: share
...
`{creator_n}`: share

Goal

Payout creators in the same transaction fulfilling the sale while still doing an enforcment check that the cpi program is respecting royalties via transfer.

No need for additional accounts on state to serve as escrow or approvals. The system works off of only the WNS mint account.

Strategy

@kespinola
Copy link
Contributor Author

Consider refactoring wen_royalties_distribution program to use the wen-royalties-inferface.

https://github.com/wen-community/wen-program-library/blob/main/programs/wen_royalty_distribution/src/state.rs#L4

@kespinola kespinola moved this to Backlog in WEN Release Planning Jun 25, 2024
@kespinola kespinola moved this from Backlog to In Progress in WEN Release Planning Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants