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

Was this helpful?

  1. NFT
  2. Advanced

Support NFT collections minted in both Ethereum Layer 1 and Loopring Layer 2

PreviousImport Legacy NFTNextLoopring Layer 2 Mint Metadata Explanation

Last updated 1 year ago

Was this helpful?

A full set of NFTs is typically associated with a smart contract, but if the contract is customizable, the interface IL2MintableNFT is required to support minting from both Ethereum L1 and Loopring L2. (for example, one batch of NFTs will be minted from L1, and the other batch will be minted from L2).

The code is available here:

The collection_metadata field in the NFT metadata part needs to be implemented correctly to ensure the NFT (whether it's minted directly from Loopring L2 or minted from Ethereum L1 and then deposited to Loopring L2) can be properly categorized in the desired collection in Loopring L2.

For more information regarding collections on L2, please refer to .

Meanwhile, unlike Opensea, which binds the creator's royalty information in the collection in Ethereum L1, the royalty information is expected to bind with NFT metadata directly in Loopring L2. For NFTs listed and sold in Loopring L2, the Loopring relayer will automatically distribute the royalty fee to the creator's L2 account for each NFT traded. So, in order for the creator to receive a royalty fee when the NFT is traded on Loopring L2, the creator must ensure

  1. Include the royalty percentage field in the NFT metadata.

  2. Activate the Loopring L2 account of the creator wallet.

Please refer to a detailed explanation of the metadata standard used in Loopring L2 .

Note, if the NFT is an ERC721 token, the user may mint one NFT in L1 while still being able to mint the same NFT (same tokenID) in L2; and vice versa. Since there is already one NFT in L1, the one in L2 will not be able to withdraw to L1. This is referred to as "twin coexistence".

It is the responsibility of the NFT project owner to ensure that this does not occur, or else the NFT owner will suffer asset loss.

🎨
https://github.com/Loopring/protocols/blob/release_loopring_3.6.3/packages/loopring_v3/contracts/core/iface/IL2MintableNFT.sol
"Collection Implementation in Loopring Layer 2"
"Loopring Layer 2 Mint Metadata Explanation"