This repository contains smart contracts used by NFTPort's APIs.
npm install
- Create a copy of the
template.env
file - Make sure this file does not get added to the repository (add it to
.gitignore
). - Fill out wallet details and API keys in your new
.env
file - Make sure your new
.env
file is exported into the environment. You can use something like direnv or simplysource <your .env file name>
Run the test suite (including gas usage and contract size estimates):
npm test
Generate code coverage reports:
npm run coverage
Generate docs based on NatSpec code comments:
npm run docs
Run a local Hardhat node:
npm run node