Are there examples of calling candy machine and candy guard prgoram from an anchor program?
1 Answer
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.