You are viewing a single comment's thread from:

RE: Over 250,000 Steemit Accounts...so far

in #data7 years ago

I've tried a number of different attempts to try and play around with the Steem blockchain and so far I've been unsuccessful. For anyone thinking about making a tutorial, what I think would be a huge help to a lot of people would be for someone to make a tutorial that any newbie could follow including all steps so that people didn't get confused by things like do I need the "64-Bit (x86) Installer" or the "64-Bit (POWER8) Installer" from Anaconda and also assume the newbie has never used a command like wget before and that they have no clue how to install pip or make. If I could plan the ultimate tutorial it would be someone taking a video that shows their computer screen, keyboard, and mouse and then going through the entire process from the very beginning all the way to running simple examples with the Steem blockchain in a way that anyone can follow. As a good starting point I would suggest is to start filming from a VPS site like vultr.com and show how to fire the specific VPS server size with a specific distribution and version that you are using in the tutorial and then going through all the steps and all the commands explaining things like how to ssh into the VPS server, how to install everything you need with every detail shown and explained so people can so people can see and hear basic things like "I'm right clicking my mouse to paste" and other basic things like that. The tutorial I think would be great would be considered insultingly trivial by a serious programmer, but that is the kind of tutorial I think newbies could benefit most from.

Sort:  

I was able to get things working and to start experimenting with steem-python by going to vultr.com (there are lots of other VPS options too, and I just chose vultr because I already had an account with them) and then I deployed their smallest VPS server (1 cpu and 512MB memory) with selecting Ubuntu version 16.04 x64 which already comes with Python 3.5, and then I ran the following commands.

apt install python3-pip
pip3 install --upgrade pip
apt install python3-setuptools
apt install python3-dev
apt install libssl-dev
apt install build-essential
pip3 install -U steem

To start Python I ran the following command.

python3

This got me to where I saw the >>> prompt, and then I entered the following to test things out (e.g. get my sbd_balance and voting_power), but there are lots of other options you can see on http://steem.readthedocs.io/en/latest/steem.html.

from steem import Steem
s = Steem()
s.get_account('twodollars')['sbd_balance']
s.get_account('twodollars')['voting_power']
exit()

There is probably a better/easier way, but it helped me to start experimenting with things.

FYI, in case it saves any of you time, the procedure I outlined above no longer works with the latest version, and I haven't been able to get it to work, but if I do find I way to get it working then I plan to post an update here.

This post received a 4.6% upvote from @randowhale thanks to @twodollars! For more information, click here!