MermADAs Cardano Chronicles

illustrations illustrations illustrations illustrations illustrations illustrations illustrations

MermADA NFT Mint Tools Metadata Reference Guide

Published April 30, 2022 by MermADA of Stake Pool TAILS

post-thumb


1
Royalties

2 NFT with image

3 NFT with 3 image types

4 NFT with video & thumbnail

5 NFT with pdf & thumbnail

6 NFT with music & thumbnail
         
With 2 music files & thumbnail

7 NFT with 3D Model or GTLF

8 On-Chain NFT - CONTACT FRED FOR FURTHER INSTRUCTION TO ENSURE THIS IS DONE PROPERLY

9 Mixed Content

10 Long Lines - greater than 64 characters

Getting Started

Some examples in this document use <ipfs_qid_hash> in place of your IPFS QID. Do not include the < or > in your final product. This is just used to show you where to replace our example with your information.

  1. Royalties

When minting royalties the address must be split into two parts so that each half is less than 64 characters long. It does not matter where you split it, the 0.02 below represents 2% royalties.

{
"777":{

  "rate": "0.02",

    "addr": [

      "addr1q8sszwu3feg3kwf2z9g24wsfjpfyz9auhs4m8uv8f768hxp9ejf3e7y6enx",

      "mpe8fegyupcl0e83w2l3w8rpcygsr2zdsnd8g3n"

      ]

 }

}








  1. NFT with image

Replace the <ipfs_qid_hash> with your specific QID (ID) from IPFS.

{
"721":{

  "##policyID##": {

    "##ticker##": {

      "name": "##tokenName##",

      "image": "ipfs://<ipfs_qid_hash>"

    }

  }

 }

}

  1. NFT with 3 image types

Replace each <ipfs_qid_hash> with your specific QID (ID) from IPFS for that item.

{

  "721": {

    "##policyID##": {

      "##ticker##": {

        "name": "##tokenName##",

        "image": "ipfs://<ipfs_qid_hash>",

        "files": [

          {

            "mediaType": "image/png",

            "name": "Image #1",

            "src": "ipfs://<ipfs_qid_hash>"

          },

          {

            "mediaType": "image/jpg",

            "name": "Image #2",

            "src": "ipfs://<ipfs_qid_hash>"

          },

          {

            "mediaType": "image/gif",

            "name": "Image #3",

            "src": "ipfs://<ipfs_qid_hash>"

          }

        ]

      }

    }

  }

}

  1. NFT with video and thumbnail

  • Replace the image <ipfs_qid_hash> with your thumbnail and the src <ipfs_qid_hash> with the IPFS ID for your video file. You must include an image for the cover - any still frame or any image will work here.

{

  "721": {

    "##policyID##": {

      "##ticker##": {

        "name": "##tokenName##",

        "image": "ipfs://<ipfs_qid_hash>",

        "files": [

          {

            "mediaType": "video/mp4",

            "name": "##tokenName##",

            "src": "ipfs://<ipfs_qid_hash>"

          }

        ]

      }

    }

  }

}

  1. NFT with pdf & thumbnail

{

  "721": {

    "##policyID##": {

      "##ticker##": {

        "name": "##tokenName##",

        "image": "ipfs://<ipfs_qid_hash>",

        "files": [

          {

            "mediaType": "application/pdf",

            "name": "##tokenName##",

            "src": "ipfs://<ipfs_qid_hash>"

          }

        ]

      }

    }

  }

}


  1. NFT with music & thumbnail

{

  "721": {

    "##policyID##": {

      "##ticker##": {

        "name": "##tokenName##",

        "image": "ipfs://<ipfs_qid_hash>",

        "files": [

          {

            "mediaType": "audio/mp3",

            "name": "Audio Name",

            "src": "ipfs://<ipfs_qid_hash>"

          }

        ]

      }

    }

  }

}


With 2 audio files

{

  "721": {

    "##policyID##": {

      "##ticker##": {

        "name": "##tokenName##",

        "image": "ipfs://<ipfs_qid_hash>",

        "files": [

          {

            "mediaType": "audio/mp3",

            "name": "Audio Name #1",

            "src": "ipfs://<ipfs_qid_hash>"

          },

          {

            "mediaType": "audio/mp3",

            "name": "Audio Name #2",

            "src": "ipfs://<ipfs_qid_hash>"

          }

        ]

      }

    }

  }

}

  1. NFT with 3D Model or GTLF

{

  "721": {

    "##policyID##": {

      "##ticker##": {

        "name": "##tokenName##",

        "image": "ipfs://<ipfs_qid_hash>",

        "files": [

          {

            "mediaType": "model/gltf-binary",

            "name": "##tokenName##",

            "src": "ipfs://<ipfs_qid_hash>"

          }

        ]

      }

    }

  }

}

  1. On-Chain NFT - CONTACT FRED FOR FURTHER INSTRUCTION TO ENSURE THIS IS DONE PROPERLY

{

  "721": {

    "##policyID##": {

      "##ticker##": {

        "name": "##tokenName##",

        "image": [

          "data:image/png;base64,<base64>"

        ],

        "files": [

          {

            "mediaType": "model/gltf-binary",

            "name": "Onchain Item",

            "src": [

              "data:model/gltf-binary;base64,<base64>"

            ]

          }

        ]

      }

    }

  }

}


  1. Mixed Content (ie video & pdf, GTLF & music)

{

  "721": {

    "##policyID##": {

      "##ticker##": {

        "name": "##tokenName##",

        "image": "ipfs://<ipfs_qid_hash>",

        "files": [

          {

            "mediaType": "audio/mp3",

            "name": "Audio Name #1",

            "src": "ipfs://<ipfs_qid_hash>"

          },

          {

            "mediaType": "application/pdf",

            "name": "Document #1",

            "src": "ipfs://<ipfs_qid_hash>"

          },

          {

            "mediaType": "image/png",

            "name": "Image #1",

            "src": "ipfs://<ipfs_qid_hash>"

          }

        ]

      }

    }

  }

}


  1. Long Line Greater than 64 Characters

When minting - any line that is longer than 64 characters needs to be wrapped in an array and broken into parts each 64 characters or less.

See image below - it’s using a v1 IPFS link as an example.

CORRECT:

{"721":{

  "##policyID##": {

    "##ticker##": {

      "name": "##tokenName##",

      "image": ["ipfs://bafybeichxxx4hj67ou6guaifd6x72w4cdx76",

                     "nn3grgi4iwtgq3573f7iiy"]

    }

  }

 }

}


        IN
CORRECT:

{"721":{

  "##policyID##": {

    "##ticker##": {

      "name": "##tokenName##",

      "image": "ipfs://bafybeichxxx4hj67ou6guaifd6x72w4cdx76nn3grgi4iwtgq3573f7iiy"

    }

  }

 }

}