SilverCents Demo: Silver-Backed Offchain Cash#6
Open
Ayush090207 wants to merge 2 commits intoBetterMoneyLabs:masterfrom
Open
SilverCents Demo: Silver-Backed Offchain Cash#6Ayush090207 wants to merge 2 commits intoBetterMoneyLabs:masterfrom
Ayush090207 wants to merge 2 commits intoBetterMoneyLabs:masterfrom
Conversation
Implements Token Reserves, Celaut Payment Module, and Wallet API. See pr_description.md for details.
Adds silvercents_demo.rs and updates README to address Issue BetterMoneyLabs#2.
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.
SilverCents Demo: Silver-Backed Offchain Cash
We're Team Neuronest participating in the Unstoappable Hackathon LNMIIT 2025, and we've implemented a complete SilverCents demo as part of our contribution.
Team Members:
Himanshu Jasoriya
Aditya Gautam
Ayush Sharma
Summary
This PR implements the SilverCents demo, a real-world use case for the Basis Protocol where offchain cash is backed by on-chain tokenized silver (DexySilver) and redeemable for physical coins.
Issue: #2 - SilverCents demo implementation Type: Feature + Demo + Infrastructure Difficulty: Medium
Problem Statement
The Basis protocol required a practical demonstration of:
Solution: SilverCents Rust Implementation
Unlike shell-script prototypes, this PR implements SilverCents using the production-grade Rust backend.
Key Features
1. Silver-Backed Reserves ✅
Thinking beyond ERG, we upgraded
basis_storeto track generic tokens.ergo_scannerautomatically parses token registers.2. Issuance & Redemption CLI ✅
Implemented in
crates/integration_tests/examples/silvercents_demo.rs.
3. Logic-Verified Payments ✅
Powered by the new
celaut_paymentkernel.Demo Output (from
cargo run --example silvercents_demo)Changes Made
basis_store: Added Generic Token Parsing.celaut_payment: Added Credit Limit Logic.basis_server: Added Wallet API endpoints.How to Test
Run the full demonstration scenario: