fhEVM
WebsiteLibrariesProduct & ServicesDevelopersSupport
0.3
0.3
  • <- Home
  • What is Zama's fhEVM
    • Overview
    • Whitepaper
  • Getting Started
    • Connecting to Zama Devnet
    • Using Zama Faucet
    • Local dev node
  • How to
    • Write contract
      • Using Hardhat
      • Using Remix
      • Other development environment
    • Use encrypted types
    • Operations on encrypted types
    • Generate random number
    • Write conditions
    • Decrypt and reencrypt
    • Estimate gas
    • Common pitfalls and best practises
  • API
    • Function specifications
  • Client SDK
    • Getting started
      • Using Node
      • Using a template
      • Other frontend tooling
      • Using CLI
    • Setup an instance
    • Encrypt an input
    • Get a reencryption
    • Examples
      • Transfer tokens (node)
      • Get balance (node)
  • Resources
    • Examples
    • Tutorials
    • Repositories
  • Future Developments
    • Development Roadmap
  • 🔗Support
    • Community forum
    • Telegram
    • FHE.org discord
    • Twitter
Powered by GitBook

Libraries

  • TFHE-rs
  • Concrete
  • Concrete ML
  • fhEVM

Developers

  • Blog
  • Documentation
  • Github
  • FHE resources

Company

  • About
  • Introduction to FHE
  • Media
  • Careers
On this page
  • Bring confidential smart contracts to your blockchain with Zama's fhEVM
  • Build confidential dapps just as you would regular ones
  • Use cases
  • Tutorials and examples

Was this helpful?

Export as PDF
  1. What is Zama's fhEVM

Overview

NextConnecting to Zama Devnet

Last updated 1 year ago

Was this helpful?

📙 White paper | 📁 Github | 💛 Community support | 🟨 Zama Bounty Program

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

  • 🎥 Workshop during ETHcc [by Morten Dahl — Zama]

  • 🎥 How to Write Confidential Smart Contracts Using Zama's fhEVM [by Clément Danjou (Zama)]

  • 📃 Programmable Privacy and Onchain Compliance using Homomorphic Encryption [by Rand Hindi and Clément Danjou — Zama]

  • 📃 Confidential ERC-20 Tokens Using Homomorphic Encryption [by [Clément Danjou — Zama]

  • 📃 On-chain Blind Auctions Using Homomorphic Encryption [by Clément Danjou — Zama]

  • 🖥️ ERC-20

  • 🖥️ Blind Auction

  • 🖥️ Governor DAO

  • 🖥️ Mixnet [by Remi Gai]

  • 🖥️ Battleship [by Owen Murovec]

  • 🖥️ Darkpool [by Owen Murovec]