passportxyz / passport

Passport allows users to prove their identity through a secure, decentralized UI
Other
994 stars 461 forks source link

Spike: ARB Stylus #3042

Open Jkd-eth opened 2 weeks ago

Jkd-eth commented 2 weeks ago

User Story:

As the Passport Product team We want to understand what is feasible with ARB Stylus So that we can apply for a grant to expedite the work

Acceptance Criteria

GIVEN 2 days to research WHEN we are able to investigate and play with Stylus THEN we can determine if it makes sense to apply for a grant

Let's spend up to 2 days researching ARB Stylus

Outcome: 1 or more features that we can think we can build that will further Passport and we can use to apply for a Stylus grant

Here are some resources:

Ideas:

Product & Design Links:

#### Tech Details: #### Open Questions: #### Notes/Assumptions:
tim-schultz commented 6 days ago

@Jkd-eth We had a great discussion about possible use cases and came up with the following ideas:

Claiming stamps across accounts:

We discussed a way to allow users to claim stamps across accounts, write them on chain, then use then prove ownership anonymously from any wallet via smart contract calls. The idea very closely follows the architecture of Tornado Cash, but instead of depositing/withdrawing tokens you would be proving credentials.

The big benefit would be gas costs. It looks like TC deposits are quite expensive and costs should reduce dramatically on stylus

The downside here is that we would just qualify for the open applications track.

VC/Signature Verification Utility

We all agreed that this could be a good use case. But, after the meeting I found a number of utilities that Open Zeppelin created for stylus and ECDSA verification is one of them so doesn't look like this would end up adding much value