Skip to content
Snippets Groups Projects
Commit ce56077a authored by yamadapc's avatar yamadapc
Browse files

Start a test-vote example

parent 831fbfe2
No related branches found
No related tags found
No related merge requests found
const steemauth = require('steemauth');
const steem = require('..');
const username = process.env.STEEM_USERNAME;
const password = process.env.STEEM_PASSWORD;
const wif = steemauth.toWif(username, password, 'posting');
steem
.broadcast
.upvote(
wif,
username,
'yamadapc',
'test-post-bop-1-2-3-4-5-6',
null,
function(err, result) {
console.log(err, result);
}
);
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