Skip to main content

Reproducible Builds with Oyster and Sui

This guide demonstrates how to build bit-by-bit reproducible enclave images using Marlin Oyster and verify them on-chain with Sui. We use a price oracle as a practical example - the enclave fetches prices from CoinGecko, signs them inside a hardware-isolated environment, and submits them to the Sui blockchain for on-chain verification.

Source code: github.com/marlinprotocol/sui-oyster-demo

What You'll Learn

  • Create reproducible enclave builds using Nix
  • Deploy and verify enclave images on Oyster
  • Register enclave identity on-chain with Sui Move contracts
  • Verify enclave attestations and signatures on the blockchain