Optional
candyOptional
authority?: Signer | PublicKeyThe authority that will be allowed to update the Candy Machine.
Upon creation, passing the authority's public key is enough to set it.
However, when also passing a collection
to this operation,
this authority will need to be passed as a Signer so the relevant
instruction can be signed.
metaplex.identity()
Optional
collection?: Option<PublicKey>The mint address of the Collection NFT that all NFTs minted from
this Candy Machine should be part of.
When provided, the authority
parameter will need to be passed as a Signer
.
When null
, minted NFTs won't be part of a collection.
null
Generated using TypeDoc
The Candy Machine to create as a Signer. This expects a brand new Keypair with no associated account.
Default Value
Keypair.generate()