Overview
Minting is the process of creating new NFT tokens within your collection. CreateKit provides a unique two-phase minting system that optimizes for gas efficiency and user experience.Minting Phases
Phase 1: Deployment & First Mint
The first mint operation is special - it deploys the collection contract and mints the first token in a single transaction:Deploy and First Mint
Phase 2: Regular Minting
After deployment, subsequent mints are simpler and only require the standard parameters:Regular Minting
Token Standards
CreateKit supports both ERC721 and ERC1155 standards with different minting behaviors:ERC721 Unique Tokens
Pricing and Payment
Fixed Pricing
Fixed Price Minting
Free Minting
Free Minting
Dynamic Pricing
Dynamic Pricing Logic
Whitelist Minting
CreateKit supports Merkle tree-based whitelisting for exclusive minting:Setting Up Whitelist
Whitelist Setup
Whitelist Minting
Minting with Whitelist Proof
Minting Limits and Controls
Per-Wallet Limits
Wallet Limits
Time-Based Controls
Time Controls
Metadata Handling
Automatic Metadata
CreateKit can automatically generate metadata based on collection settings:Auto-Generated Metadata
Custom Metadata
Custom Metadata URIs
Batch Minting
For ERC1155 collections, you can efficiently mint multiple tokens:Batch Minting
Error Handling
Comprehensive Error Handling
Gas Optimization
Efficient Minting Patterns
Gas-Efficient Minting
Gas Price Management
Gas Price Optimization
Monitoring and Analytics
Mint Event Tracking
Event Monitoring
Real-time Monitoring
Real-time Mint Monitoring
Best Practices
User Experience
- Provide clear feedback during minting process
- Show estimated gas costs upfront
- Implement proper loading states
- Handle errors gracefully with user-friendly messages
Smart Contract Interaction
- Always validate parameters before transactions
- Implement proper error handling
- Use appropriate gas limits and prices
- Test thoroughly on testnet