Available Guards

Address Gate

Overview

The Address Gate guard restricts the mint to a single address which must match the address of the minting wallet.

Guard Settings

The Address Gate guard contains the following settings:

  • Address: The only address that is allowed to mint from the Core Candy Machine.

Set up a Core Candy Machine using the Address Gate guard

create(umi, {
  // ...
  guards: {
    addressGate: some({ address: someWallet.publicKey }),
  },
});

API References: create, AddressGate

Now, only the defined public key will be able to mint from this Core Candy Machine.

Mint Settings

The Address Gate guard does not need Mint Settings.

Route Instruction

The Address Gate guard does not support or require the route instruction.

Previous
Withdrawing a Candy Machine