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

feat: add candy machine gpa builders #95

Merged
merged 13 commits into from
May 9, 2022
Merged

Conversation

thlorenz
Copy link
Contributor

@thlorenz thlorenz commented May 8, 2022

Summary

  • add GPA builders to find Candy Machines by wallet and authority
  • indluded operation handlers exposed via CandyMachine Client

Copy link
Contributor

@lorisleiva lorisleiva left a comment

Choose a reason for hiding this comment

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

I love it! Thank you. ❤️

}

// wallet same as solTreasury
candyMachineAccountsForWallet(wallet: PublicKey) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Remind me to have a chat with you about this. I have recently been creating GpaBuilder classes for each account type (that extend a program GpaBuild when needed) where the constructor enforces the account constraint. I think this is good for now but something to discuss when we think about auto-generating them.

@thlorenz thlorenz merged commit 5e1ea1d into main May 9, 2022
@thlorenz thlorenz deleted the thlorenz/feat/cm-gpa-builder branch May 9, 2022 16:53
thlorenz added a commit that referenced this pull request May 9, 2022
* main:
  feat: add candy machine gpa builders (#95)
  v0.8.0
  Use Rollup and Babel to create builds (#93)
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