Skip to content

Decentralized oracle node with zero-knowledge proofs

License

Notifications You must be signed in to change notification settings

zkpricy/core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10,751 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zoracles

Join our growing community!

Zoracles is a decentralized network of oracles that leverage zero-knowledge proofs to transfer data securely.

The current node supports:

  • easy connectivity of on-chain contracts to any off-chain computation or API
  • multiple methods for scheduling both on-chain and off-chain computation for a user's smart contract
  • automatic gas price bumping to prevent stuck transactions, assuring your data is delivered in a timely manner
  • push notification of smart contract state changes to off-chain systems, by tracking Ethereum logs
  • translation of various off-chain data types into EVM consumable types and transactions
  • easy to implement smart contract libraries for connecting smart contracts directly to their preferred oracles
  • easy to install node, which runs natively across operating systems, blazingly fast, and with a low memory footprint

Install

  1. Install Go 1.14, and add your GOPATH's bin directory to your PATH
  2. Install NodeJS & Yarn
  3. Install Postgres (>= 9.6).
  4. Download Zoracles: git clone https://github.com/zoracles/core && cd core
  5. Build and install Zoracles: make install
  6. Run the node: core help

Ethereum Node Requirements

In order to run the Zoracles node you must have access to a running Ethereum node with an open websocket connection. Any Ethereum based network will work once you've configured the chain ID. Ethereum node versions currently tested and supported:

Run

To start your Zoracles node, simply run:

core node start

By default this will start on port 6688, where it exposes a REST API.

Once your node has started, you can view your current jobs with:

core jobs list

View details of a specific job with:

core jobs show "$JOB_ID"

Configure

You can configure your node's behavior by setting environment variables which can be, along with default values that get used if no corresponding environment variable is found.

Contributing

Zoracle's source code is licensed under the MIT License, and contributions are welcome.

Please check out our contributing guidelines for more details.

Thank you!

About

Decentralized oracle node with zero-knowledge proofs

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 48.0%
  • TypeScript 24.9%
  • CSS 12.0%
  • Solidity 7.4%
  • JavaScript 3.5%
  • Rust 2.6%
  • Other 1.6%