typecccccccccccc
Version:
p align="center" > <img src="https://xord.notion.site/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F283b98b7-fdae-4e5a-acaf-248242084e4a%2FICON.png?table=block&id=5306223c-a4f7-45d1-9f54-b9a5f4004cd6&spaceId=49976899-64a1-40f
62 lines (36 loc) • 922 B
Markdown
# Sample Hardhat Project
This project demonstrates a basic Shield use case. It comes with a sample contract and circuit, a test for the contract and circuit integration, and a script that deploys that contract.
Try running some of the following tasks:
## Compile & Build
To Build circuits and compile contracts, use the build task:
```shell
npm run build
```
To compile contracts, use the task:
```shell
npm run compile
```
To compile and build circuits, use the task:
```shell
npm run compile:circuits
```
## Clean
clean the compiled artifacts saved in the artifacts/:
```shell
npm run clean
```
clean the compiled circuit build files saved in the circuits/build:
```shell
npm run clean:circuits
```
## Running Tests
To run tests, run the following command
```shell
npm run test
```
## Deployment
To deploy this project on localhost run :
```bash
npm run node
npm run deploy:localhost
```