create account

The most simple html page to access the steem blockchain ... and some explanations .... by artakan

View this thread on: hive.blogpeakd.comecency.com
· @artakan · (edited)
$88.38
The most simple html page to access the steem blockchain ... and some explanations ....
What you see below is the content of an html page. But what's amazing about it, is that with these few lines, you will be able to access the steem blockchain.

```<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>SteemJS</title>
</head>
<body>
<pre id="json"></pre>
<script src="http://my-steemit.com:8080/steem.min.js"></script>
<script>
    steem.getAccounts(['artakan'], function(err, response){
	    document.getElementById("json").innerHTML = JSON.stringify(response, undefined, 2);
    });
</script>

</body>
</html>
```
Dou you want to make the expermiment with me ?

Simply copy paste the code in the grey rectangle above.

Open a simple text editor (notepad will do), and paste the code inside. Save the file on your desktop, with the html extension. Double-click on it... and boom, you are connected to the steem blockchain, it's as easy as that ....

And if you are a beginner and that your are lost with my explanations you can have a look at my little video.
https://www.youtube.com/watch?v=fZ_yCjs8-Gg

Have fun !

There a whole lot more you can do. You will find the list of the functions you can call here
https://github.com/adcpm/steem/blob/master/lib/steem.js

And if you know a little bit more, you can just download the file steem.min.js locally, and you will not depend on anyone else ... (even make it point to your own node, but that's another story)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorartakan
permlinkthe-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations
categorytutorial
json_metadata{"tags":["tutorial","steem","hml","developper","craigrant"],"links":["https://www.youtube.com/watch?v=fZ_yCjs8-Gg"]}
created2016-08-02 20:56:42
last_update2016-08-03 18:43:12
depth0
children18
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value71.354 HBD
curator_payout_value17.027 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,401
author_reputation2,351,335,125,519
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id567,150
net_rshares26,208,993,784,664
author_curate_reward""
vote details (64)
@alniskobs ·
Keep up the great work @artakan 
 Upvoted 
👎  
properties (23)
authoralniskobs
permlinkthe-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations
categorytutorial
json_metadata""
created2016-08-02 20:57:15
last_update2016-08-02 20:57:15
depth1
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length42
author_reputation-395,587,580,242
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id567,157
net_rshares-4,491,518
author_curate_reward""
vote details (1)
@artakan ·
I have updated the site, it's down for the moment, still trying to figure out what is going on ....
properties (22)
authorartakan
permlinkre-artakan-the-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations-20160803t175312627z
categorytutorial
json_metadata{"tags":["tutorial"]}
created2016-08-03 17:53:12
last_update2016-08-03 17:53:12
depth1
children2
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length99
author_reputation2,351,335,125,519
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id585,529
net_rshares0
@jcweiss ·
Maybe host it somewhere else?
👍  
properties (23)
authorjcweiss
permlinkre-artakan-re-artakan-the-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations-20160803t182957895z
categorytutorial
json_metadata{"tags":["tutorial"]}
created2016-08-03 18:30:00
last_update2016-08-03 18:30:00
depth2
children1
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length29
author_reputation26,442,156,052
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id586,226
net_rshares5,848,089,889
author_curate_reward""
vote details (1)
@artakan ·
it's back, I am my own host, I was just updating things .... but you should download the file locally and you'll be fine ...
properties (22)
authorartakan
permlinkre-jcweiss-re-artakan-re-artakan-the-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations-20160803t184111199z
categorytutorial
json_metadata{"tags":["tutorial"]}
created2016-08-03 18:41:09
last_update2016-08-03 18:41:09
depth3
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length124
author_reputation2,351,335,125,519
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id586,408
net_rshares0
@catirabella ·
Keep up the great work @artakan 
 Upvoted 
👎  
properties (23)
authorcatirabella
permlinkthe-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations
categorytutorial
json_metadata""
created2016-08-02 21:01:03
last_update2016-08-02 21:01:03
depth1
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length42
author_reputation-570,787,074,969
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id567,232
net_rshares-4,735,663
author_curate_reward""
vote details (1)
@condra ·
$0.15
OK this is just PERFECT. The more people get involved with coding, and blockchain tech, the better for Steemit, and humanity in general. 
Uptucked.
👍  ,
properties (23)
authorcondra
permlinkre-artakan-the-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations-20160802t224749670z
categorytutorial
json_metadata{"tags":["tutorial"]}
created2016-08-02 22:47:33
last_update2016-08-02 22:47:33
depth1
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.116 HBD
curator_payout_value0.033 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length147
author_reputation56,189,611,335,832
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id569,252
net_rshares182,260,553,356
author_curate_reward""
vote details (2)
@crumaner ·
Upvoted
👍  
properties (23)
authorcrumaner
permlinkthe-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations
categorytutorial
json_metadata""
created2016-08-02 22:22:54
last_update2016-08-02 22:22:54
depth1
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7
author_reputation-832,613,042,101
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id568,729
net_rshares53,970,766
author_curate_reward""
vote details (1)
@cyntechtic ·
cool
👍  
properties (23)
authorcyntechtic
permlinkre-artakan-the-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations-20170626t113351603z
categorytutorial
json_metadata{"tags":["tutorial"],"app":"steemit/0.1"}
created2017-06-26 11:33:57
last_update2017-06-26 11:33:57
depth1
children0
last_payout2017-07-03 11:33:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4
author_reputation96,530,407,832
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id6,166,239
net_rshares1,906,735,009
author_curate_reward""
vote details (1)
@feeltheblade ·
Keep up the great work @artakan 
 Upvoted 
👎  
properties (23)
authorfeeltheblade
permlinkthe-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations
categorytutorial
json_metadata""
created2016-08-03 18:43:51
last_update2016-08-03 18:43:51
depth1
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length42
author_reputation-599,382,456,308
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id586,454
net_rshares-11,677,948
author_curate_reward""
vote details (1)
@internetguy ·
Just a note. The code above no longer works and the github link is also MIA. Would have been a nice post.
properties (22)
authorinternetguy
permlinkre-artakan-the-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations-20170702t102815083z
categorytutorial
json_metadata{"tags":["tutorial"],"app":"steemit/0.1"}
created2017-07-02 10:28:15
last_update2017-07-02 10:28:15
depth1
children0
last_payout2017-07-09 10:28:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length105
author_reputation618,116,167,756
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id6,995,747
net_rshares0
@isaac.asimov ·
Flesch Kincaid Grade Level
Hi! This post has a <a href="https://en.wikipedia.org/wiki/Flesch%E2%80%93Kincaid_readability_tests">Flesch-Kincaid</a> grade level of 5.7 and reading ease of 83%. This puts the writing level on par with Jane Austen and JK Rowling.
👎  
properties (23)
authorisaac.asimov
permlinkre-the-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations-20160802t205731
categorytutorial
json_metadata""
created2016-08-02 20:57:33
last_update2016-08-02 20:57:33
depth1
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length231
author_reputation-982,572,424,326
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id567,161
net_rshares-4,938,398
author_curate_reward""
vote details (1)
@jessejamesrock ·
Keep up the great work @artakan 
 Upvoted 
properties (22)
authorjessejamesrock
permlinkthe-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations
categorytutorial
json_metadata""
created2016-08-02 22:12:15
last_update2016-08-02 22:12:15
depth1
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length42
author_reputation-833,082,840,933
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id568,536
net_rshares0
@minion ·
It's cool of you that you included a video on how-to, It's way easier to follow.
👍  
properties (23)
authorminion
permlinkre-artakan-the-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations-20160802t225004693z
categorytutorial
json_metadata{"tags":["tutorial"]}
created2016-08-02 22:49:57
last_update2016-08-02 22:49:57
depth1
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length80
author_reputation3,133,996,004,573
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id569,284
net_rshares14,059,089,444
author_curate_reward""
vote details (1)
@praisenoone ·
Keep up the great work @artakan 
 Upvoted 
👎  
properties (23)
authorpraisenoone
permlinkthe-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations
categorytutorial
json_metadata""
created2016-08-02 21:13:36
last_update2016-08-02 21:13:36
depth1
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length42
author_reputation-617,269,645,256
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id567,499
net_rshares-4,439,067
author_curate_reward""
vote details (1)
@rickydevil ·
Nice @artakan 
 Shot you an Upvote :)
