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

cNFT candy machine #168

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ASCorreia
Copy link
Contributor

cNFT candy machine program example

@ASCorreia
Copy link
Contributor Author

@Woody4618 appreciate if you could review this

Copy link
Collaborator

@Woody4618 Woody4618 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm. Great stuff!

name,
symbol,
uri,
seller_fee_basis_points: 0,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe this one could be configurable.

};

#[derive(Accounts)]
pub struct AllowList<'info> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will at some points run out of memory or out of CU. You could add a check or a hint somewhere for the maximum possible list size and check if the program doesnt run out of CU with the max allow list size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants