How to Mint an NFT from a Smart Contract on Etherscan: Step-by-Step

How to Mint an NFT from a Smart Contract on Etherscan: Step-by-Step

by Paul Brown


Minting an NFT is the action of creating your unique token on the blockchain. Even when you’re minting your NFT from a new project’s website, you’re interacting with the underlying smart contract to mint your unique NFT. But when the website gets bogged down with traffic on a hyped drop and isn’t working, how do you mint an NFT from the smart contract on Etherscan?

With new projects like Loot (for Adventurers) and its derivatives being minted exclusively from the smart contract, it’s important to know how to mint from the smart contract using Etherscan. Keep in mind that this process will only work from the project launch until it has sold out.

Here’s what a smart contract on Etherscan looks like.

Keep in mind that these steps are not the same for every smart contract. You will need to find the correct contract function to mint the NFT. Every contract is different, and the blockchain is irreversible, so always be sure to double-check all transactions before confirming.

Let’s dive into how to mint your next NFT directly from a contract on Etherscan. 

How to Mint from a Smart Contract on Etherscan

  1. Find the Smart Contract
  2. Navigate to “Contract” then Write Contract 
  3. Click “Connect to Web3” and Sign
  4. Select the Contract function, typically starts with “mint” or, in the case of Loot projects, “claim” and fill in required inputs (triple check on this step!)
  5. Confirm the transaction in MetaMask and receive your NFT!

Step 1: Find the Smart Contract on Etherscan

The first thing you need to do to mint an NFT directly from a smart contract is find the contract address. It should look something like this, though every contract is different: 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D. 

Most projects have them listed on their website or in their Discord. If a project has been minted the contract can be found through OpenSea by clicking on any NFT that has been minted and opening the “Details” section. Click on the contract address to take you to Etherscan.

Mint an NFT from the Smart Contract | Contract Address on OpenSea

If you only have the contract address and not the link to Etherescan, go to and search by the contract address. 

2. Write Contract and Connect to Web 3

Once on the Contract page you will need to push the Contract button near the bottom bringing up Code, Read Contract, and Write Contract. Here, you will select the Write Contract option. Write Contract will bring up several options that execute a function defined on the smart contract.

Mint an NFTT directly from Smart Contract on Etherscan

With the Write Contract button selected, click the Connect To Web 3 button and connect your wallet. If you have multiple wallets or accounts, make sure to connect the wallet you want to hold this NFT so you don’t have to pay gas transferring it later.

Connect Wallet to Etherscan to Mint an NFT

3. Mint your NFT from the Smart Contract

The final step of the process is to mint your new NFT. Once your wallet is connected you will need to expand the minting category, in this example of Pineapple’s Day Out it is option four. mintPineapple. However, every smart contract is different.

Expanding the “mintPineapple” will give you the option to mint. Insert the mint price in the first box (.02 ETH, in this case) and the number you would like to mint in the second box. If you wanted to mint two pineapples, you would type .04 / 2; for three, .06 / 3… and so on.

Here’s the most important part: triple check your inputs to ensure they matchup with the project price and your number of tokens. The blockchain is trustless, so it relies on you to ensure everything is correct. Click on the Write button and sign the transaction on your wallet to complete the transaction. 

In the case of Loot (for Adventurers), users would go to 2. Claim function, then type in tokenIds. If the ID has already been claimed, the user would get a very high gas estimate (multiple ETH), which means it can not be executed. 

You can visit Flash Mint to quickly find which NFT IDs have not been claimed yet in future free-to-claim situations to find one you can mint. For example, there are still many More Loots that have not yet been claimed. 

Try it: Mint Directly from a Smart Contract!

There are many benefits to knowing how to mint from a smart contract, and that’s why many sharp NFT collectors use this method to stack NFTs of a hyped release. 

First, you’ll be able to bypass connecting your wallet to many different websites — instead connecting safely to a secure smart contract. Second, you will have immediate access to the smart contract when it is turned live, meaning you may mint faster than those looking on the website. Third, you don’t have to trust that the website will work.

So there you have it — now you can mint NFTs directly from a smart contract on Etherscan!

Have questions? Reach out to MomentRanks on Twitter or join our Discord to talk NFTs.

Follow Paul Brown on Twitter.