Files
fhevm-solidity/docs/tutorials/see-all-tutorials.md
Aurora Poppyseed ade634a945 docs: rename TFHE.sol to FHE.sol in the docs (#756)
* docs: rename tfhe to fhe

* docs: renaming all function names in the docs and library names

* docs: update all mentions of TFHE

* docs: tfhe-rs stays the same

* docs: tfhe-rs stays the same

* docs: rename repo

* docs: fix renaming after merge conflicts

* docs: resolve issues
2025-05-12 11:17:58 +02:00

5.9 KiB

See all tutorials

Solidity smart contracts templates - fhevm-contracts

The fhevm-contracts repository provides a comprehensive collection of secure, pre-tested Solidity templates optimized for fhevm development. These templates leverage the FHE library to enable encrypted computations while maintaining security and extensibility.

The library includes templates for common use cases like tokens and governance, allowing developers to quickly build confidential smart contracts with battle-tested components. For detailed implementation guidance and best practices, refer to the contracts standard library guide.

Token

Governance

Utils

  • EncryptedErrors: Provides error management utilities for encrypted contracts.

Code examples on GitHub

  • Blind Auction: A smart contract for conducting blind auctions where bids are encrypted and the winning bid remains private.
  • Decentralized ID: A blockchain-based identity management system using smart contracts to store and manage encrypted personal data.
  • FheWordle: A privacy-preserving implementation of the popular word game Wordle where players guess a secret encrypted word through encrypted letter comparisons.
  • Cipherbomb: A multiplayer game where players must defuse an encrypted bomb by guessing the correct sequence of numbers.
  • Voting example: Suffragium is a secure, privacy-preserving voting system that combines zero-knowledge proofs (ZKP) and Fully Homomorphic Encryption (FHE) to create a trustless and tamper-resistant voting platform.

Frontend examples

  • Cipherbomb UI: A multiplayer game where players must defuse an encrypted bomb by guessing the correct sequence of numbers.

Blog tutorials

Video tutorials

{% hint style="success" %} Zama 5-Question Developer Survey

We want to hear from you! Take 1 minute to share your thoughts and helping us enhance our documentation and libraries. 👉 Click here to participate. {% endhint %}

Legacy - Not compatible with latest fhevm