Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoC LockZKP #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,14 @@ Inspired by https://www.joinleelo.com/blog/how-we-came-up-with-the-name-leelo </
**Completed by**: Aditya Saravana </br>
**Github Repo**: [github.com/adityasaravana/Pitchpin](https://github.com/adityasaravana/Pitchpin)<br>
**Website Link**: <a href="https://adityasaravana.github.io/pitchpin-site/">Pitchpin</a>

### LockZKP

**Bounty Prompt:** A PoC smart lock contract to mutually authenticate the owner, the
smartlock and the guest. This project is unique in the sense that it uses a
challenge-response protocol along with Owner and Guest proofs to make it
decentralized while allowing for the smartlock to be offline and not having to run a
blockchain node or client. </br>
**Completed by** [RohanJacin](https://github.com/rohanjacin) </br>
**Demo Video:** [PoC](https://drive.google.com/file/d/1xOIctzFMxGwSUTTuY8qSWJCDLykJg3bS/view?usp=drive_link) </br>
**Github Repo:** [lockcontractZKP](https://github.com/rohanjacin/lockcontractZKP) </br>
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,3 +405,12 @@ Ads bring in surprisingly low revenue -- I hope that the bounty makes it worth y
- Edit: Just discovered https://wrapeth.com/, existed for 2+ years, and is open source. This bounty is no longer offered!
- ~~Add a nice frontend to https://github.com/nulven/zk-message-board, and build a proof-of-concept anonymous group posting app powered by zero-knowledge proofs.~~
- Edit: Done by https://heyanon.xyz.
- **LockZKP**: A PoC smart lock contract to mutually authenticate the owner, the
smartlock and the guest. This project is unique in the sense that it uses a
challenge-response protocol along with Owner and Guest proofs to make it
decentralized while allowing for the smartlock to be offline and not having to run a
blockchain node or client. The smart contract with guest/owner registration, guest room bidding, guest auth, owner auth and lock auth. The backend nodejs challenge-response protocol uses Kobiltz’s encoding over elliptic curve points.
The owner proving happens in the cicrom/groth16 proving system. Integrates
[semaphore-protocol](https://github.com/semaphore-protocol/semaphore) for family members or friends to cryptographically prove identity to skip the auction phase of the authentication process. Also integrated [Waku p2p protocol](https://github.com/waku-org/js-waku) to establish a private communication channel between the Owner and Guest post authentication. The final step of shared key establishment between the Guest and the Lock by having the Guest Pair his/her phone by tapping it to the Lock (NFC communication for security). As a bonus the Lock also generates a 8 digit PIN
(HOTP) for the Guest as a backup manual key.
- DONE: This is done at [LockZKP](https://github.com/rohanjacin/lockcontractZKP).