FHE Operations Reference
Comprehensive showcase of all FHE operations - arithmetic, comparison, bitwise, and casting
FHEVM Hardhat Template
A Hardhat-based template for developing Fully Homomorphic Encryption (FHE) enabled Solidity smart contracts using the FHEVM protocol by Zama.
Quick Start
For detailed instructions see: FHEVM Hardhat Quick Start Tutorial
Prerequisites
- Node.js: Version 20 or higher
- npm or yarn/pnpm: Package manager
Installation
-
Install dependencies
Loading...
-
Set up environment variables
Loading...
-
Compile and test
Loading...
-
Deploy to local network
Loading...
-
Deploy to Sepolia Testnet
Loading...
-
Test on Sepolia Testnet
Loading...
š Project Structure
fhevm-hardhat-template/
āāā contracts/ # Smart contract source files
ā āāā FHECounter.sol # Example FHE counter contract
āāā deploy/ # Deployment scripts
āāā tasks/ # Hardhat custom tasks
āāā test/ # Test files
āāā hardhat.config.ts # Hardhat configuration
āāā package.json # Dependencies and scripts
š Available Scripts
| Script | Description |
| ------------------ | ------------------------ |
| npm run compile | Compile all contracts |
| npm run test | Run all tests |
| npm run coverage | Generate coverage report |
| npm run lint | Run linting checks |
| npm run clean | Clean build artifacts |
š Documentation
š License
This project is licensed under the BSD-3-Clause-Clear License. See the LICENSE file for details.
š Support
- GitHub Issues: Report bugs or request features
- Documentation: FHEVM Docs
- Community: Zama Discord
Built with ā¤ļø by the Zama team
Loading...
