DeepWorm Docs
  • About DeepWorm
  • How does DeepWorm work?
  • Getting Started
    • The Nematoduino Model
    • Marlin's TEE network
  • THE WORM'S LIFECYCLE
    • v0. Autonomous Mobility
    • v1. Onchain Verifiability
  • DEVELOPER GUIDES
    • Building an app using the WORM
    • Deploying the WORM in a TEE
    • Requesting an attestation
    • Verifying attestations
  • RESOURCES
    • API Reference
    • Contracts & IP Addresses
    • Disclaimers
Powered by GitBook
On this page
  1. DEVELOPER GUIDES

Deploying the WORM in a TEE

PreviousBuilding an app using the WORMNextRequesting an attestation

Last updated 5 months ago

First build the enclave using :

git clone https://github.com/BrainsOnChain/DeepWorm
cd DeepWorm/worm
nix build -v

The above creates a directory called result.

$ ls result/
image.eif  log.txt  pcr.json

Host image.eif at a publicly follow the steps to deploy the enclave image on a Marlin node with the following parameters:

Instance: c6a.xlarge Architecture: amd64 Region: Any Bandwidth: 10 KB/s vCPU: Default Memory: Default

The pcr.json file contains the enclave PCRs which can be used to verify against TEE attestations.

nix
here
Deploying the EIF on hub.marlin.org