Smart contracts that compute on ciphertext, not plaintext.
FHETransform brings Fully Homomorphic Encryption to EVM-compatible chains. Inputs, state, and outputs stay encrypted end-to-end — while you keep writing Solidity the way you always have.
Six components, two layers, one workflow.
A small library on-chain handles symbolic execution; the real homomorphic computation runs off-chain on dedicated infrastructure. Gas stays cheap, throughput stays high.
FHE.sol
Encrypted data types ve_uint8…256, ve_bool, and the full homomorphic operator set. Inherit PrimusConfig and write Solidity.
Plain Solidity, in
A precompiler that converts ordinary contracts into FHE-enabled ones from a single NatSpec annotation. Native operators get mapped to FHE.* calls.
TypeScript bindings
Encrypt inputs locally with bundled WASM, upload to AlphaTrion, and decrypt result handles your contracts return. Drop-in for any web or Node app.
Coordination
Registers coprocessor identities, enforces consensus, verifies ciphertext digests, manages decryption requests, and settles payments.
The coprocessor
Listens for FHE events, runs real homomorphic compute on CPU/GPU TFHE, and commits encrypted results. Currently TEE-hosted; consensus network on roadmap.
Threshold decryption
TEE-protected service that generates and rotates FHE keys and performs verifiable decryption. Moves to a threshold-MPC network over time.
Privacy as a primitive, not a workaround.
Most "private" chains either hide a permissioned ledger or move trust into a single enclave. FHETransform keeps the chain public and verifiable — the data is just encrypted while it computes.
Privacy by design
Inputs, state, and outputs are encrypted at every step. The chain manipulates only handles.
Write Solidity as usual
Encrypted types behave like normal ints. The Preprocessor handles operator rewriting.
Complete operator set
Arithmetic, bitwise, comparisons, boolean logic, ternary select — composable, unbounded.
Programmable ACL
Decide per-value who can decrypt. Access control is part of the contract, not a side channel.
High-precision integers
Encrypted unsigned integers up to 256 bits, with no operation-count ceiling.
Symbolic on-chain
Heavy cryptography runs off-chain. On-chain calls cost roughly what plain Solidity costs.
Quantum-resistant
Built on a lattice-based FHE scheme with long-horizon security assumptions.
Verifiable off-chain
AlphaTrion outputs are anchored via SpaceBridge consensus and ciphertext digests.
Conditional logic, without revealing the condition.
Branch on encrypted state with FHE.select
You can't if on an encrypted comparison — the EVM has no plaintext to read. Instead you compute both possible results and pass them through FHE.select. The chain doesn't learn which branch was taken; only an authorized party, after decryption, ever does.
Result handles return immediately; the actual ciphertext is filled in once AlphaTrion has run the real homomorphic computation off-chain.
Five minutes from clone to a confidential counter.
Clone the starter template
A ready-to-use Hardhat project wired to FHETransform tooling, with example contracts and deploy scripts you can iterate on immediately.
Deploy on EVM-compatible testnets
FHETransform runs against the standard Ethereum toolchain. Point RPC_URL at any supported network and the system contracts are already deployed.