Implement EIP-7524 (PLUME Signatures)#3638
Implement EIP-7524 (PLUME Signatures)#3638orenyomtov wants to merge 1 commit intotahowallet:mainfrom
Conversation
|
Umm, this is really cool! @orenyomtov could we get some more context on what you want to support here first? |
|
in the last month, 3 more protocols have voiced a clear demand for this: gitcoin passport wants this feature asap so they can have nullifiers with eth addresses to avoid passport attestations involving ZK from being double-used [happy to link to the PM there or send a screenshot of a chat from him] as these zk apps and usecases hit mainnet, we are hoping wallets want to be part of upcoming ZK applications -- we have open convos with metamask, rabby, and ledger now as well as PRs in progress for all of them, and will open more convos in the coming months :) |
@mhluongo Not exactly sure by what you mean about what we want to 'support here first', but the idea is that we want Taho users to be able to generate PLUME signatures using existing wallets. This PR adds the cryptographic, RPC, and UI functionality to do so. This would let them subsequently generate the needed ZK proofs on applications of their choosing (gitcoin passport for instance is blocked on this problem for their zk attestations). |
|
What happens here when a user is using a Ledger? |
Hey! We have a specific PR available to Ledger devices as well right now, and are working on getting that approved as well in parallel. So we would simply call something like eth_getPlumeSignature on the Ledger, but we haven't added that yet because we haven't merged the Ledger PR yet. |
|
Closing as stale! Cool idea though. |
Explanation
We want Taho to be the first wallet to support private voting and private airdrops on Ethereum and other EVM chains.
This PR adds new
eth_getPlumeSignatureRPC method that implements a novel ECDSA nullifier scheme as described in EIP-7524.The
eth_getPlumeSignaturemethod takes in two parameters, a message and an address, then generates a deterministic signature (PLUME) and several other inputs. The plume can be used as a nullifier to prevent double-spending in an anonymity set. This capability unlocks novel on-chain behavior, such as private DAO voting, fair, non-doxxing airdrops, and more.Screenshot
Manual Testing Steps
After building and running Taho locally, enter this into the browser console
A confirmation screen should open up. After clicking "Sign", you will see the plume and other signals outputted into the console.
Discussion
Discord thread