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:
To Build circuits and compile contracts, use the build task:
npm run buildTo compile contracts, use the task:
npm run compileTo compile and build circuits, use the task:
shield compileshield debug
clean the compiled artifacts saved in the artifacts/:
npm run cleanclean the compiled circuit build files saved in the circuits/build:
npm run clean:circuitsTo run tests, run the following command
npm run testTo deploy this project on localhost run :
npm run node
npm run deploy:localhost
circomspect MastermindVariation.circom