LogoLogo
  • ➡️ Introduction
    • Welcome to Vorta
  • Core Concepts
  • Architecture
  • How it's Made
  • 🚀 Getting Started
    • Prerequisites & Installation
    • Configuration
  • 💻 User Guide
    • Deploying & Managing Workloads
    • API Reference
Powered by GitBook
On this page
  1. 🚀 Getting Started

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

  1. Clone the Vorta Repository:

    Bash

    git clone https://github.com/vortaorg/vorta.git
    cd vorta
  2. Set Up Environment Variables:

    Copy .env.example to .env and customize:

    Bash

    cp .env.example .env
    nano .env

    Key variables: MAINFRAME_API_HOST, WORKER_MANAGER_ADDRESS, DATABASE_URL, ATTESTATION_SERVICE_URL.

  3. Build All Components (using Makefile):

    Bash

    make all

    This typically builds Rust, Go, Solidity components, and Docker images.

  4. Build Specific Components Manually (Optional):

    • Mainframe: cd mainframe && cargo build --release (or make mainframe)

    • Worker: cd worker && cargo build --release (or make worker)

    • Contracts: cd contracts && forge build (or make contracts)

    • ZK Verifiers: Build within their respective zkp/ subdirectories.

  5. Set up SGX Environment (if not already done):

    Use the provided script if available:

    Bash

    chmod +x scripts/setup_sgx.sh
    ./scripts/setup_sgx.sh

    This script may check for SGX support, drivers, and services.

  6. Database Setup (if applicable):

    If the Mainframe uses an external database, set it up as per its documentation.

PreviousHow it's MadeNextConfiguration

Last updated 24 days ago