📜Preparing Files
Preparing asset and metadata files for deployment
Last updated
Preparing asset and metadata files for deployment
Last updated
The properties of the JSON metadata files that require additional deployments **such as images or videos **must be uniform.
Properties that DO NOT have additional deployments can be different.
Valid Examples:
1) File 1 and File 2 both have the following properties: name, image, description
2) Files 1 and 2 both have 1 additional deployment that is an image:
File 1 properties: name, image, description, date
File 2 properties: name, image, description, time
Invalid Examples:
1) File 1 and File 2 both have images to deploy but File 2 does not have the property:
File 1 properties: name, image, description
File 2 properties: name, picture, description
2) File 1 has an image and video to deploy but, File 2 only has a image
File 1 properties: name, image, video, description
File 2 properties: name, image, description
If your metadata files have different formats or requirements, split them up into different deployments
Create two directories named metadata and assets
Copy all of your json files containing your metadata to the metadata folder
If applicable, copy all of your assets to the asset folder.
Your asset file names must match their respective metadata file name!
Example:
If you have an NFT metadata file named superCoolNFT.json that has an image property that needs to also be deployed and attached to the metadata then that image file (assuming it is a png) would be named superCoolNFT.png
FINISHED!