fzingg / how-to-oracles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AZTEC - How to use oracles

This little tutorial shows how to run a simple NOIR circuit as an Oracle.

It is a copy of the AZTEC code-snippets

The original tutorial is AZTEC How to oracles

Description

This repo contains 3 parts:

  • packages/app : a client App displaying the final Proof
  • packages/circuit : The NOIR circuit with the circuit proof
  • packages/rpc_server : An RPC server called by the client app

How to run

  • Clone the repo
  • run yarn to install the modules required
  • run yarn start, which will run the RPC Server, and then Oracle client app.
  • We should see the Proof displayed in the console.

About


Languages

Language:JavaScript 79.3%Language:Roff 20.7%