-
This repo is the
zkTLSintegration examples using theNoir Web Provercircuit:
https://github.com/pluto/noir-web-prover-circuits -
I'm going to experiment to create
zkTLSproofs for various Web2 APIs in this repo.
- Run the test of the
SamplezkTLS circuit
cd noir/zktls-integrations
sh circuit_test.sh- Run the test of the
OKX DEX APIzkTLS circuit
cd noir/zktls-integration-with-okx-dex-api
sh circuit_test.sh- Run the test of the
DocuSignzkTLS circuit
cd noir/zktls-docusign
sh circuit_test.sh- Create an
.envby copying the.env.example
cd scripts/OKX-DEX-API
cp .env.example .env- GET a API request header
cd scripts/OKX-DEX-API
sh okx-dex-sdk-integrations/runningScript_okx-dex-sdk-api-request-sample.sh- Run the test of the Smart Contracts for the
zktls-integrationscircuit (./test/circuits/zktls-integrations/ZkTLSIntegrationsProofVerifier.test.ts)
cd test
sh circuits/zktls-integrations/runningTest_ZkTLSIntegrationsProofVerifier.sh- Run the test of the Smart Contracts for the
zktls-integration-with-okx-dex-apicircuit (./test/circuits/zktls-integration-with-okx-dex-api/ZkTLSIntegrationsProofVerifier.test.ts)
cd test
sh circuits/zktls-integration-with-okx-dex-api/runningTest_ZkTLSIntegrationsProofVerifier.shThis 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.
