OpulenceX Finance Ltd.
3 min readOct 5, 2023

--

by Clive by XRDonkey

In the rapidly evolving world of NFTs, understanding metadata, images, and JSON files is crucial for minting and showcasing your digital assets effectively on the XRPL (XRP Ledger) post the XLS20 update. This blog post aims to demystify these concepts, explaining what they are, why you need them, and providing a step-by-step guide on how to create and utilize them. Whether you’re new to the NFT scene or seeking clarity on the intricacies of minting and uploading to a marketplace, this post has got you covered.

What is Metadata and Why is it Essential?

Metadata refers to additional information associated with a digital asset, providing critical details about its authenticity, ownership, provenance, attributes, and more. In the realm of NFTs, metadata is stored on the blockchain or linked to it in a decentralized manner. This data is structured in a JSON file format, which is user-friendly and easy to comprehend.

When uploading a single NFT or images with distinct characteristics that aren’t auto-generated, creating separate metadata files may not be necessary. You can manually input the required information during the

image upload process.

However, for images created by third parties without existing metadata or JSON files, an individualized approach is needed. Each image would require the creation of metadata, following a specific format. Below is

a simplified guide on how to achieve this:

Copy and Paste the Following into Notepad:

{

. “name”: “XRDonkeys — Day at the Races #1",

. “description”: “All four donkeys in one super collection”,

. “image”: “/1.png”,

. “dna”: “2be2f52ccfa832d039505fda45ad795322348294",

. “edition”: 1,

. “date”: 1693076299720,

. “attributes”: [

. {

. “trait_type”: “Background”,

. “value”: “Racing”

. },

. {

. “trait_type”: “Jenny Base”,

. “value”: “Jenny”

. },

. {

. “trait_type”: “Jenny Eyes”,

. “value”: “Yellow”

. },

. {

. “trait_type”: “Jenny Head”,

. “value”: “Dark Green”

. },

. {

. “trait_type”: “Jenny Outfit”,

. “value”: “Blue Corset Green”

. },

. {

. “trait_type”: “Jenny Jewellery”,

. “value”: “Red Stone”

. }

. ],

. “compiler”: “Made with Carrot Juice and Love”

}

Modify Attribute Names and Values:

Replace the sample attribute names and values with relevant details for

your NFT.

Save the File with Image’s Name:

Save the JSON file using the same name as your image, typically counting from 1 for each image.

Repeat for Each Image:

Repeat the above steps for as many images as needed in your collection.

For those creating their own images, traits, and layers but lacking the expertise to generate a large number of images and corresponding

metadata, Haslips offers a convenient solution. They provide two versions for generating collections and metadata:

Option 1: Code-Oriented Approach

This option involves basic coding knowledge, offering more customization but requiring additional setup time.

https://www.youtube.com/watch?v=fzH7Gjadmj0&t=1063s

https://github.com/HashLips/hashlips_art_engine

Option 2: User-Friendly Interface

The easier alternative entails uploading your layers and arranging their

appearance order, streamlining the process.

https://www.youtube.com/watch?v=EuVU4I3kBpw

Understanding metadata, images, and JSON files is fundamental for successfully minting and managing your NFTs on the XRPL. Whether you’re manually creating metadata or leveraging tools like Haslips, ensuring accurate and comprehensive metadata greatly enhances the value and authenticity of your digital assets in the burgeoning NFT landscape.

--

--