lakshyabatman / Bulk-uploader-NFT

Bulk NFT uploader to OpenSea!
25 stars 17 forks source link

Question about some file you mentioned in your script #2

Closed Terrytsang0618 closed 2 years ago

Terrytsang0618 commented 2 years ago

May I know the details about "metadata.json" you mentioned on row 102(main.py)? What should I include in this json? Do I also need to create a json file? Also, what is the usage of the CSV folder? Many Thanks.

lakshyabatman commented 2 years ago

Ok, I made two parsers. One for CSV and one for JSON, so for JSON you need to have a structure like

{
    "0": {
        "Background": "Background #5",
        "Face": "Chad Face #3",
        "Body": "Body #4",
        "Hair": "Sexy Hair #4",
        "skeleton": "Skeleton #1"
    }
}

The key should map to the file as well, you can see in the code.