quartz-enclave-core

Crates.ioquartz-enclave-core
lib.rsquartz-enclave-core
version0.1.1
sourcesrc
created_at2024-10-16 21:36:23.904226
updated_at2024-10-17 08:46:28.041389
descriptionA Rust framework for building Intel SGX enclaves managed by a CosmWasm contract.
homepagehttps://cycles.money
repositoryhttps://github.com/informalsystems/cycles-quartz
max_upload_size
id1412374
size31,662
Shoaib Ahmed (hu55a1n1)

documentation

README

Quartz enclave

Enclave usage

gramine-sgx-gen-private-key

CARGO_TARGET_DIR=./target cargo build --release

gramine-manifest  \
    -Dlog_level="error"  \
    -Dhome=${HOME}  \
    -Darch_libdir="/lib/$(gcc -dumpmachine)"  \
    -Dra_type="dcap" \
    -Dra_client_linkable=1 \
    -Dquartz_dir="$(pwd)"  \
    quartz.manifest.template quartz.manifest

gramine-sgx-sign --manifest quartz.manifest --output quartz.manifest.sgx
gramine-sgx ./quartz

CLI usage

cargo run -- --chain-id testing \
    --trusted-height 1 \
    --trusted-hash "A1D115BA3A5E9FCC12ED68A9D8669159E9085F6F96EC26619F5C7CEB4EE02869"
Commit count: 274

cargo fmt