-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Onboarding local dev fixes Fix passport-server:dev concurrently concurrently Ethereum Group PCD Add test more test tests progress Ethereum Address Ownership example in add-pcd.tsx small fix switch to merkleproof eth group pcd in add-pcd smol fix small rename Fix ethereum ownership tests and ethereum group ownership tests remove useNativeBigInt address PR comments address pr comments
- Loading branch information
Showing
30 changed files
with
1,403 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+47.1 MB
apps/passport-server/public/spartan-ecdsa-artifacts/addr_membership.circuit
Binary file not shown.
Binary file added
BIN
+1.03 MB
apps/passport-server/public/spartan-ecdsa-artifacts/addr_membership.wasm
Binary file not shown.
Binary file added
BIN
+4.82 MB
apps/passport-server/public/spartan-ecdsa-artifacts/pubkey_membership.circuit
Binary file not shown.
Binary file added
BIN
+249 KB
apps/passport-server/public/spartan-ecdsa-artifacts/pubkey_membership.wasm
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
extends: ["@pcd/eslint-config-custom"], | ||
root: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.js | ||
*.d.ts | ||
*.ts.map | ||
!.eslintrc.js | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# @pcd/ethereum-group-pcd | ||
|
||
## 0.0.1 | ||
|
||
### Patch Changes | ||
|
||
- Hello world |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# `@pcd/ethereum-group-pcd` | ||
|
||
PCD which proves that a particular Semaphore Identity owns a particular ethereum address that is part of an address merkle set or public key merkle set, without revealing the ethereum address. | ||
|
||
It uses an optimized group ecdsa zk [circuit](https://github.com/personaelabs/spartan-ecdsa) written by Personae Labs. | ||
|
||
By pre-computing a set of Ethereum addresses that satisfy a particular property, one can prove that property about themselves without revealing their exact address. For example, proving that one: | ||
|
||
- owns a NounDao (punk, or etc) NFT at a particular block | ||
- made a transaction before 2020 | ||
- made at least 100 transactions | ||
- owns at least 10 eth | ||
- used tornado cash when it was cool | ||
- has been validated by proof-of-humanity | ||
- participated in a conference that issued a POAP | ||
|
||
If you always use one address, proving multiple properties about yourself will narrow the anonymity set. However, if you use multiple addresses, you can own multiple PCDs without narrowing the anonymity set. |
Oops, something went wrong.