Type alias CreateCandyMachineV2InputWithoutConfigs

CreateCandyMachineV2InputWithoutConfigs: {
    candyMachine?: Signer;
    authority?: Signer | PublicKey;
    collection?: Option<PublicKey>;
}

Type declaration

  • Optional candyMachine?: Signer

    The Candy Machine to create as a Signer. This expects a brand new Keypair with no associated account.

    Default Value

    Keypair.generate()

  • Optional authority?: Signer | PublicKey

    The 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.

    Default Value

    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.

    Default Value

    null

Generated using TypeDoc