Are there examples of calling candy machine and candy guard prgoram from an anchor program?

1 Answer 1


You can check the sugar cli code from metaplex, it calls the anchor program internally. Here is link: https://github.com/metaplex-foundation/sugar/blob/main/src/guard/add.rs for one of the calls.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.