Fabien avatar

Steem.js Update: Vote method added (tutorial inside)

fabien

Published: 21 Aug 2016 › Updated: 21 Aug 2016Steem.js Update: Vote method added (tutorial inside)

Steem.js Update: Vote method added (tutorial inside)

What's up?

Now you can easy vote with Steem.js NPM package. Here is the tutorial:

var steem = require('steem');

steem.broadcast.vote(username, password, author, permlink, weight, function(err, result) {
    console.log(err, result);
});

Quite difficult right? If you like it, upvote this article and I will use this money to incentive contributors to contribute on Open Source Steem projects.

It was not an easy task to make the encryption working thank to Kaptain Krayola kaptainkrayolaHive account@kaptainkrayola who help for generate a signature with steemit.com code.

Stay tuned I will soon do an update with post/comment, downvote, follow/mute methods.

Best

Leave Steem.js Update: Vote method added (tutorial inside) to:

Written by

The less code you use, the less there is to break

Read more #steemjs posts


Best Posts From Fabien

We have not curated any of fabien's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Fabien