This repository contains an implementation of ERC-5564 compliant stealth addresses for the Polygon network. It is designed to enhance user privacy by facilitating non-interactive and private transactions.
The project is organized into the following directories:
foundryContracts
: Contains Solidity smart contracts and Foundry scripts for the Ethereum smart contract development environment.Frontend
: Houses the SvelteKit application code for the user interface.PythonTestingLogic
: Includes Jupyter notebooks (test.ipynb
andtest2.ipynb
) for Python-based testing and interaction with the smart contracts.
- Node.js
- Foundry
- Python 3 with Jupyter Notebook or Jupyter Lab
git clone [REPOSITORY_URL]
Navigate to the frontend directory and install the required packages:
cd Frontend
npm install
Compile the smart contracts using Foundry:
cd ../foundryContracts
forge build
Execute Foundry tests:
forge test
Launch the Python Jupyter notebooks:
cd ../PythonTestingLogic
jupyter notebook test.ipynb
To launch the SvelteKit application:
cd ../Frontend
npm run dev
Visit http://localhost:3000
in your browser to interact with the frontend application.
Use Foundry's forge
and cast
tools or the frontend application to interact with the deployed smart contracts on the Polygon network.
Contributions are very welcome. To contribute:
- Fork the repository.
- Create a feature branch (
git checkout -b feature/yourFeature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/yourFeature
). - Create a new Pull Request.
This project is open-source and available under the MIT License.
This project was inspired by the ERC-5564 proposal and is an effort to provide enhanced privacy features to users of the Polygon network.