Create NFT Collection, Deploy Smart Contracts, Mint NFTs

fmchanprogrammingLeave a Comment

refer to Edward Jones’ articles

  1. Create Your Own NFT Collection With Python
    https://betterprogramming.pub/create-your-own-nft-collection-with-python-82af40abf99f
  2. Generate Your NFT Metadata
    https://betterprogramming.pub/generate-your-nft-metadata-11a878c082b9
  3. How to Deploy NFT Smart Contracts
    https://betterprogramming.pub/how-to-deploy-nft-smart-contracts-9271ce5e91c0
  4. Mint Your Own NFTs With Web3.js
    https://betterprogramming.pub/mint-your-own-nfts-with-web3-js-f32f7b1cd8cc

those articles are very nice and easy to follow but some points have to be noticed.

  • for the second article, “Make sure you add an additional “/” on the end!” should be highlighted
  • before upload images to Pinata, add the code of the section “Generate NFT metadata” to the previous python file in the first article
  • for the third article, Ropsten Test Network have to be enable from metamask
    • Setting > Advance > Show test networks
  • the website of Ropsten faucet would use this https://faucet.egorfine.com/
  • the most difficult part of the whole tutorial is to compile smart contract by Hardhat. there is an error while running npx hardhat compile, because the solidity version is old. change solidity: "0.7.3" to solidity: "0.8.10"
  • in the last article, in step 5, the link to put into mintNFT is every metadata json, which should be https://gateway.pinata.cloud/ipfs/xxx/x.json
  • the id for NFT to be imported could refer to “Tokens Transferred” in Transaction detail page, generally starts from 1 to total number you have minted

Leave a Reply

Your email address will not be published. Required fields are marked *