Available Guards

Address Gate Guard

Overview

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

if the payer does not match the address on the guard

Minting will fail

Candy Machine

Owner: Candy Machine Core Program

Candy Guard

Owner: Candy Guard Program

Guards
AddressGate
- Address
...
Payer

Owner: Any Program

Mint from

Candy Guard Program

Access Control

Mint from

Candy Machine Program

Mint Logic

NFT

Guard Settings

The Address Gate guard contains the following settings:

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

Set up a 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 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
Programmable NFTs