If Everyone Powered Up And Voted On The Same Post

in #steem6 years ago

So there you have it; if everyone powered up and voted on the same post, the total vote value at the time of writing is roughly $14000!

Obviously, this will increase with time as the value of STEEM:SBD increases and as the total supply of steem increases.

Bear in mind, this program will need modifying if the value of SBD moves away from the $1 mark again.

# -*- coding: utf-8 -*-
"""
Created on Sun Nov  4 00:00:48 2018

@author: sisygoboom
"""

from beem.steem import Steem
from beem.instance import set_shared_steem_instance
import requests

# declare nodes
nodes = [
        'https://api.steem.house',
        'https://api.steemit.com',
        'https://rpc.buildteam.io',
        'https://steemd.steemitdev.com',
        'https://steemd.steemitstage.com',
        'https://steemd.steemgigs.org'
        ]

# create steem instances
s = Steem(nodes)
set_shared_steem_instance(s)

# get steem data from coin market cap
cmc = requests.get('https://api.coinmarketcap.com/v2/ticker/1230/')
cmc_data = cmc.json()
steem_supply = cmc_data['data']['total_supply']
# power up all steem and calculate value of combined vote
sbd = s.sp_to_sbd(steem_supply)
    
print("$" + str(round(sbd,2)))
Sort:  

That would be crazy, too bad there are too many ghost accounts for this to ever work

Yeah, and back when steem was worth more, everyone's vote was worth up to 15x as much! Ah well, it's still worth dreaming about.

Hello! Your post has been resteemed and upvoted by @ilovecoding because we love coding! Keep up good work! Consider upvoting this comment to support the @ilovecoding and increase your future rewards! ^_^ Steem On!

Reply !stop to disable the comment. Thanks!

Hi, @sisygoboom!

You just got a 0.37% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63103.76
ETH 2556.80
USDT 1.00
SBD 2.82