Published in



  1. 1 Platform
  • The function constructor is used to define the name and identifier of the NFT;
  • safeMint will mint 1 NFT for the target address, and automatically increment the tokenId, and use this ID in the next minting;
  • _baseURI is a fixed link that prefixes all tokenURI;
  • tokenURI is spliced ​​by _baseURI + tokenId, the link stores MetaData;
  • MetaData stores the token information required by NFT trading websites, such as NFT description, tag attributes, image address, etc.
  • tokenURI is _baseURI + tokenID
  • 0x6c8fc146813bdac9bf0100dfb3c5105c0951d2048978b5d86376c03acbf63a09
  • 0xea0aa7bcf7072db62ee77a8ed938db23e47c81af1a5842381c9d8a7005534cd7
  • Platform:Rinkeby
  • Address:0x8AdF4a5029d409ef9610D647584b411b2Bea0916

Join Coinmonks Telegram Channel and Youtube Channel learn about crypto trading and investing

Also, Read



Coinmonks ( is a non-profit Crypto Educational Publication. Follow us on Twitter @coinmonks and Our other project —, Email  —

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store

Lunaray takes a leading position in smart contract auditing and consulting service for blockchain security.