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.
Related Commands
mplx cm upload- Upload assets and create cachemplx cm create- Create candy machinemplx cm insert- Insert validated assetsmplx cm fetch- Check candy machine status
Next Steps
- Fix any issues found during validation
- Create candy machine if cache is valid
- Insert items to load assets
- Monitor deployment to ensure success