feat: Add Private Basis (Chaumian E-Cash) Proof of Concept (issue-12)#18
Open
Ayush090207 wants to merge 1 commit intoBetterMoneyLabs:masterfrom
Open
feat: Add Private Basis (Chaumian E-Cash) Proof of Concept (issue-12)#18Ayush090207 wants to merge 1 commit intoBetterMoneyLabs:masterfrom
Ayush090207 wants to merge 1 commit intoBetterMoneyLabs:masterfrom
Conversation
This commit introduces a privacy-enhanced variant of the Basis off-chain cash system using Chaumian blind signature techniques for unlinkable bearer notes. ## New Components ### Documentation (docs/) - basis_current_design.md: Technical analysis of transparent Basis design - basis_private_chaumian_poc.md: Complete protocol specification for private variant - basis_private_summary_for_pr.md: PR summary with privacy analysis and limitations ### ErgoScript Contract (contracts/offchain/) - basis_private_reserve.es: Modified reserve contract with nullifier-based redemption - basis_private_reserve.md: Technical documentation for the contract ### Rust Tracker Implementation (basis-private-tracker/) - Complete Rust implementation with blind signature issuance - Nullifier-based double-spend prevention - 11 comprehensive tests (unit + integration) - CLI demo (tracker_poc.rs) ### Updated Files - README.md: Added section describing private Basis PoC ## Privacy Features ✅ Withdrawal-Redemption Unlinkability: Blind signatures prevent linking ✅ Off-Chain Transfer Privacy: Notes transferable without tracker visibility ✅ User Anonymity: Pseudonymous with rotatable keys ✅ Double-Spend Prevention: Nullifier AVL tree enforcement ✅ Proof-of-Reserves: Verifiable on-chain backing ## Known Limitations (Documented)⚠️ On-chain timing analysis possible (mitigated by batching)⚠️ Denomination linkability (use standard denominations)⚠️ Placeholder cryptography (production needs secp256k1 library)⚠️ No change mechanism in PoC (future: split protocol)⚠️ Windows build requires MSVC tools (compiles on Linux/macOS) ## Testing All tests pass on Linux/macOS: - Unit tests: 4 (types.rs) - Integration tests: 7 (tracker.rs, lib.rs) - Demo: tracker_poc binary ## Next Steps - Cryptographic security review - ErgoScript testnet deployment - Production cryptography implementation - Change protocol design See docs/basis_private_summary_for_pr.md for complete analysis. Note: This is a PROOF OF CONCEPT for research and demonstration. Requires cryptographic audit before production use.
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.
We're Team Neuronest participating in the Unstoappable Hackathon LNMIIT 2025
Team Members:
Himanshu Jasoriya
Aditya Gautam
Ayush Sharma
This commit introduces a privacy-enhanced variant of the Basis off-chain cash system using Chaumian blind signature techniques for unlinkable bearer notes.
Issue: #12 - Private Offchain Cash
New Components
Documentation (docs/)
ErgoScript Contract (contracts/offchain/)
Rust Tracker Implementation (basis-private-tracker/)
Updated Files
Privacy Features
✅ Withdrawal-Redemption Unlinkability: Blind signatures prevent linking
✅ Off-Chain Transfer Privacy: Notes transferable without tracker visibility
✅ User Anonymity: Pseudonymous with rotatable keys
✅ Double-Spend Prevention: Nullifier AVL tree enforcement
✅ Proof-of-Reserves: Verifiable on-chain backing
Known Limitations (Documented)
Testing
All tests pass on Linux/macOS:
Next Steps
See docs/basis_private_summary_for_pr.md for complete analysis.
Note: This is a PROOF OF CONCEPT for research and demonstration. Requires cryptographic audit before production use.