/mintNFTPolygon

Study project to understand the ERC-721 pattern in Polygon Network

Primary LanguageJavaScriptMIT LicenseMIT

mintNFTPolygon

Requirements

{
   ...,
   "solidity.remappingsUnix": [
        "@uniswap/=node_modules/@uniswap/",
        "@openzeppelin/=node_modules/@openzeppelin/"
   ]
}

Docs

Running

  • Deploy to the blockchain
truffle migrate --network polygonTestnet
  • Mint the NFT
node scripts/MintingNFT.js

Attempting to deploy from account 0xAc4145FEF6c828e8aE017207Ad944C988cCb2cF7 Yay! NFT minted successfully

  • Other commands
npx truffle dashboard

npx truflle console
npx truffle compile
npx truffle migrate --reset --compile-all --network development

npx truffle exec scripts/mint.js 

Services Used

Reference