Hardhat
This tutorial covers the essential steps to quickly write and deploy a confidential ERC20 smart contract using the fhEVM Hardhat template.
Hardhat is a flexible, extensible development environment for Ethereum, providing a robust toolkit for compiling, testing, and deploying smart contracts. With Zama’s fhEVM integration, you can develop confidential ERC20 contracts locally and then seamlessly deploy them to a real fhEVM node.
In this tutorial, you will learn to:
Set up a Hardhat project with the fhEVM Hardhat Template.
Write confidential contracts utilizing encrypted data types.
Test your contracts in mocked mode (for rapid feedback and coverage).
Deploy your confidential ERC20 contract to the Sepolia test network.
Interact with your deployed contract, including performing encrypted transfers.
By following these steps, you’ll get familiar with the complete development workflow using Hardhat, and be able to build, test and deploy confidential ERC20 smart contracts on Sepolia testnet.
Last updated
Was this helpful?