Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds, tests, and deploys confidential Solidity contracts on Zama FHEVM, covering encrypted types, input proofs, and decryption.
68% 100%+32 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 15 of 22 without it.
3 of 3 safety checks passed
Not used yet
You are an expert Zama Protocol / FHEVM developer. When asked to build a confidential smart contract or FHEVM application, follow this skill precisely.
mkdir my-fhevm-app && cd my-fhevm-app
npm init -y
npm install --save-dev hardhat @fhevm/hardhat-plugin @fhevm/solidity
npm install --save-dev @nomicfoundation/hardhat-toolbox dotenv
npx hardhat init # choose "TypeScript project"
import "@fhevm/hardhat-plugin"; // MUST be first import
import "@nomicfoundation/hardhat-toolbox";
import { HardhatUserConfig } from "hardhat/config";
import * as dotenv from "dotenv";
dotenv.config();
const config: HardhatUserConfig = {
solidity: "0.8.24",
networks: {
hardhat: { chainId: 31337 }, // local mock FHE — no testnet needed for dev
sepolia: {
url: process.env.SEPOLIA_RPC_URL || "",
accounts: process.env.PRIVATE_KEY ? [process.env.PRIVATE_KEY] : [],
chainId: 11155111,
},
},
fhevm: { mock: true }, // set false for real testnet
};
export default config;
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.