# zama-ai/fhevm

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/zama-ai-fhevm).**

25,215 stars · 2,031 forks · Rust · NOASSERTION

## Links

- GitHub: https://github.com/zama-ai/fhevm
- awesome-repositories: https://awesome-repositories.com/repository/zama-ai-fhevm.md

## Topics

`blockchain` `fhe` `privacy`

## Description

fhevm is a full-stack blockchain framework designed to integrate Fully Homomorphic Encryption into smart contracts. It provides a platform for developing confidential smart contracts that can process encrypted data and execute private on-chain computations without decrypting the underlying information.

The framework utilizes a coprocessor system to offload resource-intensive encrypted operations to an asynchronous service, improving blockchain performance and scalability. It incorporates a secure key management service based on multi-party computation and a zero-knowledge proof verifier to ensure the legitimacy of encrypted inputs before they are processed.

The system covers broad capability areas including ciphertext computation for mathematical and boolean operations, decryption access control, and blockchain event synchronization. It also includes infrastructure for routing decryption requests, managing cryptographic materials, and handling contract upgrades via proxies.

## Tags

### Security & Cryptography

- [Homomorphic Ciphertext Execution](https://awesome-repositories.com/f/security-cryptography/ciphertext-transformations/homomorphic-ciphertext-execution.md) — Provides the ability to execute mathematical and boolean operations on encrypted integers without decrypting the underlying data.
- [Confidential Smart Contracts](https://awesome-repositories.com/f/security-cryptography/confidential-smart-contracts.md) — Implements a framework for writing blockchain logic that processes encrypted data to keep transaction details and state private.
- [Ciphertext Logic Operations](https://awesome-repositories.com/f/security-cryptography/ciphertext-transformations/ciphertext-logic-operations.md) — Provides the ability to execute arithmetic and logical operations on ciphertext without decrypting the underlying values. ([source](https://github.com/zama-ai/fhevm/tree/main/library-solidity))
- [Confidential Smart Contract Execution](https://awesome-repositories.com/f/security-cryptography/confidential-smart-contract-execution.md) — Enables the processing of encrypted data on-chain to maintain the confidentiality of transactions and system state. ([source](https://github.com/zama-ai/fhevm#readme))
- [External Key Integration](https://awesome-repositories.com/f/security-cryptography/cryptographic-key-management/external-key-integration.md) — Integrates with MPC-based key management services to delegate cryptographic operations and secure the decryption process. ([source](https://github.com/zama-ai/fhevm#readme))
- [Data Decryption](https://awesome-repositories.com/f/security-cryptography/data-decryption.md) — Processes the decryption of ciphertexts to return plaintext or re-encrypted results based on defined user access controls. ([source](https://github.com/zama-ai/fhevm/tree/main/relayer))
- [FHE Decryption Gateways](https://awesome-repositories.com/f/security-cryptography/data-decryption/fhe-decryption-gateways.md) — Provides a gateway process to handle public, user, and delegated decryptions of FHE encrypted data. ([source](https://github.com/zama-ai/fhevm/tree/main/gateway-contracts))
- [Encrypted Data Processing](https://awesome-repositories.com/f/security-cryptography/encrypted-data-processing.md) — Utilizes a coprocessor to execute algorithms directly on encrypted data to maintain processor-level blindness. ([source](https://github.com/zama-ai/fhevm/tree/main/library-solidity))
- [Homomorphic Encryption](https://awesome-repositories.com/f/security-cryptography/homomorphic-encryption.md) — Integrates fully homomorphic encryption into decentralized applications to perform mathematical operations on ciphertexts.
- [Encrypted Arithmetic](https://awesome-repositories.com/f/security-cryptography/homomorphic-encryption/encrypted-arithmetic.md) — Executes high-precision mathematical and boolean operations on encrypted integers. ([source](https://github.com/zama-ai/fhevm#readme))
- [Encrypted Integer Computation](https://awesome-repositories.com/f/security-cryptography/homomorphic-encryption/encrypted-integer-computation.md) — Performs arithmetic, boolean, and comparison operations on encrypted integers. ([source](https://github.com/zama-ai/fhevm/blob/main/README.md))
- [Coprocessor Computation Offloading](https://awesome-repositories.com/f/security-cryptography/hsm-encryption-offloading/coprocessor-computation-offloading.md) — Offloads resource-intensive encrypted calculations to asynchronous coprocessors to improve blockchain throughput and performance.
- [FHE Operation Offloading](https://awesome-repositories.com/f/security-cryptography/hsm-encryption-offloading/fhe-operation-offloading.md) — Moves heavy fully homomorphic encryption operations to an asynchronous coprocessor to improve scalability. ([source](https://github.com/zama-ai/fhevm/blob/main/README.md))
- [Key Management Services](https://awesome-repositories.com/f/security-cryptography/key-management-services.md) — Implements a secure system using multi-party computation to manage decryption keys and authorize private data release.
- [MPC Key Management](https://awesome-repositories.com/f/security-cryptography/key-management-systems/mpc-key-management.md) — Utilizes multi-party computation to securely protect and manage decryption keys, preventing single points of failure. ([source](https://github.com/zama-ai/fhevm/blob/main/README.md))
- [Multi-Party Computation Frameworks](https://awesome-repositories.com/f/security-cryptography/multi-party-computation-frameworks.md) — Employs a multi-party computation framework to secure decryption keys by distributing them across a network of nodes.
- [Decryption](https://awesome-repositories.com/f/security-cryptography/security/policies/access-control/decryption.md) — Manages who can view private blockchain data through programmable logic and secure key management systems. ([source](https://github.com/zama-ai/fhevm/tree/main/library-solidity))
- [Encrypted Data Definitions](https://awesome-repositories.com/f/security-cryptography/sensitive-data-access-controls/encrypted-data-definitions.md) — Provides a system for specifying encrypted data requirements and managing access control logic within smart contracts. ([source](https://github.com/zama-ai/fhevm#readme))
- [Privacy Logic](https://awesome-repositories.com/f/security-cryptography/smart-contract-access-controls/privacy-logic.md) — Enables the definition of access control rules and encrypted data requirements directly within smart contracts. ([source](https://github.com/zama-ai/fhevm/blob/main/README.md))
- [Zero-Knowledge Proof Frameworks](https://awesome-repositories.com/f/security-cryptography/zero-knowledge-proof-frameworks.md) — Integrates a zero-knowledge proof verifier to ensure the legitimacy of encrypted inputs before on-chain processing.
- [Proof Verification Interfaces](https://awesome-repositories.com/f/security-cryptography/zero-knowledge-proof-frameworks/proof-verification-interfaces.md) — Implements high-performance interfaces to verify zero-knowledge proofs, ensuring encrypted inputs are legitimate before on-chain processing. ([source](https://github.com/zama-ai/fhevm/tree/main/gateway-contracts))
- [Decryption Request Routing](https://awesome-repositories.com/f/security-cryptography/decryption-request-routing.md) — Implements a mechanism to route decryption requests from contract gateways to the key management core via blockchain transactions. ([source](https://github.com/zama-ai/fhevm/tree/main/kms-connector))
- [Decryption Response Signing](https://awesome-repositories.com/f/security-cryptography/decryption-response-signing.md) — Signs blockchain transactions using private keys to authorize and validate the output of decrypted data. ([source](https://github.com/zama-ai/fhevm/tree/main/kms-connector))
- [Encrypted Type Management](https://awesome-repositories.com/f/security-cryptography/encrypted-type-management.md) — Uses encrypted integer types to store and handle sensitive values within smart contracts. ([source](https://github.com/zama-ai/fhevm/tree/main/library-solidity))

### Data & Databases

- [Asynchronous FHE Coprocessors](https://awesome-repositories.com/f/data-databases/data-engineering/distributed-compute-frameworks/distributed-computing-engines/asynchronous-fhe-coprocessors.md) — Provides an asynchronous computation service that offloads resource-intensive encrypted operations to maintain scalability.
- [Asynchronous Computation Offloading](https://awesome-repositories.com/f/data-databases/data-engineering/distributed-compute-frameworks/distributed-computing-engines/coprocessors/asynchronous-computation-offloading.md) — Implements an asynchronous coprocessor system to offload resource-intensive encrypted operations and maintain blockchain throughput.
- [Encrypted Data Retrieval](https://awesome-repositories.com/f/data-databases/encrypted-data-retrieval.md) — Provides a capability to fetch ciphertexts from compatible storage using URLs to facilitate private computations. ([source](https://github.com/zama-ai/fhevm/tree/main/kms-connector))

### Development Tools & Productivity

- [Confidential Logic Authoring](https://awesome-repositories.com/f/development-tools-productivity/contract-development-environments/confidential-logic-authoring.md) — Provides tooling that allows developers to write privacy-preserving smart contract logic using standard development chains. ([source](https://github.com/zama-ai/fhevm/blob/main/README.md))

### Networking & Communication

- [Private Distributed Computation](https://awesome-repositories.com/f/networking-communication/distributed-systems-p2p/distributed-computing/private-distributed-computation.md) — Runs encrypted computations via a distributed service while managing data verification and event listening. ([source](https://github.com/zama-ai/fhevm/tree/main/coprocessor))
- [Private On-Chain Computation](https://awesome-repositories.com/f/networking-communication/on-chain-program-execution/private-on-chain-computation.md) — Executes sensitive calculations on a blockchain while ensuring the underlying data remains encrypted during processing.
- [Blockchain Data Synchronization](https://awesome-repositories.com/f/networking-communication/blockchain-data-synchronization.md) — Implements parallel polling of multiple network nodes to ensure gapless and canonical blockchain data synchronization.
- [Cross-Chain State Synchronization](https://awesome-repositories.com/f/networking-communication/cross-chain-state-synchronization.md) — Exports state from a canonical chain and applies it to a replica chain for cross-chain consistency. ([source](https://github.com/zama-ai/fhevm/tree/main/host-contracts))

### Software Engineering & Architecture

- [FHE Blockchain Frameworks](https://awesome-repositories.com/f/software-engineering-architecture/blockchain-application-frameworks/fhe-blockchain-frameworks.md) — Implements a full-stack framework for integrating Fully Homomorphic Encryption into smart contracts to enable private computations.
- [Computation Scaling Strategies](https://awesome-repositories.com/f/software-engineering-architecture/computation-scaling-strategies.md) — Offloads resource-intensive encrypted calculations to an asynchronous coprocessor to increase system throughput. ([source](https://github.com/zama-ai/fhevm#readme))
- [Event Driven Messaging](https://awesome-repositories.com/f/software-engineering-architecture/event-driven-messaging.md) — Utilizes an event-driven messaging system to capture and distribute validated blockchain data to downstream services.

### Web Development

- [Confidential Execution Environments](https://awesome-repositories.com/f/web-development/smart-contract-environments/confidential-execution-environments.md) — Provides a development environment for writing privacy-preserving blockchain logic that processes encrypted data.

### DevOps & Infrastructure

- [Decryption Request Routing](https://awesome-repositories.com/f/devops-infrastructure/request-gateways/decryption-request-routing.md) — Forwards decryption requests from smart contracts to a key management core and returns results via blockchain transactions.
