-
Notifications
You must be signed in to change notification settings - Fork 62
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
limitation on number of groups in candy guard #44
Comments
@lorisleiva, @febo, @sohrab-, @azerpas, Do you know something that can help me in this scenario? |
There is one improvement, If I can group the same number of limits in one group and remove the AddressGate guard and replace it with AllowList, I can improve significantly, if I have more wallets with similar limits. |
This sounds like a question for the Discord. I've seen dynamic allocation done by airdropping another NFT or SPL Token that they can burn to mint. Or off-chain validation with third-party signer. |
@PratikBodawala Unfortunately the creation and update of the Candy Guard config is limited by the transaction size. @sohrab- suggestions seem good. Another option is to create multiple A long term solution would be to batch the update of the config – e.g., support updating individual groups at a time. |
I want to limit the number of mint per wallet which can be dynamic.
e.g. wallet1 has 5, wallet2 has 7, wallet3 has 10
to achieve this scenario, I have left the default guard empty and set 3 groups with the following settings.
groups
which works just fine.
the problem starts when I specify 50 groups, the length of the transaction would be ~2500 bytes, which exceeded the hard limit of 1232 bytes. and I can not do a partial update, as it needs all data to update Candy Guard.
Is there any trick that executes this transaction OR is there any other combination of guards that can achieve the above scenario
The text was updated successfully, but these errors were encountered: