cycles-quartz/core/quartz
dusterbloom a18ae28c48
feat: neutrond tendermint upgrades (#119)
Co-authored-by: hu55a1n1 <sufialhussaini@gmail.com>
2024-08-08 12:25:56 +02:00
..
src feat(dcap): Impl DCAP RA types/handlers (#139) 2024-08-02 18:31:01 +02:00
.gitignore repo reorg 2024-05-21 03:26:41 -07:00
Cargo.toml feat: neutrond tendermint upgrades (#119) 2024-08-08 12:25:56 +02:00
quartz.manifest.template repo reorg 2024-05-21 03:26:41 -07:00
README.md repo reorg 2024-05-21 03:26:41 -07:00

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="epid" \
    -Dra_client_spid="51CAF5A48B450D624AEFE3286D314894" \
    -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"