Skip to content

Web3-Study-with-Sigrid-Jin/shield-example

Repository files navigation

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:

npm run build

To compile contracts, use the task:

npm run compile

To compile and build circuits, use the task:

shield compile

Debug & Generate Witness

shield debug

Clean

clean the compiled artifacts saved in the artifacts/:

npm run clean

clean the compiled circuit build files saved in the circuits/build:

npm run clean:circuits

Running Tests

To run tests, run the following command

  npm run test

Deployment

To deploy this project on localhost run :

  npm run node
  npm run deploy:localhost

Circomspect

circomspect MastermindVariation.circom

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published