Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

a substrate runtime template to be instantiated inside the Integritee-worker enclave

License

Notifications You must be signed in to change notification settings

integritee-network/sgx-runtime

Repository files navigation

The code of this repo has been moved to the worker repository.

SGX-Runtime

Based on Integritee Node Template

This substrate runtime is instantiated inside a Intel SGX enclave in the Integritee framework. Probably all substrate compatible pallets can be integrated and executed confidentially.

This repo also hosts our SGX patches for sp-io and externalities.

test build

This crate is meant to be used in SGX environment and may not build on its own. Therefore, this repo contains a test crate setting up SGX tstd. Build it with:

cd test_no_std
export SGX_SDK=/opt/intel/sgxsdk
make

If it builds without std collisions, you're good. Linker errors can be safely ignored.