Links

Overview

Bring confidential smart contracts to your blockchain with Zama's fhEVM

There used to be a dilemma in blockchain: keep your application and user data on-chain, allowing everyone to see it, or keep it privately off-chain and lose contract composability. Thanks to a breakthrough in homomorphic encryption, Zama’s fhEVM makes it possible to run confidential smart contracts on encrypted data, guaranteeing both confidentiality and composability.

Build confidential dapps just as you would regular ones

fhEVM contracts are simple solidity contracts that are built using traditional solidity toolchains. ‍Developers can use the euint data types to mark which part of their contracts should be private. ‍All the logic for access control of encrypted states is defined by developers in their smart contracts.

Use cases

  • Tokenization: Swap tokens and RWAs on-chain without others seeing the amounts.
  • Blind auctions: Bid on items without revealing the amount or the winner.
  • On-chain games: Keep moves, selections, cards, or items hidden until ready to reveal.
  • Confidential voting: Prevents bribery and blackmailing by keeping votes private.
  • Encrypted DIDs: Store identities on-chain and generate attestations without ZK.
  • Private transfers: Keep balances and amounts private, without using mixers.

Tutorials and examples