-
Notifications
You must be signed in to change notification settings - Fork 525
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
fix: Add Creator Minimum Balance Check #1051
fix: Add Creator Minimum Balance Check #1051
Conversation
dea7605
to
d159624
Compare
@KartikSoneji does this only apply to creators that are PDA addresses? |
This also applies to normal keypairs, since the creator can empty it out. |
d159624
to
49b4d23
Compare
49b4d23
to
64a0956
Compare
Thanks for this and the other PR! |
Happy to help :) |
I plan to deploy it this week. There are a couple of other issues raised I want to resolve first. |
If one of the creators of an NFT has less than the rent exempt amount in their wallet, and the royalty from the sale is not enough to bring the balance over the rent exempt minimum then the sale will fail.
A workaround is to skip paying creator royalties unless they result in a valid balance for the creator wallet.