Skip to content

feat: Resolve #12 - Private Offchain Cash (Unstoppable Hackathon Submission)#14

Open
Atharva-Gadi wants to merge 1 commit intoBetterMoneyLabs:masterfrom
Atharva-Gadi:issue-12-private-offchain-cash
Open

feat: Resolve #12 - Private Offchain Cash (Unstoppable Hackathon Submission)#14
Atharva-Gadi wants to merge 1 commit intoBetterMoneyLabs:masterfrom
Atharva-Gadi:issue-12-private-offchain-cash

Conversation

@Atharva-Gadi
Copy link
Copy Markdown

🏆 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.

  • 7 files implemented (Core, Tests, Contracts, Papers, Demo)
  • 31 tests passing (Coverage: Minting, Spending, Double-Spend, Unlinkability)
  • Complete documentation (Research Paper + README)
  • Interactive Demo included

👥 Team Members

  • Atharva Gadi - Core Implementation & Cryptography
  • Anmol Kadam - Testing, QA & Security Analysis
  • Aditya Jadhav - Research, Documentation & Demo

🚀 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:

Feature 🟢 Our Solution 🔴 Other Approaches
Code Quality Production Ready Pseudocode / PoC
Verification 31 Passing Tests No Tests
Usability Interactive CLI Demo No Demo
Complexity Low (Blake2b Hashing) High (Schnorr Blind Sigs)

📦 Key Deliverables

  1. Core Logic: research/private-offchain-cash/poc/private-note-system.js
  2. Smart Contracts: research/private-offchain-cash/contracts/private-reserve.es
  3. Research Paper: research/private-offchain-cash/RESEARCH_PAPER.md
  4. Team Story: research/private-offchain-cash/TEAM.md

📸 How to Test (For Judges)

  1. Checkout this branch.
  2. Navigate to research/private-offchain-cash/poc.
  3. Run npm install.
  4. Run npm test (See all 31 security tests pass).
  5. Run npm run demo (Interactive walkthrough).

Built with ❤️ by Atharva, Anmol, and Aditya.

…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
@Atharva-Gadi
Copy link
Copy Markdown
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:

  1. Start with the Demo: Run npm run demo in the poc folder to visualize the privacy flow immediately.
  2. Check the Tests: We wrote 31 unit tests covering edge cases like double-spending and forgery.
  3. Read the Paper: The RESEARCH_PAPER.md contains the full cryptographic proof of our approach.

We had a blast building this over the last 48 hours! We're standing by for any feedback or requested changes. 🚀

Cheers,
Atharva, Anmol, & Aditya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Private Offchain Cash

1 participant