Creating NFT Collections

Guide Overview

Learn how to create NFT collections on Solana using the EZMint API. This guide covers everything from basic collection setup to advanced metadata configuration.

Prerequisites

  • An EZMint account with an API key (Get your API key)
  • Basic understanding of NFTs and Solana
  • Collection artwork and metadata prepared

Step 1: Prepare Your Collection

Before creating your collection, prepare the following information:

Required Information

  • • Collection name (e.g., “Awesome Art Collection”)
  • • Collection symbol (e.g., “AAC”) - max 10 characters, uppercase
  • • Collection image - preferably square, max 10MB
  • • Description of your collection

Optional Information

  • • External website URL
  • • Social media links (Twitter, Discord, etc.)
  • • Royalty percentage (0-100)
  • • Custom attributes/traits

Step 2: Create the Collection

Use the Collections API to create your collection:

Example Request

curl -X POST https://api.ezmint.xyz/api/devnet/collections \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Awesome Art Collection",
    "symbol": "AAC",
    "description": "A unique collection of digital artwork",
    "image": "data:image/png;base64,..." // or "https://..."
    "website": "https://mywebsite.com",
    "twitter": "mycollection",
    "discord": "https://discord.gg/...",
    "royalties": 5,
    "attributes": [
      {
        "trait_type": "Artist",
        "value": "John Doe"
      }
    ]
  }'

Step 3: Verify Collection

After creation, verify your collection details:

Example Request

curl https://api.ezmint.xyz/api/collections/YOUR_COLLECTION_ID \
  -H "Authorization: Bearer YOUR_API_KEY"

Important Note

Collection metadata cannot be modified after creation. Make sure all details are correct before creating the collection.

Next Steps