Skip to main content
Version: Nitrogen

Overview

Welcome to the Fhenix documentation! These docs should have everything you need to get started and create smart contracts that use FHE with encrypted data!

Tip

For questions & support join our Discord!

Here we'll explain everything about how to use Fhenix and how to use FHE to create privacy-preserving Web3 applications.

Fhenix introduces an extension to the Ethereum Virtual Machine (EVM) that enables operations on encrypted data using Fully Homomorphic Encryption (FHE). We've added special precompiles to the EVM that allow computations on encrypted data without the need for decryption.

The integration of the FHE with Solidity means you can continue to write your smart contracts with familiar syntax while leveraging the capabilities of FHE.

In this documentation, you'll find guidance on operating on encrypted data, understanding patterns in FHE-friendly code writing, and access control in FHE-based smart contracts. Let's get started.

Version compatibility table

We encourage you to use Nitrogen as your main testnet, however if you wish to develop for Helium - then the following version compatibility table will interest you:

Helium testnet

PackageVersion Range
fhenix.jsv0.3.x
fhenix-contractsv0.2.x
fhenix-hardhat-pluginv0.2.2
localfhenixv0.2.x

Nitrogen testnet

PackageVersion Range
fhenix.jsv0.4.1+
fhenix-contractsv0.3.0+
fhenix-hardhat-pluginv0.3.2+
localfhenixv0.3.2+

Get Started

We've put together some helpful guides for you to get set up quickly and easily.