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
git clone https://github.com/vortaorg/vorta.git cd vortaSet Up Environment Variables:
Copy .env.example to .env and customize:
Bash
cp .env.example .env nano .envKey variables:
MAINFRAME_API_HOST,WORKER_MANAGER_ADDRESS,DATABASE_URL,ATTESTATION_SERVICE_URL.Build All Components (using Makefile):
Bash
make allThis 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
chmod +x scripts/setup_sgx.sh ./scripts/setup_sgx.shThis 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