Enclave is now The Interfold.
Encrypted Execution Environments

Shared results from private inputs.

The Interfold is an open-source protocol for confidential coordination. Independent parties encrypt their inputs, a committee of ciphernodes runs the computation, and only the verified output is decrypted.

DKG

Key generation. The committee runs DKG and makes one shared public key.

Choose a path
What do you want to do?

Each path starts with a short overview and continues to step-by-step procedures.

How it works
One E3, from request to result

The Interfold contract records each E3 as it moves through its stages. Ciphernodes act at each stage and publish proofs on-chain.

  1. RequestedA requester pays the fee and asks for an E3.
  2. CommitteeFinalizedSortition selects a committee of ciphernodes.
  3. KeyPublishedThe committee runs DKG and publishes one public key.
  4. CiphertextReadyThe program runs over the encrypted inputs. The encrypted output goes on-chain.
  5. CompleteT + 1 key shares decrypt the output, and a proof confirms it.
Committees
Security comes from the committee

No single ciphernode can decrypt. The protocol supports three committee sizes. Decryption needs T + 1 key shares.

3
minimum
N = 3, T = 1. The smallest committee.
9
micro
N = 9, T = 4.
19
small
N = 19, T = 9. Higher assurance.
Quick start
A working E3 in four commands

The template starts a local chain, local ciphernodes, the servers, and a web client. See the Quick Start for prerequisites.

~/code
# Install the interfold CLI$ curl -fsSL https://raw.githubusercontent.com/theinterfold/interfold/main/install | bash# Make a project from the default template and start everything$ interfold init my-first-e3$ cd my-first-e3 && pnpm dev:all# The client is at http://localhost:3000