📄️ Overview
In this guide, we'll be creating a shielded ERC20 token using Solidity. Our token will be unique in that it will offer encrypted token balances, thereby enhancing privacy for token holders.
📄️ Setting Up
Dependencies
📄️ Exploring the Template
The directory resembles a standard hardhat project. If we look into the contracts folder,
📄️ Writing the Contract
Let's get started with writing our first FHE powered contract.
📄️ Adding View Functions
Adding Encrypted Balance Retrieval
📄️ Deploying
Now that we have our completed WrappingERC20 token, the next step is to see if our code actually works!
📄️ Testing on Fhenix
During this phase, we will focus on deploying the contract, wrapping tokens, and executing transactions using the FhenixJS library and Hardhat.