To compile the contracts, use the next script:
npm run compileTo run the tests, execute the following command:
npm run testOr to see the coverage, run:
npm run coverageThe configuration file example can be found in the configs directory.
To create a real configuration file, you need to copy the example file and name it as <network>.config.json.
Where <network> is the name of the network from the hardhat.config.ts you want to deploy to.
To deploy the contracts locally, run the following commands (in the different terminals):
npm run private-network
npm run deploy-localhostThe command to generate the bindings is as follows:
npm run generate-typesSee the full list of available commands in the
package.jsonfile.