Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miner design #195

Open
ankushdharkar opened this issue Mar 28, 2021 · 1 comment
Open

Miner design #195

ankushdharkar opened this issue Mar 28, 2021 · 1 comment
Assignees

Comments

@ankushdharkar
Copy link
Contributor

ankushdharkar commented Mar 28, 2021

Introduction

  • Minting is a game.
  • Real Dev Squad [members] are qualified to play.
  • Members must have currency to play.
    • Available currencies are Dinero and Neelam.
    • In future, other currencies may be introduced.
  • Members earn currency by contributing to open source projects in Real Dev Squad.
    • Refer [rules to earn currency].
  • Members may invest in [stocks], purchage goods, [mint] currency through mining.
    • How to [invest in stocks]?
    • How to [purchase goods] in shopping cart?
  • Members may purchase miners to mint currencies.
    • How to [purchase miners]?
  • A miner is a machine which scrap ore
  • Each miner has different efficiency
    • Example of miner efficiency
      • Miner-1 scraps 1 gold coin for each 12 hours
      • Miner-2 scraps 2 silver coins for each 6 hours
      • and so on
    • [Refer] complete set of Miners and its efficiency
  • Each miner cost will vary based on its efficiency
  • Members can launch miners to scrap ore

Miner efficiency matrix

Miner-1

Name Value
Name: Gold Thrust
Max Scraping capacity: 1 gold coin / 24 hours
Cost: 10000 Dinero
Annual Maintenance Contract: 500 Dinero
Life span: 10000 hours
Efficiency: value
Upto 5 hours: 100%
next 3 hours: 80%
next 2 hours: 60%
Over heat: After 10 hours
next 2 hours: 20%
Repair cost: 100 dineros
Burn out: After 12 hours
Repair cost: Replace

Miner-2

Name Value
Name: Silver Burst
Max Scraping capacity: 1 silver coin / 24 hours
Cost: 5000 Dinero
Annual Maintenance Contract: 150 Dinero
Life span: 15000 hours
Efficiency : value
Upto 5 hours: 100%
next 3 hours: 80%
next 2 hours: 60%
Over heat: After 10 hours
next 2 hours: 20%
Repair cost: 100 dineros
Burn out: After 12 hours
Repair cost: Replace

Application Program Interface

/users/miners/add?user=<userId>&payload=<minerDdata>
/users/miners/list?user=<userId>
/users/miners/list?user=<userId>&status=<active|repair|destroyed>
/users/miners/update?user=<userId>&miner=<minerId>&payload=<{currency:'neelam', quantity:20}>

/miners/add
/miners/update
/miners/list

/mining?operate=<start|stop|pause>&payload=<TransactionData>
@rajakvk
Copy link

rajakvk commented Apr 13, 2021

Minting Screen Flow

Home page => Login => User Dashboard
User Dashboard => Miner Market

User Dashboard

Visible elements

  • List of owned Miners

Features:

  1. Start, Restart, Pause individual miner
  2. Add Miner (redirect to [Miner Market])

Miner Market

A. For User
Screen Flow
Miner List view => Miner detailed view

Visible elements

  1. List of miners available to purchase

Features

  1. Sort
  2. Filter
  3. Purchase

B. For Admin
Screen flow
TBD
Visible elements
TBD

Features

  1. Add miner
  2. Revoke miner
  3. Offers
  4. Promotions
  5. Campaigns

Miner Pit Shop

  1. Job card
  2. Repair Estimate
  3. Invoice
  4. Delivery Challan

@ankushdharkar for review

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

No branches or pull requests

2 participants