/ERC721-Redroad

ERC721 Non-fungible token with Openzeppelin hosted on Opensea | Tutorial for digital art

Primary LanguageJavaScript

ERC721-REDROAD

Commands

  • yarn test: running the test scripts
  • yarn migrate: migrate to rinekby
  • yarn verify: verify on etherscan

How to deploy your NFT on rinkeby?

  • Install using yarn
  • Rename .env.example to .env and set the values of environment variables accordingly
  • Set the tokenURI in 3_run.js
  • Set the uri & nfts in the meta directory
  • Run yarn migrate to deploy the contracts to rinkeby
  • Run yarn verify to verify the contracts on etherscan
  • Visit https://testnets.opensea.io/ and enter the address of above deployed Redroad contract
  • Enjoy with your NFTs!!!

Deployments

Dependencies

"dependencies": {
    "@openzeppelin/contracts": "^3.4.1",
    "@truffle/hdwallet-provider": "1.0.40",
    "dotenv": "^8.2.0",
    "truffle": "^5.2.6",
    "truffle-plugin-verify": "^0.5.7"
}

Resources