bitshares / bitshares-ui

Fully featured Graphical User Interface / Reference Wallet for the BitShares Blockchain
https://wallet.bitshares.org
MIT License
518 stars 570 forks source link

[.5] Circulating Supply Tracker #890

Open kimchi-king opened 6 years ago

kimchi-king commented 6 years ago

Would it be possible to add a feature to the Explorer that tracks the real-time circulating supply of BTS as the amount of smartcoins are added or removed from the market?

btswolf commented 6 years ago

yes total locked BTS in the Explorer/Blockchain overview and sum of collateral on the corresponding asset pages.

startailcoon commented 6 years ago

@kimchi-king is this issue still searching for something that needs to be added to the app, outside what @btswolf mentions?

Please specify more exactly what you're looking for.

kimchi-king commented 6 years ago

@startailcoon I'm still waiting for this to be added.

I'm looking for a tracker to be added to the reference wallet explorer that keeps track of the actual circulating supply of BTS that aren't locked up as collateral for MPAs.

Right now, the explorer only shows the "Current Supply" but doesn't not take into account the amount of BTS that's locked up in smart contracts. I think this information is extremely important because as the amount of MPAs increase, the amount of circulating BTS should decrease which means that BTS becomes more scarce and should apply some upward pressure on the value of BTS.

I know the market value of each MPA is tracked individually, but it takes a long time to add up the total market caps for all MPAs and then do the math to guesstimate the amount of BTS locked up as collateral.

Please let me know if this makes sense.

startailcoon commented 6 years ago

I think this makes total sense.

Tasks

Together with all other blockchain data on the explorer section, besides amount of total supply, we should display this as well.

It need some additional code to the bitshares-core and relies on the completion of https://github.com/bitshares/bitshares-core/issues/1089

abitmore commented 6 years ago

I think we need a new API or a new data field in asset dynamic data object to implement this feature. Please submit a feature request to bitshares-core. Update: https://github.com/bitshares/bitshares-core/issues/1089

Can name the new data field "total_amount_in_collateral" or so.

Note: tracking this new data will negatively impact node performance, so best make it optional (this is a discussion for the bitshares-core repo though).

abitmore commented 6 years ago

@startailcoon I think the API won't be ready in bitshares-core until a release in August, perhaps even later.

startailcoon commented 6 years ago

Thanks @abitmore. I've put this task for future planning for Q4 in the meantime.

kimchi-king commented 6 years ago

@startailcoon @abitmore Thanks for looking into this guys. I really look forward to seeing this new feature.