nftc-contracts
Welcome to NFTCulture's Open Source Contract Repository!
This library consists of work done by the NFT Culture development team, NFT Culture Labs, that is being made available open source for use by anyone.
Feel free to reach out to us at https://discord.gg/nftculture, in 💾┃tech-and-dev-home channel.
Development Environment Setup
- An .env created from ./.env_proto is mandatory. Not all secrets need to be inserted, start w/ minimal amount.
- An .npmrc created from ./.npmrc_proto is mandatory. Need auth_token from Github.com, to access package from other projects.
- Node v16 or v18
- NPM v9
- NFTC Devs use VSCode, GitBash and Powershell on Windows. Most stuff is tested on Mac, but there might be issues.
Common Dev Tasks:
-
Run the build
npm run build
-
Run the tests
npm run test
-
Run the tests and get a gas report
npm run test:gas
-
Generate and view a test coverage report
npm run test:coverage && npm run test:coverage:view