How To Create Token/NFT Metadata on IPFS

July 9, 2023
Guides

Learn how to create an NFT or Digital Token with Metadata on IPFS

How to Create Token/NFT Metadata on IPFS with DropChain

DropChain makes building web3 apps easy — no web3 development expertise needed. If you haven't created an account on DropChain yet, please follow the DropChain Getting Started guide.

Creating Token/NFT IPFS Metadata on IPFS with the DropChain API

Creating token or NFT metadata with create_asset_metadata means defining the properties and attributes of your asset, and then pinning that information to IPFS. This can include information such as the asset's name, description, image, and other relevant details.

You might want to use this API endpoint to create a unique NFT with specific attributes for an art collection, or to define the properties of a game item, such as its rarity, power, and appearance.

The DropChain API is available in both code and no-code forms. So, regardless of your technical expertise, you can build a web3 app in no time!

How To Use

If you know how to code, you can use the following code examples below to get started. Python (with the DropChain SDK) and Javascript (using fetch) is shown, but any language that supports POST requests will work.

Use the DropChain Marketing Platform

Struggling to manage and engage your web3 community? Community managers that use DropChain's email marketing tools have see 40x ROI.

In order to follow best practices, the normal approach to handling metadata should be:

  1. First, create your asset metadata
  2. Then, Mint an NFT/token. Within the URL, include the text: ipfs://<your IPFS Metadata Hash from step 1>
  3. Finally, grab that asset's information with the get_asset_info whenever you need to validate or retrieve the information
  4. In order to read the text data from your IPFS metadata hash, you will grab it with get_metadata_from_hash

For a more in-depth guide on how DropChain works, we recommend the guide here.

No Code:

The DropChain API integrates with existing no-code tools. Bubble.io allows you to make no-code web apps, and DropChain has a no-code plugin with the functionality above.

This enables you to build 100% no-code web3 apps, games, and any other platform you can imagine.

Check out our guide here to get started building a no-code web3 app with DropChain and Bubble.io — no coding experience needed.

Conclusion

For more information on using the create_asset_metadata endpoint, refer to the DropChain API documentation.

By following these steps, you'll be able to mint your first NFTs using the DropChain API in minutes. For more information and examples, refer to the DropChain documentation.

Don't Grow Alone

Join the DropChain Discord to connect with fellow web3 community managers.

Can't grow your web3 community?

Don't worry, click the button to get started with DropChain's suite of web3 marketing and engagement tools.

Start Growing