feat: Resolve #12 - Private Offchain Cash (Unstoppable Hackathon Submission)#14
Open
Atharva-Gadi wants to merge 1 commit intoBetterMoneyLabs:masterfrom
Open
Conversation
…ubmission) Implements Commitment-Nullifier scheme for privacy. - Adds comprehensive test suite (31 tests passing). - Adds interactive demo and research paper. - Complete ErgoScript contract for Ergo blockchain. - Full cryptographic analysis and security proofs. TEAM: Atharva Gadi (Core), Anmol Kadam (QA), Aditya Jadhav (Research). EVENT: Unstoppable Hackathon @ LNMIIT 2025. Deliverables: - Proof-of-Concept implementation in JavaScript (323 lines) - Test suite with 31 passing assertions (461 lines) - Interactive demo with colored output (266 lines) - ErgoScript contracts (197 lines) - Academic research paper (16.5 KB) - Comprehensive documentation Security Properties Verified: Unlinkability between minting and spending Unforgeability - cannot create notes without backing Double-spend prevention via nullifier set No trusted setup required
Author
|
Hello maintainers! 👋 Team LNMIIT (Atharva, Anmol, and Aditya) here from the Unstoppable Hackathon. We have successfully implemented the full Private Offchain Cash system as requested in #12. We focused heavily on testing and usability to ensure this isn't just a prototype, but something ready for integration. Quick Review Tips:
We had a blast building this over the last 48 hours! We're standing by for any feedback or requested changes. 🚀 Cheers, |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🏆 Unstoppable Hackathon Submission - Team LNMIIT
🔒 Private Offchain Cash Implementation
Resolves #12
🏁 Submission Status: COMPLETE
We are proud to present our final submission for the Unstoppable Hackathon @ LNMIIT 2025.
👥 Team Members
🚀 Summary of Work
This PR implements a Commitment-Nullifier scheme to solve the privacy leakage in ChainCash. Unlike the signature-chain model, this ensures that the Reserve cannot link a minting event to a spending event.
⚔️ Competitive Analysis
We chose a Commitment-Nullifier approach over Blind Signatures because it provides better performance and security for this use case:
📦 Key Deliverables
research/private-offchain-cash/poc/private-note-system.jsresearch/private-offchain-cash/contracts/private-reserve.esresearch/private-offchain-cash/RESEARCH_PAPER.mdresearch/private-offchain-cash/TEAM.md📸 How to Test (For Judges)
research/private-offchain-cash/poc.npm install.npm test(See all 31 security tests pass).npm run demo(Interactive walkthrough).Built with ❤️ by Atharva, Anmol, and Aditya.