Available Guards

Start Date Guard

Last updated March 10, 2026

The Start Date guard sets the earliest date and time when minting is allowed on a Core Candy Machine, blocking all mint attempts before the configured timestamp.

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

Notes

  • The Start Date guard uses UTC timestamps. Ensure date values passed via dateTime() are in ISO 8601 format with explicit timezone information.
  • To define both a start and end window for minting, combine the Start Date guard with the End Date guard.
  • The date comparison uses the on-chain Solana cluster clock, which may have slight drift from wall-clock time.