Skip to main content
Testnetly

CoFHE public testnets

Developers deploy and run confidential Solidity contracts against the live CoFHE coprocessor on Ethereum Sepolia, Arbitrum Sepolia and Base Sepolia. The flow is encrypt (client-side with @cofhe/sdk) → compute (FHE.sol operations) → decrypt (gated by ACPs). Testnets use the same FHE.sol and SDK as the permissioned mainnet.

Seasons

  1. Starts
    Not announced
    Ends
    Not announced

Guide

Fhenix is a research and development company that builds privacy tools for EVM chains (Ethereum-style blockchains) using fully homomorphic encryption, a method that lets a program calculate on data while the data stays encrypted. Its main product, CoFHE, is a coprocessor: your smart contract works with encrypted values, and the heavy computation runs off-chain. The CoFHE public testnets let developers deploy and run confidential Solidity contracts on Ethereum Sepolia, Arbitrum Sepolia and Base Sepolia. This guide suits developers and curious newcomers who can work in a terminal. There is no node to run.

Before you start

You need:

  • An EVM wallet. Use a separate, test-only account that has never held real funds. Never reuse the seed phrase of your main wallet.
  • Sepolia test ETH. Faucet: a page that hands out test tokens, which have no value. The project's docs say you need ETH from the Sepolia faucet, but they do not link a specific faucet, and Fhenix has not published one of its own.
  • A development machine with Node.js v20 or later (the Hardhat quick start says 18 or later) and pnpm.
  • Access to GitHub, so you can clone the starter repository.
  • An X account, only if you want the optional OnlyFhens quests.

A few limits to know about:

  • The docs give no RPC address (the web address your tools use to talk to a network) for Ethereum Sepolia or Arbitrum Sepolia, so you bring your own.
  • All @cofhe/* packages must be on the same version. The docs currently show 0.8.0, with @fhenixprotocol/cofhe-contracts at 1.0.0.
  • Base Sepolia has no Hardhat preset and must be added by hand.
  • The project has not published a start or end date for the public testnets, and it lists them as open to everyone. The status page shows the testnet as operational.

Steps

  1. Choose a supported CoFHE testnet. According to the compatibility page, the SDK supports three testnets: Ethereum Sepolia (chain ID 11155111, SDK export sepolia, Hardhat preset eth-sepolia), Arbitrum Sepolia (chain ID 421614, SDK export arbSepolia, preset arb-sepolia) and Base Sepolia (chain ID 84532, SDK export baseSepolia, no Hardhat preset). The docs' example config for Base Sepolia uses the RPC https://sepolia.base.org. Confirm all network details on the official docs page before you add any network to a wallet or config file.
  2. Get Sepolia test ETH. Fund your test-only account on the testnet you chose. The quick start says this step needs ETH from the Sepolia faucet. No faucet is named there, so be careful where you look (see the risks below).
  3. Deploy the starter FHE Counter contract. Follow the quick start. Run git clone https://github.com/fhenixprotocol/cofhe-hardhat-starter.git, then cd cofhe-hardhat-starter and pnpm install. Run pnpm test to try the mock (local, simulated) environment first. Put your RPC URLs and your test-only deployer key in a .env file as the docs show, and never commit that file. Then deploy with pnpm eth-sepolia:deploy-counter, pnpm arb-sepolia:deploy-counter or pnpm base-sepolia:deploy-counter, and interact with pnpm <network>:increment-counter. The starter repository holds the code.
  4. (optional) Build your own contract with the Hardhat plugin and @cofhe/sdk. Follow the Hardhat quick start. Install @cofhe/hardhat-plugin@^0.8.0, @cofhe/sdk@^0.8.0 and @fhenixprotocol/cofhe-contracts@^1.0.0, and keep all @cofhe packages on the same version. Set the Solidity evmVersion to cancun. Write a contract that imports FHE.sol, encrypt inputs with the SDK, and decrypt results with a signed permission (an ACP). Foundry and React quick starts also exist.
  5. (optional) OnlyFhens quests. The OnlyFhens site describes four steps: do something (switch a token, play a game or launch a dApp), post it on X with your handle, earn credits, and spend them on swag in the swag shop. The site does not say whether quests use the testnet or mainnet. Any quest done on mainnet uses real funds, so it costs real money. You can try the testnet without it, and this step is not part of the testnet itself.

Costs

The testnet itself is free. It uses Sepolia test ETH, which has no value. The project has not published any gas figures beyond that. You need a computer with Node.js and pnpm, but no special hardware. Mainnet actions, including any OnlyFhens quest done on mainnet, would use real funds and are optional.

Risks and things to check

  • Use a separate wallet. Use a wallet that holds no real funds for testnets. The quick start has you put a deployer key in a .env file. Use a throwaway key that has never held real funds, and never commit the file.
  • Never share your seed phrase or private key. No real testnet step needs your seed phrase (recovery phrase) or private key. Anyone who asks for them, on a site, form, bot or chat, is a scammer.
  • Open links only from the official pages linked in this guide. Fake faucets and fake airdrop pages are common. Since Fhenix has not published its own faucet, be extra careful with any faucet link someone sends you.
  • Testnet does not guarantee mainnet access. CoFHE is live on Ethereum and Arbitrum mainnet, but access is permissioned: new dApps are reviewed by Fhenix and need an active social presence before they are whitelisted. Building on testnet does not guarantee mainnet access. On the public testnets, the access list is disabled.
  • Genesis app and Wallet Module are not the testnet. They run on Ethereum mainnet and Arbitrum with real assets.
  • Version upgrades can break things. Upgrading from SDK 0.6 to 0.7 or later is a breaking change, and permissions signed under 0.6 stop working.
  • Decryption has a hardware trust assumption. It relies on key shares held by independent partners and released only to a TEE-attested Teecryptor enclave (a secure hardware environment).
  • Docs can lag behind. The docs quick start still says mainnet go-live is in progress, while the project's blog says it has been live since 21 October 2026. Testnets change, so check the Fhenix docs and the status page before you start. For help, see the support page or the Fhenix Discord.

What the project says about rewards

The project has not announced any reward for testnet use. Separately, its website promotes OnlyFhens quests, with the line "Do something. Post it. Get paid in swag": you complete an action, post it on X, earn credits, and spend them on swag in the Fhenix shop. The site does not call this a testnet reward, and it does not mention any token. The OnlyFhens credits are only for merchandise, and the project has not promised any token or airdrop.

Written with AI from the sources below. Reviewed by Claude (AI reviewer).

Last checked

Taking part in a testnet does not guarantee a reward.