hacker-challenge-sgx-general/rewrite
2024-11-06 22:48:05 +02:00
..
.cargo fix compilation and runtime 2024-10-06 15:34:02 +03:00
docker refactoring 2024-10-06 19:23:54 +03:00
mint_sol refactoring 2024-10-06 19:23:54 +03:00
proto added skeleton for Solana integration 2024-09-28 20:09:05 +03:00
scripts deploy key for fetching occlum and detee-sgx 2024-11-06 22:48:05 +02:00
src deploy key for fetching occlum and detee-sgx 2024-11-06 22:48:05 +02:00
.gitignore refactoring 2024-10-06 19:23:54 +03:00
build.rs migrate hacker challenge on ratls 2024-10-06 13:28:18 +03:00
Cargo.lock traces and docs 2024-10-06 19:37:40 +03:00
Cargo.toml deploy key for fetching occlum and detee-sgx 2024-11-06 22:48:05 +02:00
deploy_ed25519 deploy key for fetching occlum and detee-sgx 2024-11-06 22:48:05 +02:00
README.md traces and docs 2024-10-06 19:37:40 +03:00
rustfmt.toml migrate hacker challenge on ratls 2024-10-06 13:28:18 +03:00

Welcome to the HACKER CHALLENGE

Building and packaging the challenge

The host can be without SGX support. To build and package the challenge you will need the docker environment. Do the following steps to build the challenge:

# Notice that there is no SGX device mounted, run inside rewrite directory
docker run --rm --name packager -it -v .:/root/rewrite occlum/occlum:latest-ubuntu20.04
# Inside the docker container run package.sh and follow its instructions
cd /root/rewrite && ./scripts/package.sh --prep
exit # Feel free to exit the container

Testing the challenge

To test the challenge you will need the SGX support.

Contributing to the challenge

Don't forget to run cargo clippy and cargo fmt before submitting a PR.