fhEVM is a suite of solutions that enables confidential smart contracts on the EVM using Fully Homomorphic Encryption (FHE). This document provides a high-level overview of the fhEVM suite along with onboarding guidance tailored to specific audiences.
The fhEVM Protocol provides a TFHE
Solidity library for building confidential smart contracts, a fhevm.js
Javascript library to enable front‐end FHE interactions, and a range of developer tools, examples, and templates to streamline the usage for developers.
Solidity library for FHE operations (e.g., encryption/decryption, arithmetic) within smart contracts.
Hardhat template with scripts for compiling, deploying, and testing FHE‐enabled contracts.
fhevm-foundry-template - coming soon
Foundry template for building FHE smart contracts.
Ready‐to‐use FHE smart contract example covering finance, governance, and ERC‐20 tokens use cases.
JavaScript library for client‐side FHE, enabling encryption, decryption, and data handling.
React.js template to quickly spin up FHE‐enabled dApps.
Next.js template for integrating FHE in server‐side rendered or hybrid web apps.
Vue.js template for creating privacy‐preserving dApps with encrypted data
Sample decentralized applications demonstrating FHE with real‐world code.
Explore open challenges and submit contributions to earn rewards.
A curated list by the team at Zama of blog posts, libraries, research papers, and tutorials on Fully Homomorphic Encryption (FHE).
To integrate FHE at the protocol level or operate an FHE‐enabled network, fhEVM offers the fhevm backend modules. These repositories include the foundational implementations that enables FHE in blockchain systems, ensuring that privacy remains at the core of your network architecture.
Rust backend & Go‐Ethereum modules, enabling native or coprocessor‐based FHE.
Go implementation of the FHE Virtual Machine
Modified go-ethereum with enhanced FHE support