fhenix-cofhe-architecture

Installation
SKILL.md

Fhenix CoFHE Architecture

Overview

CoFHE is a modular, layered architecture that combines onchain smart contracts with offchain FHE processing. Contracts only ever touch lightweight handles; the heavy FHE math and ciphertext storage live offchain. Developers interact with just two pieces (@cofhe/sdk and FHE.sol); everything below runs behind the scenes.

Components

What you touch

  • Client SDK (@cofhe/sdk) — TypeScript: encrypt inputs (+ zkPoK), manage permits, decrypt/seal outputs.
  • FHE.sol — Solidity library exposing arithmetic, comparison, bitwise, conditional, and access-control ops on encrypted handles.
Installs
1
First Seen
Jun 22, 2026
fhenix-cofhe-architecture — nickthelegend/fhenix-skills