panacea-data-market-validator

module
v0.0.0-...-2c82162 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2022 License: Apache-2.0

README

Panacea Data Market Validator

A sensitive data validator for Panacea Data Marketplace

Features

  • Validating that data can be sold for a specific deal
  • Encrypting and storing data for buyers

Building and Testing

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

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

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

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

GOBIN=go make build
GOBIN=go make test

Running

datavald init  # initialize configs in the app home dir (~/.dataval)
datavald start

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL