|=[ DEEP DIVE :: INTERFOLD / CRISP ]=
THE INTERFOLD
CONFIDENTIAL COMPUTE · CRISPIndependent parties supply encrypted inputs. An E3 computes over them, and a committee decrypts only the result. CRISP turns that machinery into secret ballots with publicly verifiable totals.
NETWORK ALPHA — 08.2026 · ETHEREUM MAINNET
MAINNET + CRISP DESIGN · PARAMETERS CAN CHANGE
PRIVATE INPUTS AND PUBLIC RESULTS
One E3 is one confidential computation. It is not a private blockchain, a general encrypted EVM, or a real-time service.
An application chooses an E3 program, a committee size and an input window, then pays the fee. The program defines the computation and the input rules. Mainnet currently accepts only the Small committee: 19 ciphernodes.
Sortition selects the committee using Chainlink VRF. Its members run DKG and publish one public key with a proof. No single member holds the secret key.
Each data provider encrypts an input under the committee key. A zero-knowledge proof can show that the ciphertext is correctly formed and satisfies the application's rules without revealing the input. CRISP requires one for every ballot.
After the input window closes, OpenVM runs the FHE program over the ciphertexts. Its receipt binds the program, inputs and encrypted output. The output bytes go to Avail; Ethereum stores the hash, commitment and proof.
At least ten committee members supply decryption shares. The aggregated proof and plaintext result go onchain. The protocol decrypts the output, not the individual inputs or intermediate state.
ONE E3
WHERE IT FITS
Sums, counts and tallies over inputs that independent parties do not want to expose. Secret ballots are live now; sealed-bid auctions and aggregate statistics are potential uses of the same pattern. The final result is visible to everyone, so it must not contain anything participants need to keep private. A tally with only one voter, for example, reveals that voter's choice. The application also has to wait for committee setup, computation and threshold decryption.
SECRET BALLOTS
CRISP stands for Coercion-Resistant Impartial Selection Protocol and is the reference E3 application. It adds encrypted votes and decrypts only the totals.
The requester chooses two to ten options, a voting window and a census: a token snapshot, a list of eligible addresses, or an onchain registry. The CRISP contract records the round. Interfold's own governance uses CRISP by default, with transparent voting as a fallback.
The browser encrypts the choice and makes a Noir proof that it is a valid ballot from an eligible voter. The CRISP server stores the ciphertext, signs an availability promise and publishes the bytes to Avail. Two contract calls commit and finalise the input.
A new encrypted vote replaces the previous one. Anyone can also add an encryption of zero to a ballot slot: a mask changes the ciphertext without changing the vote. The proof does not reveal whether an update was a vote, a replacement or a mask.
OpenVM adds one ciphertext per ballot slot under encryption. The committee decrypts the resulting totals, one per option, and publishes them with the decryption proof. Individual ballots are not decrypted by the protocol.
A vote buyer can demand a transaction, ciphertext or proof as evidence of how someone voted. Masking makes that evidence unreliable: the voter can change the vote later, and anybody can make a slot look active by adding zero. That weakens coercion and vote buying; it does not make them impossible. A coercer can still watch the voting session, demand keys, or force a last-minute vote.
WHAT STAYS PUBLIC
The ballot is encrypted. The election around it is not.
| DATA | VISIBILITY | THE CATCH |
|---|---|---|
| BALLOT CHOICE | Encrypted | Threshold collusion or the final totals can still expose it. |
| CIPHERTEXT + PROOF | Public / Avail | The update is visible; its plaintext choice is not. |
| ELIGIBILITY + ADDRESS | Public | The census is public; a wallet-submitted input also exposes its sender. |
| VOTING POWER | Public | Snapshot weights can help match large voters to the totals. |
| TIMING + UPDATES | Public | Masks make updates unreliable receipts, but do not erase metadata. |
| INTERMEDIATE TALLY | Encrypted | The compute proof checks execution without revealing it. |
| FINAL TOTALS | Public | Plaintext output goes onchain for anyone to verify. |
THE TOTALS CAN TALK
Small, one-sided or whale-dominated votes can reveal choices without breaking encryption. If one voter's weight exceeds every option's total except one, that voter's choice is the only possibility. Interfold's hosted governance app counts a random 99–100% of each voter's power by default to make exact weight matching harder; L2BEAT advises keeping that setting on. It does not hide a dominant voter or rescue a tiny vote.
TRADE OFFS
No trusted hardware does not mean no trusted parties.
THE COMMITTEE IS THE TRUST BOUNDARY
Any 10 of 19 committee members can combine their shares and decrypt every ballot in that round. Operators in the initial set are unnamed. Limiting each bond owner to one seat does not prove that every owner is an independent person or company.
THE CRISP SERVER SEES EVERY REQUEST
The server receives every input and must attest to its availability. Relay limits can require the voter's wallet to submit onchain, exposing its address. Interfold also hosts the default app and RPC path. A local build removes the hosted-app trust, but needs its mainnet settings added.
AVAIL IS PART OF THE STACK
Secure ballots are too large for one Ethereum transaction. Ciphertexts go to Avail, and computation cannot start until every committed input has its availability receipt. Ethereum anchors the proofs and state; it does not hold all the ballot bytes.
ADMIN KEYS CAN MOVE FASTER THAN A VOTE
Two Interfold 3-of-5 Safes with the same signers can instantly upgrade the core coordinator and registries, or lower the committee minimum for future votes. CRISPProgram itself is not upgradeable. A passed CRISP governance vote still needs Foundation approval before execution.
SOME VERIFIERS ARE NOT PUBLICLY VERIFIED
L2BEAT reports that the two deployed Honk ballot-verifier contracts have unverified source. That leaves the privacy of archived ballot proofs against a future cryptographic break harder to check.
EARLY NETWORK, HEAVY MACHINERY
Network Alpha has an initial operator set and only a few completed votes; L2BEAT has not measured an anonymity set for them. E3s are not instant, and proof generation is heavy: one selected node can send roughly 1 GB during its initial DKG share distribution.
BUILD + RUN
Start locally. The default development profile uses mock compute proofs; real OpenVM proofs are a separate configuration.
BUILD AN E3
The default template starts a local chain and five ciphernodes, then sums two encrypted numbers. It gives you the program contract, secure process, server, client and SDK in one working project.
Write the computation and input rules first. Check the BFV noise budget, input proofs, public output and lifecycle deadlines before designing around it.
RUN CRISP LOCALLY
The CRISP example lives in the Interfold monorepo. Its setup builds the workspace and starts the client, coordination server, program server and local ciphernodes. The guided round goes from request to a decoded tally.
Local mode can skip real proofs for speed. Do not mistake that development path for the mainnet proof configuration.
RUN A CIPHERNODE
Registration needs 32,000 FOLD, sUSDS-backed tickets and ETH for gas. The node needs at least 17 GiB of memory on Linux, an Ethereum WebSocket endpoint, an Avail HTTP endpoint and inbound UDP for QUIC.
Use a separate cold wallet or Safe as the bond owner. Governance can change the economic values, so read them onchain before depositing.
Evaluating Interfold but not sure if it fits your product? Talk to Ben.
TALK TO BEN →