Prerequisites & Installation
Prerequisites
Ensure your system meets these requirements:
Hardware & BIOS: Intel SGX CPU, SGX enabled in BIOS, sufficient EPC allocated.
Operating System: Compatible Linux distribution (e.g., Ubuntu 20.04 LTS).
Intel SGX Drivers & PSW: Installed and verified.
Gramine LibOS: Installed and verified (
gramine-sgx --version
).Docker Engine: Installed and running (
docker --version
).Rust Toolchain: Installed via
rustup
(rustc --version
).Go Toolchain: Installed (
go version
).Foundry (for Smart Contracts): Installed via
foundryup
(forge --version
).Development Tools:
git
,make
,gcc
,pkg-config
,openssl-devel
.Cloud VM (Optional): SGX-enabled instance type.
Installation Steps
Clone the Vorta Repository:
Bash
Set Up Environment Variables:
Copy .env.example to .env and customize:
Bash
Key variables:
MAINFRAME_API_HOST
,WORKER_MANAGER_ADDRESS
,DATABASE_URL
,ATTESTATION_SERVICE_URL
.Build All Components (using Makefile):
Bash
This typically builds Rust, Go, Solidity components, and Docker images.
Build Specific Components Manually (Optional):
Mainframe:
cd mainframe && cargo build --release
(ormake mainframe
)Worker:
cd worker && cargo build --release
(ormake worker
)Contracts:
cd contracts && forge build
(ormake contracts
)ZK Verifiers: Build within their respective
zkp/
subdirectories.
Set up SGX Environment (if not already done):
Use the provided script if available:
Bash
This script may check for SGX support, drivers, and services.
Database Setup (if applicable):
If the Mainframe uses an external database, set it up as per its documentation.
Last updated