Files
Fuma Nama eea1b224a6 refactor(fhe): unify API - reveal() replaces getDecryptResult()
- Update to unified FHE decryption API
- Update dependencies to @luxfi/contracts
2025-12-31 21:11:35 -08:00

34 lines
740 B
TypeScript

// Plugins
import "@nomicfoundation/hardhat-toolbox";
import "@nomicfoundation/hardhat-foundry";
import "@luxfhe/hardhat-plugin";
import "@luxfhe/hardhat-network";
import "hardhat-deploy";
import { HardhatUserConfig } from "hardhat/config";
// Tasks
import "./tasks";
const config: HardhatUserConfig = {
solidity: {
version: "0.8.31",
settings: {
evmVersion: "cancun",
optimizer: {
enabled: true,
runs: 200,
},
},
},
paths: {
sources: "./contracts",
tests: "./test",
cache: "./cache",
artifacts: "./artifacts",
},
// Optional: defaultNetwork is already being set to "localluxfhe" by @luxfhe/hardhat-plugin
defaultNetwork: "localluxfhe",
};
export default config;