medibloc / panacea-coracle

An oracle which validates off-chain data to be transacted in the data exchange protocol of the Panacea chain while preserving privacy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Panacea Oracle

An oracle which validates off-chain data to be transacted in the data exchange protocol of the Panacea chain while preserving privacy

Features

  • Validating that data meets the requirements of a specific deal/pool
    • with utilizing TEE (Trusted Execution Environment) for preserving privacy
  • Providing encrypted data to buyers

Building and Testing

It's recommended to run the oracled in the secure enclave. So, the following commands build the oracled using EGo which requires Intel SGX. For more details, please see EGo installation guide.

make build    # generates a binary: ./build/oracled
make test

# https://docs.edgeless.systems/ego/#/workflows/build?id=sign-and-run
EXE="./build/oracled" make ego-sign

If you build the oracled without using EGo, please run make commands with the explicit GO environment variable. Then, enclave-related features will not work.

GO=go make build
GO=go make test

Running

oracled init  # initialize configs in the app home dir (~/.oracle)
oracled start

About

An oracle which validates off-chain data to be transacted in the data exchange protocol of the Panacea chain while preserving privacy

License:Apache License 2.0


Languages

Language:Go 89.1%Language:Shell 9.5%Language:Makefile 0.8%Language:Dockerfile 0.7%