Skip to content

aderugy/EthGlobal-ASFTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zkFT

zkFT allows you to deploy and deposit funds on a Safe{CORE} anonymously. There is no direct link between the wallet that made the deposit and the deployed safe.

Setup

Requirements

  • Install yarn
  • 0.02 xDai on the API's wallet

API

  • Add the API's wallet private key in /zkft-api/.env
  • Run the script /server.sh
  • The server now listens on port 3001

Client

  • Run the script /client.sh
  • If your server's address is not localhost:3001
    • Open /zkft-webapp-offchain/src/app/page.tsx
    • Replace the URL by http[s]://HOST:PORT/api/v1/verify/new
  • Your client is running at https://localhost:3000/

The project

The Proof of Concept

The user has to make a deposit on our smart contract. The funds are then periodically moved to our service's wallet, on our server (offchain, could be moved onchain later). We can then use Sismo to monitor the deposits made on the Smart contract and allow the user to generate zk-proofs that he made a deposit on our service. With this proof, the server can deploy the Safe smart wallet and add the user's funds to it.

The missing part of the Proof of Concept

We are looking to implement a Safe plugin that would allow us to take over the Safe smart wallet using a proof that we own it. Therefore, we could throw away the Safe owner's server side and the only way to interact with the Safe would be the ZKP.

Team

  • Arthur Goullet de Rugy
  • Michael Rousseau
  • Baptiste Entat-Pantagène

Created at

ETHGLOBAL PARIS 2023

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors