https://github.com/fzingg/how-to-oracles
https://github.com/fzingg/how-to-oracles
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/fzingg/how-to-oracles
- Owner: fzingg
- Created: 2024-02-13T19:07:26.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-13T19:16:37.000Z (over 2 years ago)
- Last Synced: 2024-02-13T20:28:42.899Z (over 2 years ago)
- Language: JavaScript
- Size: 20.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/AztecProtocol/dev-rel/tree/main/code-snippets/how-to-oracles)
The original tutorial is [AZTEC How to oracles](https://noir-lang.org/docs/how_to/how-to-oracles#step-4---usage-with-noirjs)
## 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.