Advanced Minting
Advanced Minting Walkthrough
Initial setup and upload
1. Organize file and select IPFS provider
Create a folder on your PC and give it a name.
Within that folder, insert the file you want to mint. Example: Logo.png
Create an account on Pinata or download IPFS Desktop.
2. Upload file to IPFS provider
Using PiΓ±ata



Using IPFS Desktop

3. Create NFT Metadata file
Create a .json file using a text editor such as Notepad.
Example: metadata.json
Save the .json file.
4. Manual collection_metadata specification
Create a collection_metadata json file conforming to the specification found in collection implementation on Loopring.
Upload the collection_metadata json file to Pinata or IPFS Desktop in the same manner as above. Note the CID.
Add an additional key/value pair to the NFT metadata json file whose key is "
collection_metadata" and value is the IPFS CID for the collection's metadata file.
Example:
{
"description": "Loopring Logo",
"image": "ipfs://QmZBf3Aq1LGNRLGqad2dxojwTA7ddgrMpsHqJCi6jeK6Vh",
"name": "Logo", "collection_metadata": "ipfs://QmbpBgKipbPbiLr3D2ykfiKv6XNerLSmWtoWECnqkStSs4",
"royalty_percentage": 10
}
JSON Legend: collection_metadata: A text string containing an IPFS CID which points to a collection metadata file.
5. Upload NFT Metadata file
Similarly, as the NFT file was uploaded above, upload the NFT metadata .json file to Pinata or IPFS Desktop.


Last updated