Developer Documentation

Nova Enclave Capsule

Build enclave applications as a developer, not as a full-time Nitro operator.

The recommended path for most teams is to start on Nova Platform so you can focus on application code, deployment, and attestation without first owning EC2 host setup. If you want the self-hosted route, this docs site also covers the full Capsule workflow on your own Nitro-enabled parent instance.

Build
Normal Docker Workflow

Build your app as a Docker image, add a manifest, and run capsule-cli build.

Runtime
15+ Sidecar APIs

Attestation, signing, encryption, Helios RPC, S3, Nova KMS, and app wallets — all on localhost.

Deploy
Managed Or Self-Hosted

Start with Nova Platform for the lightest path, or follow the self-hosted Nitro host setup if you need direct control.


Five Steps to a Running Enclave

If you are taking the self-hosted route, this is the shortest path from zero to a working enclave application.

01

Set up the Nitro host

Prepare an EC2 instance with Nitro Enclave support, allocate hugepages, and install Docker.

02

Install capsule-cli

Download the pre-built binary or build from source. Verify with capsule-cli --version.

03

Write capsule.yaml

Define your app source image, ingress ports, egress policy, API settings, and resource defaults.

04

Build the capsule image

Run capsule-cli build -f capsule.yaml to produce a self-contained enclave image with your app and the Capsule Runtime inside.

05

Run the enclave

Execute sudo capsule-cli run your-app:latest -p 8080:80 to launch on the Nitro host and start serving traffic.


What Capsule Provides

Everything your application needs inside the enclave, without writing Nitro-specific code.

🔐

Attestation

NSM-backed attestation documents with automatic Ethereum address injection.

✍️

Signing

Secp256k1 key management and EIP-1559 transaction signing inside the enclave.

🔒

Encryption

P-384 ECDH + AES-256-GCM end-to-end transport encryption between client and enclave.

🌐

Helios RPC

Trustless multi-chain light client — read on-chain state without trusting external RPCs.

☁️

S3 Storage

Persistent encrypted object storage with optional KMS-derived keys.

🔑

Nova KMS

Distributed key management and key-value storage inside the Nova trust surface.

💰

App Wallet

Enclave-native wallet with persistent address, signing, and transaction support.

📁

Host Mounts

Persistent host-backed directories with loopback filesystem and FUSE support.

⏱️

Clock Sync

Automatic wall-clock synchronization with the parent EC2 instance.


Documentation Map

Use Nova Platform if you want the fastest developer path. Use these pages when you want to understand or self-manage the full Capsule workflow.

Recommended reading order

Fastest path: Nova Platform → app template → examples.

Self-hosted path: Nitro Host Setup → Getting Started → capsule.yaml → Minimal Example.