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

Add Creator royalties #177

Closed
fyannch opened this issue Jul 31, 2024 · 0 comments · Fixed by #178
Closed

Add Creator royalties #177

fyannch opened this issue Jul 31, 2024 · 0 comments · Fixed by #178
Labels
enhancement New feature or request

Comments

@fyannch
Copy link
Collaborator

fyannch commented Jul 31, 2024

Expected Behavior
If creators want to collect royalties, they can configure the royalty ratio and receive a certain percentage of royalties after successful NFT transactions

Specifications
For example, I have set the royalty rate for SGR-0 collection to 1% and configured my payment address. When the SGR - * transaction amount is 100ELF, I will receive 1ELF

Features:
Collect royalties after successful transaction

Development Tasks:
Add SetRoyalty(),config rarity 、eceiver address
Add GetRoyalty, querey raroty config
Modify Deal logical modification, deducting royalties from the recipient upon successful transaction

@fyannch fyannch added the enhancement New feature or request label Jul 31, 2024
@fyannch fyannch linked a pull request Jul 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant