-
Notifications
You must be signed in to change notification settings - Fork 138
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 RoyaltyFee
to custom HTS fee types
#1935
Comments
Thinking out loud: if there there is more than one type of fungible token exchanged for said NFT transfer, then the |
Another edge case: if there are two NFTs exchanged for a Fungible transfer, |
Definitely...so if there is an
Then the "fungible value exchanged" for Whether these |
My instinct would be to charge the royalty fee once for each unique Does that make sense to you? |
Problem
NFT creators cannot define a royalty fee to be automatically assessed when their NFTs are exchanged for fungible value (whether ℏ or units of a fungible HTS token like USDC).
Neither the
FixedFee
norFractionalFee
types support this use case.Solution
Introduce a new
RoyaltyFee
type:Implement the charging behavior outlined in the two examples here where first,
And then,
The text was updated successfully, but these errors were encountered: