Optional
authority?: undefined | PublicKeyThe authority that will be allowed to update the Candy Guard.
metaplex.identity().publicKey
Optional
groups?: undefined | { This parameter allows us to create multiple minting groups that have their own set of requirements — i.e. guards.
When groups are provided, the guards
parameter becomes a set of default
guards that will be applied to all groups. If a specific group enables
a guard that is also present in the default guards, the group's guard
will override the default guard.
For each group, any guard not provided or set to null
will be disabled.
[]
Optional
base?: undefined | SignerThe "base" address of the Candy Guard to create as a Signer.
This address will be deterministically derived to obtain the real address of the Candy Guard account. It expects a brand new Keypair such that its derived address has no associated account.
Keypair.generate()
Optional
createA key to distinguish the instruction that creates and initializes the Candy Guard account.
Generated using TypeDoc
The settings of all guards we wish to activate.
Any guard not provided or set to
null
will be disabled.