Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.16 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.16 KB

Macro Week Finder

A simple contract for finding, given a date in Unix-timestamp form, outputting what Week of the fellowship this date lies in

Project Setup

Install all needed dependencies:

npm install

Ensure your project is setup correctly by running:

npx hardhat compile

Now you're all setup to begin writing tests and smart contracts! Check out the package.json's scripts section for useful commands

Useful Commands

Try running some of the following commands:

npx hardhat help
npx hardhat compile              # compile your contracts
npx hardhat test                 # run your tests
npm run test                     # watch for test file changes and automatically run tests
npm run lint-fix                 # run ESLint and write an automatable improvements to your code
npx hardhat coverage             # generate a test coverage report at coverage/index.html
REPORT_GAS=true npx hardhat test # run your tests and output gas usage metrics
npx hardhat node                 # spin up a fresh in-memory instance of the Ethereum blockchain
npx prettier '**/*.{json,sol,md,ts,js}' --write # format your Solidity and TS files