Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0xChqrles authored Aug 28, 2024
1 parent acc9ac0 commit 0041830
Showing 1 changed file with 38 additions and 12 deletions.
50 changes: 38 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,44 @@ The concept was initially conceived and developed by [ZKP2P](https://zkp2p.xyz)

## Roadmap

### Milestone 1 - Basic Proving Flow

* basic flow
* [ ] Alice deposits 10 USDC to Escrow contract
* [ ] client establish MPC TLS connection with the Notary node
* [ ] client (Alice) generates dummy proof about account ownership with Circom on emulated Revolut data
* [ ] client (Bob) generates dummy proof about account ownership with Circom on emulated Revolut data
* [ ] client (Bob) generates dummy proof about transfer of funds with Circom on emulated Revolut data
* [ ] Notary node signs the proof generated by the client (Bob)
* [ ] client (Bob) receives the signed proof and calls the [Groth16 verifier](https://github.com/keep-starknet-strange/garaga/blob/main/src/cairo/src/groth16.cairo), passing the proof as calldata
* [ ] the TLS contract verifies the Notary node's signature and the correctness of the client (Bob) proof
* [ ] the Bob claims Alice's funds from the Escrow contract
### Milestone 01 - E2E flow without data verification
Tasks:

- [ ] extension mockup
- [ ] client mockup
- [ ] extension UI
- [ ] client swap page UI
- [ ] client wallet mgmt UI
- [ ] client registation page UI
- [ ] relevant data detection from extension
- [ ] extension/client connection
- [ ] onchain registration
- [ ] onchain escrow

### Milestone 02 - Offchain notarization and SNARK generation
Tasks:

- [ ] Notary mgmt UI in extension
- [ ] 2PC-TLS with notary mgmt
- [ ] Prover commitment generation
- [ ] generation of the verification zk-SNARK

### Milestone 03 - Onchain verification
Tasks:

- [ ] zk-SNARK (groth16) verification with Garaga
- [ ] escrow assertions based on previous verification

### Milestone 04 - Liquidity mgmt improved
Tasks:

- [ ] Liquidity lock/unlock implementation to avoid onramp collusions
- [ ] Allow better granularity
- [ ] Liquidity mgmt UI in client
- [ ] Onchain Liquidity mgmt implementation

### Milestone 05 - Notaries decentralisation
DVM could be an interesting solution to achieve this goal

## Flowchart 🎡

Expand Down

0 comments on commit 0041830

Please sign in to comment.