marcelc63 / nftrental

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solidity Contract Template based on

Source: https://etherscan.io/address/

Add Introduction Here

Add Summary Here

Curated by @marcelc63 - marcelchristianis.com Each functions have been annotated based on my own research.

Feel free to use and modify as you see appropriate

Using the Template

Please do the followings

  1. Modify any code that's labeled with TODO
  2. Change the baseURI in deploy.js, run.js, and test.js
  3. Make sure to create your own .env and modify hardhat.config.js accordingly with your deployment URL and accounts private key.
  4. Remove the comments and annotation

Included in the Template

  1. Contract that CoolCatsNFT used
  2. Complete commentary on core functions
  3. Deployment Script
  4. Testing Script

Commands to use

// To test

npx hardhat run scripts/run.js
npx hardhat test

// To deploy to Rinkeby testnet

npx hardhart run scripts/deploy.js --network rinkeby

About


Languages

Language:Solidity 91.2%Language:JavaScript 8.8%