fhenix-hardhat-plugin

Installation
SKILL.md

Fhenix Hardhat Plugin

Overview

@cofhe/hardhat-plugin extends Hardhat to build and test FHE contracts locally: it auto-deploys mock contracts simulating the full CoFHE stack, adds hre.cofhe (clients) and hre.cofhe.mocks (raw plaintext access), and injects pre-configured networks. Package is @cofhe/hardhat-plugin (not the older @fhenixprotocol/cofhe-hardhat-plugin).

Install & config

npm install @cofhe/hardhat-plugin @cofhe/sdk @cofhe/mock-contracts @fhenixprotocol/cofhe-contracts
// hardhat.config.ts
import '@cofhe/hardhat-plugin';
Installs
1
First Seen
Jun 22, 2026
fhenix-hardhat-plugin — nickthelegend/fhenix-skills