Skip to content

silvercents demo#9

Open
sameezy667 wants to merge 2 commits intoBetterMoneyLabs:masterfrom
sameezy667:sameezy667/silvercents-demo
Open

silvercents demo#9
sameezy667 wants to merge 2 commits intoBetterMoneyLabs:masterfrom
sameezy667:sameezy667/silvercents-demo

Conversation

@sameezy667
Copy link
Copy Markdown

Overview

Adds a complete SilverCents demo for Basis: a silver-backed offchain-cash demonstration (dimes & quarters).
Provides a CLI module, interactive demo, balance/issue/redeem commands, and full documentation + quickstart.
What I changed

silvercents.rs — new CLI module (issue/redeem/balance/info/demo)
mod.rs — register silvercents command
main.rs — wire silvercents into CLI dispatch
SILVERCENTS_DEMO.md — comprehensive design, usage, and security notes
SILVERCENTS_QUICKSTART.md — 5-minute quick start guide
Why

Implements the requested demo of Basis-backed SilverCents (physical silver ↔ on-chain tokens) so maintainers and contributors can try issuance and redemption flows end-to-end.
Demonstrates offchain efficiency, maturation rules (1 week), and how vendors/customers interact with the tracker.
How to test

Build project:
Start tracker server:
Run interactive demo:
Issue a note (as vendor) and check balances:
Redeem (as customer):
Notes & next steps

This is a proof-of-concept demo. Real-world deployment should include audits, optional escrow policies for physical coin custody, and integration with vendor redemption UX (QR codes / receipts).
Suggested follow-ups: automated tests for SilverCents flows, QR/receipt generation, and optional on-chain token mapping for serialized SilverCents tokens

- Add silvercents.rs module with complete CLI implementation
- Implement issue/redeem commands for silver-backed notes
- Add denomination support: Silver Dimes (1 ERG) and Quarters (2.5 ERG)
- Show balance with detailed breakdown by vendor/customer
- Create interactive demo showing complete transaction flow
- Add comprehensive SILVERCENTS_DEMO.md documentation
- Map constitutional silver coins (1946-1964) to ERG values
- Calculate silver content in troy ounces (0.0723 oz per dime)
- Integrate with existing Basis Tracker API
- Support vendor-customer credit relationships
- Demonstrate offchain efficiency (zero fees) with on-chain settlement
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.

1 participant