Skip to main content

Documentation Index

Fetch the complete documentation index at: https://fhenix-mintlify-fix-broken-nav-1776644086.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Get started quickly with pre-configured project templates.

Hardhat Starter

A minimal Hardhat project with @cofhe/hardhat-plugin pre-configured, including a sample contract and test.

cofhe-hardhat-starter

Clone this template to start building FHE contracts with Hardhat immediately.
git clone https://github.com/FhenixProtocol/cofhe-hardhat-starter.git
cd cofhe-hardhat-starter
npm install
npx hardhat test

What’s included

  • @cofhe/hardhat-plugin and @cofhe/sdk pre-installed
  • hardhat.config.ts with evmVersion: 'cancun' and the plugin imported
  • A sample FHE contract
  • A test demonstrating the encrypt → store → decrypt flow
  • Pre-configured network settings for local development and testnets