Theme

Available Guards

Start Date Guard

Overview

The Start Date guard determines the start date of the mint. Before this date, minting is not allowed.

Guard Settings

The Start Date guard contains the following settings:

  • Date: The date before which minting is not allowed.

Set up a Candy Machine using the Start Date Guard

import { dateTime } from "@metaplex-foundation/umi";

create(umi, {
  // ...
  guards: {
    startDate: some({ date: dateTime("2022-01-24T15:30:00.000Z") }),
  },
});

API References: create, StartDate

Mint Settings

The Start Date guard does not need Mint Settings.

Route Instruction

The Start Date guard does not support the route instruction.

Previous
Sol Payment