Web3 Learning Notes
  • Web3 Learning Notes
  • 📖Crypto Basis 101
    • Blockchain & Cryptocurrency
    • Start dealing with Crypto
    • To invest safe
    • Risk Management
    • Web 3.0: User Ownership
    • Rethinking 'Why Crypto?'
  • 💰DeFi
    • What is DeFi
    • Stablecoin 101
    • Journey of a transaction
    • MEV (Miner Extractable Value)
    • Crypto Derivatives
    • To play safe in DeFi
    • DeFi Tools
  • 🧠DEFI Innovations
    • Lending & Borrowing
      • AAVE V3
      • Morpho - APY Optimiser
      • SILO - Risk Isolator
    • Automated Market Maker
      • Uniswap V3 - Concentrated Liquidity
      • Trader Joe V2 - Liquidity Book
      • 1Inch V2 - AMM Aggregator
    • Low Slippage Swapping
      • Curve V2
      • Bebop
      • Platypus Finance
    • Yield Aggregator
      • Yearn V2
      • Instaapp
      • Alpaca Finance
    • Perpetual Exchange
      • GMX
  • 🎇Techs of Chains
    • ETH - Ethereum
    • BNB - Binance Coin
    • AVAX - Avalanche
    • DOT - Polkadot
    • SOL - Solana
    • NEAR - Near Protocol
    • XTZ - Tezos
    • MINA - Mina Protocol
  • 🖼️NFT
    • What is NFT
    • Token standard 721 & 1155
    • How to get your first NFT
    • How to mint like a pro
    • To play safe in NFT
    • NFT tools
Powered by GitBook
On this page
  • Basic: Adjust gas fee
  • Advanced: Mint via contract
  • Master: Be a scientist
  1. NFT

How to mint like a pro

Basic: Adjust gas fee

To adjust gas just right enough to front-run people who're minting together

  • Miners always prioritize transaction gives them high profit, increasing gas could jump in queue

  • Below is the parameter you can adjust to optimize your TX's process time

    1. Gas limit: Gas limit x gas price x 1/10⁹ is the cost of ETH, simply use default setting

    2. Max priority fee: It does the trick to cut in line, put a max fee -1 gwei to prioritize your TX

    3. Max fee: The max spending in ETH you're willing to pay for this transaction

    4. Nonce (number only used once) : An #ID to represent your TX, 1 nonce only processes once

  • To put your tx in the highest priority to mint, so you can get into the first available block

    1. you have to be the earliest to submit the TX

    2. you have to be the one with highest max fee

    3. plus highest priority fee so miners mint your TX first even other TXs have same max fee

💡 https://etherscan.io/gastracker is the official gas tracking that has slightly delay

💡 https://www.blocknative.com/gas-estimator provides info. of max price in pending block

Advanced: Mint via contract

Minting on contract minimize delay on loading UI and adjusting gas limit.

  1. to interact via contract, you first need to have the contract address of the NFT collection

  2. switch to contract tab, choose write contract, connect metamask wallet

  3. locate the correct mint functions - there could be functions like pre-mint, mint, WL mint

  4. 2 inputs are required (pay extra attention & don’t mix it up!) ETH amount - total ETH to mint, e.g. if mint price per NFT is 0.1 ETH, put 0.2 when minting 2 Number of mint - the total number you’re going to mint in correspondence with the total ETH

  5. click write button, confirm transaction with your metamask

A trick:

  • If the mint contract leaks/releases before minting time, you can pre-create the mint transaction

  • set the gas as 1 gwei

  • once mint enabled (mostly based on block #), set the highest gas on chain to mint immediately

Master: Be a scientist

  • Automate the above actions & tricks by your codes, be the fastest to mint

    • requires knowledge on solidity, JavaScript, Web3 for contract interaction

    • lots of reference on GitHub

  • Rarity check can also be done to snipe rare traits a step ahead

    • insert token ID into contract ‘URI’ function, so to get corresponding metadata .json file

    • parse .json to extract traits & image of each NFT token

PreviousHow to get your first NFTNextTo play safe in NFT

Last updated 2 years ago

🖼️