Skip to content
Snippets Groups Projects
Commit 424227fb authored by adcpm's avatar adcpm
Browse files

Update example folder

parent 117ec4e2
No related branches found
No related tags found
No related merge requests found
...@@ -6,11 +6,17 @@ ...@@ -6,11 +6,17 @@
</head> </head>
<body> <body>
<script src="steem.min.js"></script> <script src="./../dist/steem.min.js"></script>
<script> <script>
steem.api.getConfig(function(err, response){
console.log(err, response);
});
steem.api.getAccounts(['ned', 'dan'], function(err, response){ steem.api.getAccounts(['ned', 'dan'], function(err, response){
console.log(err, response); console.log(err, response);
}); });
steem.api.getAccountCount(function(err, response){
console.log(err, response);
});
</script> </script>
</body> </body>
......
...@@ -26,20 +26,4 @@ steem.api.streamOperations(function(err, result) { ...@@ -26,20 +26,4 @@ steem.api.streamOperations(function(err, result) {
if (!err && result[1].author == 'fabien') { if (!err && result[1].author == 'fabien') {
console.log(err, result); console.log(err, result);
} }
}); });
\ No newline at end of file
/*
steem.broadcast.comment(
username,
password,
'',
'steemjs',
username,
'this-is-the-slug',
'This is the title',
'This is the body',
{tags: ['steemjs', 'steem']},
function(err, result) {
console.log(err, result);
});
*/
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment