This is the core protocol for the DARC(Decentralized Autonomous Regulated Corporation) project.
Since Hardhat does not support any package management tools except npm, you need to use npm only to install the dependencies.
To install all dependencies, run the following command:
npm installTo compile the contracts, run the following command:
npx hardhat compileThe compiled contracts will be stored in the artifacts directory.
To run the tests, first start the local hardhat network by running the following command:
npx hardhat nodeThen open another terminal and run all unit tests by running the following command:
npx hardhat test