relay_sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

Eigen Relay SDK

EigenCC/Relay 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

Package Sidebar

Install

npm i relay_sdk

Homepage

ieigen.com

Weekly Downloads

1

Version

0.0.10

License

Apache-2.0

Unpacked Size

61.7 kB

Total Files

32

Last publish

Collaborators

  • ieigen