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

fabien(62)
Published in
#steemjs
Words
81
Reading
1 min
Listen
Play
10y

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 kaptainkrayola@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

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