How to create IPFS link for your NFT

Andrej Dorsian
Droplove
Published in
4 min readJun 28, 2022

Guide to upload your images and .json metadata for NFTs correctly to IPFS.

Ok, so you have mastered minting the solidity NFT smart contract in 3 clicks on Droplove.xyz, and you probably have loaded your wallets with testnet Ether (if not, read this blog first).

Now, you probably need some visuals and metadata to connect to your contract. This is a non-stress operation, because you can change the link to metadata anytime in your NFT smart contract on Droplove, giving you the space to either test and trial your visual content, or to turn your NFTs into dynamic tokens, with regularly changing visuals, from setting up “reveal” all the way to dynamic ever-morphing pfp’s.

Here is a quick guide how to upload all your content to IPFS correctly, in order to link your files to NFT smart contracts created on Droplove. For smooth operations, important step is to first try it on Rinkeby Testnet, only than move on to the Mainnet.

(Just a reminder, if you are struggling with creating a “Build” with generative jpegs and json, head to Hashlips guide before reading this blog).

Droplove Dashboard shows you all your created contracts both on Ethereum Testnets and MainNet.

First upload the images

Let’s say, you have already generated your “Build” in Visual Studio Code. The problem is, that your .json asks for URI (address of image files on IPFS), and you simply do not have any. To solve this, you first need upload your jpegs from build to IPFS. In this guide, we have chosen Piňata IPFS, but feel free to choose your favourite tool — the main difference would probably be in names only.

Files upload on IPFS works more or less the same as on any other cloud service such as Dropbox

So, here is a quick guide to upload your visuals to IPFS:

  1. create an account on Piňata. There is a variaty of price options to pick, starting from free package. For this trial, you will be comfortable with free package.
  2. head to Files, click upload. Select whole folder of your images (lets say, you have build for 100 arts — upload all of them).
  3. Once uploaded, copy the URI address of your Images folder on Piñata to clipboard
  4. Insert this super looong URI address to General Metadata for Ethereum section, right behind the baseUri =.
    (P.S: always make sure to insert URI address in form: “ipfs://Qm5CK9M…thewholeURIaddress )
Droplove NFT Contract calls the IPFS URI of metadata, which link to your image files on IPFS.

Next update and upload your .json

Here is the simple truth about link that points from your NFT smart contract to your Piñata. It must be pointing to your .json / metadata file, which points to your IPFS address. In other words, your NFT contract calls the metadata file on IPFS, and this metadata .json file calls your Image files on IPFS.

Insert IPFS URI address of images to your .json

With this on mind, we can move on to upload your .json:

  1. first, make sure you have updated all the general metadata. Besides baseUri with IPFS (which is key), make sure to update also your namePrefix and description. These are the metadata files that will be read by OpenSea, and will determine how is your collection called and what would be written in Description part under every single NFT.
  2. once this is ready regenerate the .json script in your Visual Studio Code, by simply running npm run update_info in terminal. Save your files.
  3. Upload your .json folder to piñata / IPFS.

Link your IPFS in Droplove Dashboard

Droplove allows you to add / change your IPFS link anytime

At this point you are all set with IPFS. Last remaining thing to do, is to link your NFT smart contract on Droplove.xyz with URI link to metadata on IPFS. Just head to your Dashboard, and click Edit Contract. Insert your URI to json in section “Metadata Link”. Make sure to add slash / in the end. Do not forget to update the contract on blockchain (sign with Metamask).

And thats it. You are all set, and ready to mint! Congratulations!

P.S: I will repeat myself, but we have built Droplove as a seamless, full control tool. This means, you are able to change your link to metadata anytime. In other words you can try, repeat, adjust, try, and fix everything until you will be 100% satisfied with your traits, image files and metadata.

Head to Droplove.xyz Discord to get DRPLV passes whitelist, allowing you to create NFT contracts without code, in 3 clicks. Make sure to secure whitelist, there will be only 990 DRPLV passes.

We are building the no-code tool to deploy and manage NFT smart contracts! Want to know more? Check out our website.

If you would like to ask us anything or interact with our growing community, Join us on Discord.

--

--