You were waiting for it. He did it! Thanks for @heimindanger contribution, now our package is working on client side.
How to get it
https://www.npmjs.com/package/steem
https://github.com/adcpm/steem
How to use it
<script src="./steem.min.js"></script>
<script>
steem.getAccounts(['ned', 'dan'], function(err, response){
console.log(err, response);
});
</script>
Documentation
https://github.com/adcpm/steem/tree/master/doc
If you need more informations, i'm available on the chat with the id @fabien
I can't believe this post has been invisible, are people dumb or what, this is MAJOR news ... I was struggling the whole day to try and communicate with steemd, and all of a sudden I fund your library, I couldn't believe you made it so easy .... Wow, congralutation, and please people upvote this post !
Hi,
thank you very much for your great work.
Unfortunately code
< script src="https://cdn.steemjs.com/lib/steem.min.js"> </ script> < script> steem.api.getState('/trends/funny', function(err, result) { console.log(err, result); }); </ script>
Doesn't work:
(index):22 Uncaught TypeError: Cannot read property 'getState' of undefined(anonymous function) @ (index):22