You are viewing a single comment's thread from:

RE: I just spent like 4 or more hours trying to calculate the value of a vote in Hive/HBD... (I still don't know how pls send halp)

in GEMS3 years ago

OMG I can't! I have been trying since I joined years ago hahah.

I know it has something to do with the available rewards pool shares.

If you manage to calculate it please tell me :'C it's the main thing stopping me from making a Hive frontend! I already have most of the rest.

Sort:  

I actually implemented it, but in Python. Do you want me to rewrite it in JavaScript and share with you?

Yes, please do that! It will be super super useful

https://peakd.com/hive-139531/@mciszczon/calculating-the-usd-vote-value

Hey, I wrote a post where I included the code and also added a few words of comment. Hope the code will be useful for you! If you need any help just let me know!