This project demonstrates Noir integration with Hardhat using Hardhat Noir plugin.
Clone this repository and run npm install:
npx degit olehmisar/hardhat-noir-starter my-first-noir-project
cd my-first-noir-project
npm installThen, run npm run test to run the tests.
- Write circuits in
noirfolder. npx hardhat noir-new <circuit_name>to create a new Noir circuit.npm run compileto compile Noir and Solidity.- Integrate with Solidity verifiers auto-generated by Noir.
- Write tests in
testfolder. npm run testto run the tests.
Noir integrates with Solidity, so you can deploy your Solidity contracts like in any other Solidity project using the official Hardhat Ignition or community maintained Hardhat Deploy.
