privacy-scaling-explorations / acceleration-program

Accelerate Early Stage Programmable Cryptography Talents
100 stars 7 forks source link

Proposal: RSA GitHub Wallets POC #43

Open hcheng826 opened 8 months ago

hcheng826 commented 8 months ago

General Grant Proposal

Project Overview :page_facing_up:

Overview

Use the RSA signature that GitHub supports to generate off-chain zk proof from the commit message or pull request data, just like how zk email generate the proof from email payload. Use the zk proof to integrate with AA wallet and perform operations. The circom circuits supporting succinct RSA signature proof is already made by zk-email. We can also use their relayer to generate and submit proofs to the AA bundlers.

Project Details

Provide as much detail as possible about the project's expected final state.

Team :busts_in_silhouette:

Team members

Team Website

Team's experience

Team Code Repos

Development Roadmap :nut_and_bolt:

Overview

Milestone 1: Research and Design

Deliverables:

  1. Background Research: Conduct research on existing solutions and technologies related to off-chain zk proofs and GitHub GPG key signatures.
  2. System Design: Develop a detailed system design document outlining the architecture and components of the RSA GitHub Wallets PoC.
  3. Specification Write-up: Create a comprehensive specification document for the project, including technical details and requirements.

Milestone 2: Circuit Development

Deliverables:

  1. Circuit Implementation:
    • Develop and implement the circom circuit for verifying GitHub GPG key signatures.
    • Explore the implementation with halo2
  2. Testing: Create a test suite for the circuit to ensure its functionality and robustness.
  3. Documentation: Provide detailed documentation on the circuit design, implementation, and usage.

Milestone 3: Relayer Development

Deliverables:

  1. Relayer Implementation: Develop the relayer component to listen for commit events, generate zk proofs, and submit them to the AA bundler.
  2. GitHub Actions Integration: Experiment with integrating the relayer into GitHub Actions for automated execution.
  3. Testing and Documentation: Create a testing guide and documentation for the relayer.

Milestone 4: AA Wallet Setup

Deliverables:

  1. AA Wallet Configuration: Set up an Account Abstraction (AA) wallet to accept zk proofs and execute transactions based on the verified commit messages.
  2. Documentation: Provide detailed documentation on the AA wallet setup, configuration, and usage.

Milestone 5: Integration and Testing

Deliverables:

  1. End-to-End Testing: Conduct integration testing to ensure all components work together seamlessly.
  2. Bug Fixing: Address any issues or bugs identified during testing.
  3. Documentation: Update documentation to reflect the integration process and testing results.

Milestone 6: Finalization and Outreach

Deliverables:

  1. Summary Report: Compile a comprehensive summary of the project, highlighting key findings, challenges, and future directions.
  2. Blog Post: Write a blog post to share the project's outcomes, insights, and potential impact with the wider community.
  3. Code Repository: Ensure all code is well-documented, organized, and available in a public repository for community access and contribution.

Additional Information :heavy_plus_sign:

NOOMA-42 commented 8 months ago

I'm looking for a reviewer

ETHorHIL commented 7 months ago

Hey, I can take this.

hcheng826 commented 7 months ago

@ETHorHIL Thanks! do let me know if there's any feedback!

ETHorHIL commented 7 months ago

The proposal looks sensible. We can move on.

hcheng826 commented 7 months ago

@ETHorHIL I have the first draft for milestone 1 of background research and design here: https://hackmd.io/@THUxtt18Qeiwn2vtWvmVDg/H1B5WKbxC I read the guide Looks like I should wait for feedbacks or approval before moving on to the next milestone? Let me know if I can go ahead or there're any feedbacks. Thanks!

NOOMA-42 commented 7 months ago

@hcheng826 we'll proceed to another round of review by @mitsu1124, please kindly wait for further notice

@ETHorHIL I have the first draft for milestone 1 of background research and design here: https://hackmd.io/@THUxtt18Qeiwn2vtWvmVDg/H1B5WKbxC I read the guide Looks like I should wait for feedbacks or approval before moving on to the next milestone? Let me know if I can go ahead or there're any feedbacks. Thanks!