/nplate

A template for noir.

Primary LanguageSolidityGNU General Public License v3.0GPL-3.0

nplate • license solidity

A Simple, Minimalist Template for Noir Projects.

Getting Started

Click use this template to create a new repository with this repo as the initial state.

Development

Setup

You need both nargo and foundry installed.

Regarding the installation of nargo, please refer to its repo here.

Building

cd circuits
# generates the Solidity contract
nargo nargo codegen-verifier
# generates a file "p.proof" in circuits/proofs
nargo prove p

Testing

Before testing, be sure you have generated the updated Solidity verifier contract as well as a valid proof!

forge test --ffi

License

AGPL-3.0-only

Acknowledgements

Disclaimer

These smart contracts are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of the user interface or the smart contracts. They have not been audited and as such there can be no assurance they will work as intended, and users may experience delays, failures, errors, omissions, loss of transmitted information or loss of funds. The creators are not liable for any of the foregoing. Users should proceed with caution and use at their own risk.