Cover photo

[WEB3] Create NFT project, Part 2-1 - Smart contract develop, public mint, airdrop with ERC721A

In this post, I will show the simple way and easy way to develop contract, so that everyone can easily deploy the contract by yourself, even you don't know how to coding.

Before you start below step, please prepare the Rinkeby testnet setting on your MetaMask and get the ETH in your testnet wallet.

  • Setup Rinkeby testnet in your metamask (check [image1] below)

Rinkeby testnet setting
Rinkeby testnet setting
  • How to get your ETH free in your testnet (connect the wallet and send the request, you will get 0.1ETH, repeat about 5 times, that's enough): https://faucets.chain.link/rinkeby

Download my contract code of Moonbirds Creyzies first.

https://drive.google.com/file/d/1JBTdE_DhDwZtEDixJ2C9gL_3O42EKZgy/view?usp=sharing

Simple step of using example code to finish public mint / airdrop contract..

post image
  • In below image, for the red portion I circle, if you develop on to the ETH network, you can't modify them, they are important, please make sure you have a correct setting before you start developing, you can modify after development on green portion, green portion meaning as below : #mintPrice : What price you want to sell your NFT #maxAmountPerMint : the limitation of each one transaction #maxMintPerWallet : the limitation of each wallet can mint.

post image
  • After you change all the setting, go the solidity compiler to finish compile, follow the below image to compile, if success, you will see the green tick.

post image
  • Deploy your contract on Rinkeby testnet, follow the below image to finish deploying contract.

post image
  • After the transaction is finished, that means your contract already on the rinkeby testnet, you can see the image as below.

post image
post image
  • Airdrop format as below [["address1",amount],["address2",amount],["address3",amount]]

WEB3AI - Share WEB3 and AI stuffs to you.

WEB3AI Discord :

https://discord.gg/xMKFhMUZ9c

Twitter :

https://twitter.com/web3aiworld