Skip to content

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.

3 participants