Craft Network
  • 📖Contracts
  • 🎨Deploy a presale
    • Introduction and pre-requisites
    • Format & publish metadata on IPFS
    • Deploy your Smart Contract
    • Launch the presale website
  • 🖥️Craft API
    • GET
Powered by GitBook
On this page
  1. Deploy a presale

Format & publish metadata on IPFS

PreviousIntroduction and pre-requisitesNextDeploy your Smart Contract

Last updated 1 year ago

This tutorial assumes that you already have the metadata of your NFTs ready and formatted according to the . The key names can vary from this standard but you'll need to have the same structure! Here's an example of this structure:

{
    "name": "$CFT compound award",
    "description": "This award NFT is distributed to chads that compounded their rewards into $CFT",
    "image": "https://craft-network.mypinata.cloud/ipfs/QmdhEBnE1BTvGhEUYa1cXtiboKp5XdfNsNX7yY4UnQ2NXH",
    "external_url": "https://craft.network/cx82c8c091b41413423579445032281bca5ac14fc0:null",
    "attributes": [
        {
            "key": "Type",
            "value": "Bull"
        }
    ]
}

You can follow one of these tutorials to learn how to format your metadatas:

  • Hashlips:

Once you have your images and JSON generated and uploaded to IPFS, you're good to go! Fell free to reach out on Discord if you need any help. You'll need to have your metadatas in the format of a BASE URI. It means that your URI should be the base folder hosting all of your JSON file For example: Is a base URI, querying data of tokenId 1 would mean querying: If you want to do a "reveal", you can get a baseUri with all items pointing to unrevealed metadata.

🎨
Opensea standard
https://www.youtube.com/watch?v=Zhmj4PiJ-GA
https://betterprogramming.pub/generate-your-nft-metadata-11a878c082b9
https://ipfs.io/ipfs/QmSBnsELjNQbhLVbf6w7UMGFVT35UhK4DfePpDJwQVtxDN/
https://ipfs.io/ipfs/QmSBnsELjNQbhLVbf6w7UMGFVT35UhK4DfePpDJwQVtxDN/1