👎  
properties (23)
authorrickydevil
permlinkthe-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations
categorytutorial
json_metadata""
created2016-08-03 18:40:15
last_update2016-08-03 18:40:15
depth1
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length37
author_reputation-535,558,200,327
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id586,398
net_rshares-10,362,518
author_curate_reward""
vote details (1)
@sandwich ·
$0.02
Nice, this is way more accessible than existing libraries like `steem-rpc` ... Thanks!
👍  ,
properties (23)
authorsandwich
permlinkre-artakan-the-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations-20160803t031830583z
categorytutorial
json_metadata{"tags":["tutorial"]}
created2016-08-03 03:18:30
last_update2016-08-03 03:18:30
depth1
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.018 HBD
curator_payout_value0.002 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length86
author_reputation7,919,075,206,622
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id572,741
net_rshares27,688,056,207
author_curate_reward""
vote details (2)
@sunshinecrypto ·
$0.15
Commenting on for later use.  Thanks for the work!
👍  , ,
properties (23)
authorsunshinecrypto
permlinkre-artakan-the-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations-20160802t231515816z
categorytutorial
json_metadata{"tags":["tutorial"]}
created2016-08-02 23:15:15
last_update2016-08-02 23:15:15
depth1
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.116 HBD
curator_payout_value0.035 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length50
author_reputation1,835,960,725,851
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id569,635
net_rshares184,540,134,805
author_curate_reward""
vote details (3)
@wisehammer ·
I'll try it tomorrow, I'm so excited to see this :)
👍  
properties (23)
authorwisehammer
permlinkre-artakan-the-most-simple-html-page-to-access-the-steem-blockchain-and-some-explanations-20160802t213357501z
categorytutorial
json_metadata{"tags":["tutorial"]}
created2016-08-02 21:34:03
last_update2016-08-02 21:34:03
depth1
children0
last_payout2016-09-02 20:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length51
author_reputation2,502,745,411,790
root_title"The most simple html page to access the steem blockchain ... and some explanations ...."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id567,820
net_rshares14,340,271,233
author_curate_reward""
vote details (1)