Files
pezkuwi-wallet-android/feature-assets
pezkuwichain d4da42c07d feat: add Mining Simulation card to fill empty space in Pezkuwi Trust Score card
Cosmetic, client-side-only preview of a trust-score-weighted PEZ emission
share, meant to incentivize referral usage (higher trust score -> visibly
faster mining). Not tied to any real distribution mechanism or backend.

- MiningSimulationFormula: pure calc. Rate per minute = (92.5M PEZ / 43200
  min era) * (trustScore / 500,000 reference total) - trust score is a
  direct multiplier so zero trust score always yields zero rate. Diamonds
  only accrue while a 24h session is active.
- MiningSimulationRepository: local-only persistence via the existing
  Preferences wrapper (same pattern as BannerVisibilityRepository), keyed
  per accountId. Tapping the square freezes the live total as the new base
  and starts a fresh 24h session - never resets progress on tap. A full
  43200-minute era rolling over resets the total to 0 (that era's pool is
  considered distributed) independently of session taps.
- UI: square button in the dashboard card's previously-empty right column,
  red when inactive (needs a tap), gold (#FDB813, matching the existing
  Trust Score color) while actively mining. Small Telegram icon opens
  https://t.me/DKSKurdistanBot via the existing Browserable mixin.
2026-07-18 10:00:24 -07:00
..