GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - gear-foundation/external-zkml-actor

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
client
client
 
 
contract
contract
 
 
deps-override
deps-override
 
 
js-bindings
js-bindings
 
 
model
model
 
 
params_kzg
params_kzg
 
 
.gitignore
.gitignore
 
 
LICENSE-APACHE
LICENSE-APACHE
 
 
LICENSE-MIT
LICENSE-MIT
 
 
README.md
README.md
 
 
out.msgpack
out.msgpack
 
 
proof
proof
 
 
public_vals
public_vals
 
 
vkey
vkey
 
 

Repository files navigation

External ZKML actor

This is a proof-of-concept implementation of a zero-knowledge proof application designed for Gear-powered blockchains.

Note Keep in mind that this example is intended for educational purposes as a technology demonstration. For production use, it is recommended to introduce certain optimizations addressing potential performance and security vulnerability issues.

Overview

This implementation offers the capability to offload the resource-intensive computations from the blockchain while ensuring their integrity. As an illustrative example, we demonstrate the evaluation of the MNIST machine learning model. This is achieved by generating zero-knowledge proofs of computations and subsequently verifying them on-chain.

Workflow

The process of employing zero-knowledge proofs for computations involves four key participants: Initializer, User, zk-smart-contract and Prover.

  1. Initializer: This participant is responsible for deploying the zk-smart-contract onto the blockchain and initializing its parameters. During initialization, the structure of the machine learning model is defined, setting the stage for subsequent interactions.

  2. User: Users of the system interact with the zk-smart-contract by submitting their input data, which is intended for processing by the machine learning model. This step demonstrates how external parties can seamlessly engage with the blockchain without directly executing computationally intensive operations.

  3. Prover: The prover retrieves this input from the zk-smart-contract, conducts an evaluation of the machine learning model, and generates a zero-knowledge proof that attests to the validity of the computation. The resulting output of the machine learning model, along with the zero-knowledge proof, is then submitted back to the zk-smart-contract.

  4. User Verification: Users initiate a verification process by interacting with the zk-smart-contract. The zk-smart-contract orchestrates the verification of the zero-knowledge proof, independently confirming the accuracy of the computation without exposing sensitive data.

  5. Verification Outcome: Once the verification process is completed within the zk-smart-contract, the user is informed of the verification outcome.

About

No description or website provided.

Topics

blockchaingearrustvarazkzkml

Resources

Readme
Activity
Custom properties

Stars

3 stars

Watchers

4 watching

Forks

1 fork
Report repository

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.