Theme

Candy Machine Commands

Validate Cache

The mplx cm validate command validates the asset cache file to ensure all assets are properly uploaded and accessible. It provides comprehensive validation, error detection, and cache integrity verification.

Usage

# Validate cache in current candy machine directory
mplx cm validate

# Validate specific cache file
mplx cm validate <path_to_asset_cache>

# Validate on-chain insertions (requires candy machine to exist)
mplx cm validate --onchain

If the validation command shows issues, depending on the error you might want to check the issues with your assets or run the upload or insert command.

Next Steps

  1. Fix any issues found during validation
  2. Create candy machine if cache is valid
  3. Insert items to load assets
  4. Monitor deployment to ensure success
Previous
Insert Items