Welcome to the Hands-on fhEVM guide! 🚀
This repository provides a step-by-step guide to setting up your own fhEVM network and deploying fhEVM smart contracts. Follow the instructions below to get started.
fhEVM (Fully Homomorphic Encryption Virtual Machine) enables encrypted computation on blockchain smart contracts. This guide walks you through the setup process, from network initialization to contract deployment and testing.
- Basics
- Architecture Overview
- Preparation
- Setting Up Network
- Compiling and Deploying
- Writing Smart Contracts
- Writing Contract Test Files
- Conclusion
Ensure you have the following installed:
- Node.js (>=20)
- Docker (>=24) with docker compose plugin
Clone the repository and install dependencies:
git clone https://github.com/airchains-network/hands-on-fhevm.git
cd hands-on-fhevm
npm install
Create an .env
file and configure the necessary environment variables:
cp .env.example .env
Follow the instructions in Setting Up Network to start the network, then proceed through the remaining documentation to learn how to deploy and interact with smart contracts.
We welcome contributions! To contribute:
- Fork the repository.
- Create a feature branch:
git checkout -b feature/feature-name/patch-${version}
- Commit your changes:
git commit -m "Description of changes"
- Push to your branch:
git push origin feature/feature-name/patch-${version}
- Open a Pull Request.
If you have any feedback or encounter any issues, feel free to:
- Open an issue in this repository.
- Reach out to us at [email protected].
This project is licensed under the MIT License.