Added design documents to visually describe the overall structure of this application. Designed and implemented the interfaces of our verifier (i.e. smart contract) for Milestone#2 (implementation of verifier).
🌈 Details
Added the following.
Design documents
in the form of .png file, referenced in README of root directory
Interfaces of verifier
registerModel(): function that receives and stores model info in smart contract
getModels(): function that fetched the list of models
getModelInfo(): function that fetched info of requested model
commit(): function that receives commitments and generates a random challenge
reveal(): function that confirms the matched nodes by verifying Merkle proofs
verify(): function that verifies ZKPs and stores the results in smart contract
🎨 Overview
Added design documents to visually describe the overall structure of this application. Designed and implemented the interfaces of our verifier (i.e. smart contract) for Milestone#2 (implementation of verifier).
🌈 Details
Added the following.
.png
file, referenced inREADME
of root directoryregisterModel()
: function that receives and stores model info in smart contractgetModels()
: function that fetched the list of modelsgetModelInfo()
: function that fetched info of requested modelcommit()
: function that receives commitments and generates a random challengereveal()
: function that confirms the matched nodes by verifying Merkle proofsverify()
: function that verifies ZKPs and stores the results in smart contracthardhat
for smart contract developmentsolhint
prettier
for Solidity fileshusky/pre-commit
README
s📚 References