Skip to main content

Great post on how to mint 10,000 nfts without paying outragious gas fees with 'lazy minting'

 

How to get 10,000 NFTs on Opensea without paying gas fees

Asked
Modified 3 months ago
Viewed 2k times
1

When talking about NFTs, there is a core concept I'm not understanding that I hope someone can help me out with.

I can write and deploy smart contracts without a problem and I think I understand what's going on there. I understand the mint process and how to charge transaction fees to mint tokens from my contract.

What I don't know is how do people deploy smart contracts and then have 10,000 NFTs on Opensea. To do this, they'd have to mint those 10,000 tokens which would cost a fortune in gas fees so I assume they're not doing this.

So how is it that I can deploy a smart contract which has the capacity to mint 10,000 tokens and also have those viewable on platforms like Opensea?

Is there some tool, or process, or am I just not understanding how things work? Are people just using automation like Selenium to create those assets on Opensea and Opensea is then lazy minting?

Would love some help

2 Answers

1

What you are looking for is called "lazy mining" and it is supported by some of large marketplaces including Opensea. By far the best explanation of it that I have found is on this website

1

Here are two other sources of information about NFT Lazy Minting.

  1. OpenZeppelin. There's also a 45-minute video tutorial on minting NFTs. https://blog.openzeppelin.com/workshop-recap-building-an-nft-merkle-drop/

  2. Medium. "NFT Minting vs Lazy Minting. Minting explained. " https://medium.com/rarible-dao/nft-minting-vs-lazy-minting-mining-explained-4330dd57a4c4

     

    -----------------------------------------------------------------------------------------------------------

    ---------------------------------------------------------------------------------

    ---------------------------------------------------------------------

     

     

    Building an NFT Merkle Airdrop

    The workshop was recorded on the 6th May 2021 and led by Hadrien Croubois, Smart Contracts Engineer at OpenZeppelin

    The workshop covers the following:

    • ECDSA signatures generation and verification
    • ERC712 signatures generation and verification
    • Merkle-tree generation and usage
    • ERC721 minting

    You can watch the video, view the slides, how to use ECDSA signature and Merkle-proofs for minting NFTs.

    What is Lazy Minting?

    Non Fungible Tokens, also known as NFTs, are very popular kinds of assets. They are used to represent many kinds of assets, from art pieces and domain names to financial positions. Depending on the application, the minting process can vary greatly.

    Minting a token is not free. Considering the current gas prices and ETH value, minting a single NFT can cost over $50. This cost is too high for many use-cases, particularly if an artist or system administrator is considering minting hundreds or thousands of NFTs. On the other hand, some users might be ready to pay the price of minting themselves, if that is what it takes to have an on-chain certificate of ownership.

    Using cryptographic primitives, the artist can sign “minting authorizations” that later allow a user to do the minting themselves. These signatures are free to produce, as they do not require an on-chain transaction. They guarantee that the artist or system administrator keeps total control over the NFTs, and ensure no token can be minted without prior approval.

    Video

    Slides

    https://github.com/OpenZeppelin/workshops/tree/master/06-nft-merkle-drop/slides

    How to use ECDSA signature and Merkle-proofs for minting NFTs

    Each case was documented with contracts, test scripts, and gas usage reports. All code examples are available; https://github.com/OpenZeppelin/workshops/tree/master/06-nft-merkle-drop

    Learn more

    Learn more about OpenZeppelin Contracts: openzeppelin.com/contracts

    See the documentation: docs.openzeppelin.com/contracts

    Sign up for a free OpenZeppelin Defender account: https://defender.openzeppelin.com/


    Be part of the community

Comments

Popular posts from this blog