Loopring Pro
  • Loopring Pro
  • Connect to Loopring L2
  • Mint NFT in 1-2-3
  • 💰Assets and Markets
    • Assets Page
      • Transaction History
    • How to:
      • Make instant transfers on Loopring
      • Withdraw from L2 to L1
      • "Force Withdraw" my tokens to L1
      • Receive Red Packets without a camera
    • Markets Page
  • 🔄Trade
    • Swap Assets
      • Swap tokens gas-free
      • Trade on the order books
  • 💸Earn
    • Overview
      • AMM Pool
        • Finding the highest earning pools on Loopring
        • Add liquidity to an L2 AMM pool
        • Remove liquidity from an AMM pool
      • ETH Staking
        • Leveraged ETH Staking
      • Dual Investment
        • Beginner Mode
      • LRC Staking
  • 🎨NFT
    • My NFTs
    • Create Collection
    • Create NFT
      • Easy Minting
      • Advanced Minting
        • Method A
        • Method B
        • Method C
    • Advanced
      • Import Legacy NFT
      • Support NFT collections minted in both Ethereum Layer 1 and Loopring Layer 2
      • Loopring Layer 2 Mint Metadata Explanation
      • Collection Implementation in Loopring Layer 2
      • Loopring NFT Platform Implementation Guide
  • 🌟Other Features
    • VIP Tiers
    • Guardian Actions
    • Bridge
    • Taxes: Koinly
      • Guide
    • Change Logs
      • 2025
        • May 22
        • May 19
        • May 15
        • Mar 3
        • Feb 25
        • Jan 15
      • 2024
        • 20 Nov
        • 22 Oct
        • 10 Oct
        • 24 Sep
        • 7 Sep
        • 30 Aug
        • 28 Aug
        • 3 Jul
        • 16 May
        • 17 Apr
        • 11 Apr
        • 9 Apr
        • 1 Apr
        • 27 Mar
        • 21 Mar
        • 1 Mar
        • 4 Feb
        • 19 Jan
        • 2 Jan
      • 2023
        • 20 Dec
        • 1 Dec
        • 29 Nov
        • 28 Nov
        • 24 Nov
        • 20 Nov
        • 9 Nov
        • 31 Oct
        • 13 Oct
        • 12 Oct
        • 10 Oct
        • 27 Sep
        • 24 Aug
        • 14 Aug
        • 09 Aug
        • 02 Aug
        • 18 Jul
        • 17 Jul
  • 📺Video Guides
    • Connect Metamask and activate Loopring L2
    • Deposit from Ethereum L1 (MetaMask) to Loopring L2
    • Use Metamask to Transfer to other Loopring L2 users
    • Withdraw from Loopring L2 back to Ethereum L1 using MetaMask
    • Trade on the Loopring L2 DEX
    • Provide liquidity on Loopring L2
Powered by GitBook
On this page
  • Initial setup and upload
  • 1. Organize file and select IPFS provider
  • 2. Upload file to IPFS provider
  • 3. Create NFT Metadata file
  • 4. Manual collection_metadata specification
  • 5. Upload NFT Metadata file

Was this helpful?

  1. NFT
  2. Create NFT

Advanced Minting

Advanced Minting Walkthrough

PreviousEasy MintingNextMethod A

Last updated 1 year ago

Was this helpful?

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 or download .

2. Upload file to IPFS provider

Before uploading to IPFS, please be aware there are 2 types of CID: CIDv0 (begins with Qm) and CIDv1 (begins with b).

Currently, Loopring supports CIDv0 (begins with Qm) as will be seen in the examples, as well as certain CIDv1 (begins with b) that can be converted to CIDv0 format. Only CIDv1 that have the following properties can be converted to CIDv0, and thus can be supported in Loopring NFT mint.

multibase = base58btc multicodec = dag-pb multihash-algorithm = sha2-256 multihash-length = 32 (32 bytes, equivalent to 256 bits)

If you want to upload content to IPFS and generate CID for usage in the Advanced Mint flow, please ensure the CID can be supported by Loopring as described above. You can check CID properties using . In case you do not know how to generate a CID that is supported by Loopring, please use which uses CIDv0 by default. Upload the file you want to mint to Pinata or IPFS Desktop. Do not upload the entire folder.

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

metadata.json

Within this metadata.json file, copy the following – note that it is case sensitive:

{

"description": "Description of your NFT goes here",

"image": "ipfs://CID of the file goes here",

"name": "Name of the NFT",

"royalty_percentage": integer between 0 and 10

}

Example:

{

"description": "Loopring Logo",

"image": "ipfs://QmZBf3Aq1LGNRLGqad2dxojwTA7ddgrMpsHqJCi6jeK6Vh",

"name": "Logo",

"royalty_percentage": 10

}

JSON Legend:

description: A text string containing a description of your NFT

image: A text string containing an image to display for your NFT.

name: A text string containing the name or title of your NFT.

royalty_percentage: An integer from 0 - 10 describing the amount of royalty to be collected by the creator each time the NFT is sold.

For example, if a creator mints an NFT with a royalty percentage of 10, the creator will receive 10% of the proceeds of every sale. Royalties are distributed to creators at the end of each month. If an NFT is minted with a royalty percentage of 0, no royalties will be collected.

Save the .json file.

4. Manual collection_metadata specification

  • 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.

If you wish to manually specify an IPFS CID of the NFT's collection_metadata file, proceed to .

If you will select a collection in the mint GUI, skip to .

Create a collection_metadata json file conforming to the specification found in .

If NFT's metadata does not contain a "collection_metadata" key/value pair, proceed to .

If NFT's metadata does contain a "collection_metadata" key/value pair, proceed to . If an NFT is not a member of any collection, proceed to .

🎨
collection implementation on Loopring
Method A
Method B
Method C
4
5
Pinata
IPFS Desktop
this tool
Pinata
Take note of the CID, it will be needed in the next step.