---
title: "Developer Quick-Start: NFTs and Metadata"
id: "16053"
type: "post"
slug: "developer-quick-start-nfts-and-metadata"
published_at: "2021-09-02T18:18:00+00:00"
modified_at: "2025-12-09T17:15:04+00:00"
url: "https://hedera.com/blog/developer-quick-start-nfts-and-metadata/"
markdown_url: "https://hedera.com/blog/developer-quick-start-nfts-and-metadata.md"
excerpt: "Developers looking to utilize NFTs on Hedera can reference this developer quick-start tutorial to start building NFTs right into their application. We’ll dive into a few real-world use cases and learn how to mint an NFT for them using code..."
taxonomy_category:
  - "Uncategorized"
taxonomy_post_tag:
  - "technical"
---

[Skip to content](#content)
blog

# Developer Quick-Start: NFTs and Metadata

September 2, 2021

![Hedera Team](/wp-content/uploads/2025/12/HH-logo-Black.jpg)

Hedera

Hedera provides secure, scalable infrastructure for real-world decentralized applications in finance, AI, and sustainability, governed by global enterprises.

***HIP-412 has been released and replaces the older HIP-17 standard. You can view the [HIP-412 tutorial](https://docs.hedera.com/hedera/tutorials/token/structure-your-token-metadata-using-json-schema-v2)
 or read the [HIP-412](https://hips.hedera.com/hip/hip-412)
 specification.***

The Hedera mainnet was upgraded to [v0.17.4](https://docs.hedera.com/hedera/networks/release-notes)
 on September 2nd, 2021. It included the new functionality of [HIP-17: NFTs](https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-17.md)
 — the ability for anyone to issue a non-fungible token on Hedera.

The Hedera Token Service has adopted the most ubiquitous pattern for creating NFTs via HIP-17 as a “Whole Non-Fungible” token. In this pattern, a token class is defined and each instance (token) within that class shares certain properties but differs on others — these other properties could be, for example, the numbered edition of a series of cards or artwork. Each NFT is expected to not be equal in value between different instances. It’s encouraged that all developers creating NFTs on Hedera adopt this new standard.

HIP-17: NFTs was submitted by [Daniel Ivanov](https://github.com/Daniel-K-Ivanov)
, Blockchain Solutions Architect at [LimeChain](https://limechain.tech/)
, and HIP-10: Token Metadata JSON Schema was submitted by [Sam Wood](https://www.linkedin.com/in/iamsamwood/)
, CTO & Co-Founder, [Susan Chan](https://www.linkedin.com/in/susan-chan/)
, Project Manager, [Stephanie Yi](https://www.linkedin.com/in/stephyianie/)
, Software Engineer, and [Khoa Luong](https://www.linkedin.com/in/khoa-luong/)
, Software Engineer, at LutherSystems.

Developers looking to utilize NFTs on Hedera can reference this developer quick-start tutorial to start building NFTs right into their application. We’ll dive into a few real-world use cases and learn how to mint an NFT for them using code examples.

You can also get started by visiting the [Hedera Token Service documentation](https://hedera.com/token-service)
 for creating NFTs.

#### What is an NFT and when should I be using one?

NFT stands for non-fungible token. The word fungible essentially means replaceable or interchangeable — NFT’s are not interchangeable, nor are they replaceable. An NFT has a unique cryptographic signature as proof of its authenticity. Additional information is retained in the NFT, like the account ID of its creator and metadata associated with it. This is so people can store all sorts of digital information in the metadata, and you would be able to verify that the account ID matched that of the creator of the work.

Non-fungible tokens create a monumental amount of utility in the worlds physical assets (real estate, art, wine, cars, etc.), digital assets (digital art, music, in-game items), and other financial instruments (bonds, debt, loans) . Artists have taken to this technology like a storm, leveraging it to produce irreplaceable unique digital artwork. Additionally, the digital aspect of the token’s metadata allows individuals to build a digital experience instead of a traditional static piece. Audio data with mp4 data will enable people to create multimedia artwork with a wide array of functionality.

#### How to create an NFT on Hedera

To create an NFT in JavaScript on hedera using the hedera token service, you would utilize the familiar TokenCreateTransaction() Object.

To create an NFT, you need to set the decimals equal to zero and the initial supply to zero (We will mint them later on). You decide who will be able to mint the tokens with the setSupplyKey() parameter. In the past, we have passed in a string to the private key fields, but here we need to make sure that our key is a private key object. This is done with the PrivateKey module from the SDK. The two new parameters we will configure are the TokenType and the SupplyType made available through the SDK. The total amount of NFTs is configured with the MaxSupply; we have set it equal to 10.

Now we can get the token ID. Even though we haven’t minted any, we still have created the token type. We will use TokenId to mint tokens and create an NFT ID. Here is where we create token 1/10 of our limit run of NFTs.

#### Metadata Options

When it comes to storing the metadata there are three options depending on the use case requirements. The primary things to consider when selecting how you want to store the metadata of your NFT is size and cost. Below these three options are ordered in abilities to handle different file sizes.

#### Schema

Additionally, to maintain interoperability with other networks it is highly recommended you store the metadata according to the schema outlined in [Hip-10](https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-10.md)
. An example of this is provided below. For more information on the type and description of each of these fields take a look at the corresponding hip.

![code window background](https://hedera.com/wp-content/uploads/2025/12/CodeSnippetBackground-scaled.jpg)

```
{
	“name”: “Chloe Artwork”,
	“description”: “Chloe Searching For Light Artwork Test Token”,
	“image”: “https://dev.luthersystemsapp.com/chloe_assets/SearchingForLightNo_81_20/image_part_005.jpg”,
	“localization”: {
		“uri”: “https://dev.luthersystemsapp.com/nft-test-{locale}.json,
		“default”: “en”,
		“locales”: [“en”, “es”, “fr”]
	}
}
```

#### Locally

If your metadata is less than 100 bytes you can actually store it directly in this field when minting the NFT. Keep in mind that this field is immutable, so once it is set, it can never be changed. Notice that you wont be able to store multimedia here and should store such assets on a distributed storage service like Filecoin or the Hedera File Service.

#### Hedera File Service

For files greater than 100 bytes and less than 30kb It is recommended to store the metadata on the Hedera File Service. Using the fee calculator for filecreate() this is estimated to be 36 cents per 90days. If metadata is stored on the Hedera File Service, the uri for the metadata should be provided in the setMetadata([“URI goes here”]) field. To calculate the cost based on the number of bytes, please visit the Hedera Fees Estimator: [https://www.hedera.com/fees/](https://www.hedera.com/fees/)

#### Filecoin

If you want to store high-resolution images appropriate for art and other rich multimedia, It is encouraged that File Coin is used. File coin supports distributed large file storage for fractions of a cent. Here is a [link](https://file.app/)
 to the cost allocations for storing on Filecoin. And the documentation can be found [here](https://docs.filecoin.io/store/)
.

#### NFT Applications on Hedera

#### TOKO DLA Piper

[TOKO](https://hedera.com/users/toko-by-dla-piper)
 is a digital asset creation engine created by the global law firm and governing council member DLA piper. The Hedera Token Service (HTS) enables TOKO to quickly issue non-fungible tokens representing various asset classes, such as real estate, fine art, intellectual property, ESG, debt restructuring, fund structuring, equity / digital IPO, and reinsurance. With the legal background from DLA Piper, TOKO can clarify and incorporate various legal implications of tokenized asset classes for their clients. HIP-17 allows TOKO to integrate greater programmable detail and granularity into their platforms regarding the tokenization of unique assets.

#### Calaxy: The Creators Galaxy

[Calaxy](https://www.hedera.com/users/calaxy)
 enables creators to create single, non-fungible tokens and provide gas-less transactions to transfer them. Calaxy is making it free for creators on the platform to mint their own NFTs and ‘Calaxy Collectibles’, while also enabling ‘NFT drops’ by creators, athletes, and artists. Collectables on Calaxy are minted as NFTs through the Hedera Token Service.

[Back to Blog](/blog)

discover

See more articles

[View All](/blog)

![Image](https://hedera.com/wp-content/uploads/2026/08/Regulation_Blog-1024x576.png)

August 5, 2026

### Details decide. What digital asset policy did in July 2026

Halfway through 2026, the regulatory picture is coming into focus. Hedera Chief Policy Officer Nilmini Rubin and VP Global Policy Isadora Arredondo break down what moved in June across the

[Read More](https://hedera.com/blog/details-decide-what-digital-asset-policy-did-in-july-2026/)

![Deploy Multichain Dapps](https://hedera.com/wp-content/uploads/2026/07/HH600301_DeployMultichainDapps_Final-1024x576.png)

July 17, 2026

### Deploy Multichain Dapps on Hedera in 60 Seconds with scaffold-hbar

Deploying multichain dapps on Hedera has never been easier! With just one command, you can spin up a fully functional dapp using Next.js, Hardhat or Foundry, and AI agent context…

[Read More](https://hedera.com/blog/deploy-multichain-dapps-on-hedera-in-60-seconds-with-scaffold-hbar/)

![Regulation is finding its form](https://hedera.com/wp-content/uploads/2026/07/Regulation_Blog-1-1024x576.png)

July 13, 2026

### Regulation is finding its form in summer 2026

Halfway through 2026, the regulatory picture is coming into focus. Hedera Chief Policy Officer Nilmini Rubin and VP Global Policy Isadora Arredondo break down what moved in June across the

[Read More](https://hedera.com/blog/regulation-is-finding-its-form-in-summer-2026/)

## Ready to get started?

Discover why Hedera is the trusted institutional-grade network powering the new digital economy.

[Start Building](/start-building)

[Contact](/contact)

We use cookies to deliver the best experience on our website and to analyze traffic. By continuing to use this site, you consent to our cookie policy.

Review our [Privacy Policy](/privacy)
 to understand how Hedera collects and uses information.

Accept All CookiesAccept Necessary Cookies
