PriceAI Whitepaper
  • PriceAI Whitepaper
  • Introduction
  • PriceAI Protocol
    • Evaluation Protocol
    • Non-interactive proofs
    • Elliptic curves and their pairings
    • Pairings of Elliptic Curves
    • Zero-knowledge part
    • Reduction to a QAP
    • Arithmetic circuits
    • Computations to Polynomials
    • Blind Evaluation Protocol
    • An Extended KCA
    • Blind Evaluation of Polynomials
    • The KC Test
    • Coefficient Test
    • Blind evaluation of a polynomial
    • Blind Evaluation of Polynomials
    • Homomorphic Hiding
    • Computation
    • How zk-SNARKs are constructed
  • Why PriceAI
  • Designed to Grow
  • Token Utility
  • Mission & Vision
  • Reference
Powered by GitBook
On this page
  1. PriceAI Protocol

How zk-SNARKs are constructed

In order to have zero-knowledge privacy in SmashCash the function determining the validity of a transaction according to the network’s consensus rules must return the answer of whether the transaction is valid or not, without revealing any of the information it performed the calculations. This is done by encoding some of the network’s consensus rules in zk-SNARKs. At a high level, zk-SNARKs work by first turning what you want to prove into an equivalent form about knowing a solution to some algebraic equations. In the following section, we will give a brief overview of how the rules for determining a valid transaction get transformed into equations that can then be evaluated on a candidate solution without revealing any sensitive information to the parties verifying the equations.

PreviousComputationNextWhy PriceAI

Last updated 2 years ago