jeevanjot avatar

SteemOC How to Vote Witness With Steem Code Guide For Zero Coders

jeevanjot

Published: 05 Aug 2018 › Updated: 05 Aug 2018SteemOC How to Vote Witness With Steem Code Guide For Zero Coders

SteemOC How to Vote Witness With Steem Code Guide For Zero Coders

First Read this. Because this is important for you to understand basics.
https://steemit.com/utopian-io/@jeevanjot/steemoc-steem-overclock-tut-1-get-steemit-hardfork-version-for-beginners

  • Now inside Script tags, Put this code
//Where wif is your active private key in account
//username is your steemit account name.
//witness is the name of witness
var wif = "5xxxxxxxxxxxxx"; //Put the write key here inside quotes .
var username="jeevanjot"
var witness = "blocktrades"//Put any witness name over here like "gtg" "timcliff" etc with quotes.

steem.broadcast.accountWitnessVote(wif, username, witness, true, function(err, result) {
  console.log(err, result);
});

Here is demo pic.

Don't show your private keys to anyone!

Now you have done Press RED PLAY button to do the voting from your account.
That's it

steemOC Upvote Follow Resteem jeevanjot@jeevanjot

Leave SteemOC How to Vote Witness With Steem Code Guide For Zero Coders to:

Written by

Demo app

Read more #utopian-io posts


Best Posts From jeevanjot

We have not curated any of jeevanjot'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 jeevanjot