Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 612 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 612 Bytes

Eigen CC SDK

EigenCC Javascript SDK.

Usage

How to setup sdk

# Set TEESDK related parameters here
TEESDK_AUDITOR_BASE_DIR="deps/examples/auditors"
TEESDK_AUDITOR_NAME="godzilla"
TEESDK_ENCLAVE_INFO_PATH="deps/examples/enclave_info.toml"
SGX_MODE=SW
RELAY_ADDRESS=192.168.0.23
RELAY_PORT=8082

SGX_MODE: SW or HW, specify the verification mode of EigenCC/Relay

RELAY_ADDRESS/RELAY_PORT: the EigenCC/Relay endpoint information

TEESDK_ENCLAVE_INFO_PATH: the mrsigner and mrenclave of EigenCC/Relay

Compile

yarn && yarn build
yarn test