It's time to vote! Aloha EOS is here to help.

in #eos6 years ago (edited)

aeos-small.png

Aloha, friends!

The EOS mainnet has launched! You have tokens. You want to vote. The question is how? We have the answers.

This guide presumes a few things from you, the reader. One is that you have registered your existing EOS ERC20 (Ethereum) tokens prior to the EOS mainnet launch and that you wish to use them to vote for block producers. At this point the most secure way to vote is using command line tools on your own computer. We outline the details below.

Also, if you aren't sure who to vote for, check out the EOS Go BP Portal to research candidates.

Now, let's get started!

Confirm your balance and get your account name

This article presumes you already have an Ethereum public key, also called a wallet address. If so (or if you’re not sure), please go to EOS Authority and confirm your EOS balance. You’ll put in your Ethereum public wallet address to find your EOS account and starting balance.
Screen Shot 2018-06-10 at 7.28.01 AM.png

Please note, you’ll be asked to enter your Ethereum public wallet address (not your private key). If you’re ever asked to enter your private key anywhere online, be aware that it may be a scam.

Once you enter your public address and click "Check my EOS", you’ll get a response similar to this:
Screen Shot 2018-06-10 at 7.30.33 AM.png

In the screen snap above, the account name is hezennxqfefh, but for the sake of this tutorial, let’s presume your account name is wiseeosvoter.

If you got this far you’re doing great!

eosc

Next up, we recommend using a tool called “eosc”. This is a cross-platform (Windows, Mac and Linux) command-line tool for interacting with an EOSIO blockchain. It was written by our friends at EOS Canada.

Why do we like eosc? Because it’s easier to install and simpler to use than the “cleos” and “keosd” tools that come with EOSIO. It’s also just as secure.

Install eosc

Time to install eosc. You’ll be using this to vote! You can find the eosc binary here. Grab the appropriate release for your operating system:
Screen Shot 2018-06-10 at 7.32.20 AM.png
If you are concerned about the validity of your binary you can check it by downloading the checksums.txt file and comparing the checksum with your downloaded file. Once you’ve decompressed the tool, you should load your terminal tool and switch to the eosc folder you just decompressed. Once there, you can type the command:

./eosc

and you should see a response similar to this:

Screen Shot 2018-06-10 at 7.33.34 AM.png

Great! You have eosc installed!

Import Private Key

At this point, you’ll need to go get your EOS private key from however you stored it when you registered your ERC-20 tokens, hopefully in a secure location like a paper wallet or on a trusted password manager.

Once you have your existing private key you can import it into the eosc vault with the command below:

./eosc vault create --import

This will import your private key into an encrypted vault. It will also prompt you for a passphrase that will be used each time you access your vault, so be sure to remember that or keep it in a safe place. You should see output similar to this after completing the import:

import.png

Time to Vote!

Once the vault is created you can vote with the eosc vote command. Get your list of block producers ready, and type a command similar to this:

./eosc vote producers wiseeosvoter alohaeosprod -u https://api.main.alohaeos.com

You'll see ouput similar to this:
wise.png

In lieu of wiseeosvoter above, put in your 12 digit account name that you got back in the first steps area at the top of this article.

Congratulations! Your vote has been placed!

NOTE - You are able to vote for up to 30 block producers. Each block producer will receive the number of votes equal to the number of EOS you have staked regardless of whether you choose 5 or 30. To vote for multiple producers, simply tack them on to the command line as such:

./eosc vote producers <YOURACCOUNTNAME> <PRODUCER1> <PRODUCER2> <PRODUCER3> -u https://api.main.alohaeos.com

Have questions? Stop by our Telegram channel and we can try to help.

Until next time, Aloha!

Sort:  

I actually tried to vote without specifying the endpoint at first (i.e. using eos canada endpoint) but it was timing out. If someone does the same and get the error :
Error during vote, https://mainnet.eoscanada.com/v1/chain/push_transaction: status code=500, body={"code":500,"message":"Internal Service Error","error":{"code":3080006,"name":"deadline_exception","what":"transaction took too long","details":[{"message":"deadline exceeded","file":"transaction_context.cpp","line_number":288,"method":"checktime"}]}}
go ahead and use alohaeos endpoint (by passing -u https://api.main.alohaeos.com in the end) which worked like a charm!
Thanks guys :)

Our pleasure, glad it helped!

I tried to use the alohaeos endpoint and was not successful, is there another one that I can try? Update: works when I do one bp at a time. Thank god I am using vim do this! Second update: be sure to do this using vim. It is so much easier to keep all my votes in one file. Some of them were timing out, I had to do a vote per line in vim (including the endpoint) and then let the file run, had to enter my passphrase a bunch of times, but at least I kept rolling through, even if some votes timed out. I also have a record of my votes in my file and think it will be easier to update them as needed/tally them going forward. Thank you to Eos Canada for releasing this utility!

Holey moley, this was the easiest method by far. Scatter was a nightmare, and the the cleos method was having issues and was very much not a quick process (yay windows). EOSCanada knows their stuff, and are widely trusted in the community, so I hope people searching for voting methods find this before spending a ton of time and headache with the others.

This tool is great for sure! But for what it's worth Scatter is awesome too, maybe my step by step guide can help anyone struggling with that: https://steemit.com/cryptocurrency/@soleone/how-to-vote-with-scatter-and-eosportal-io

I found the tool easy to use after a little trial and error. Is it possible to unvote a BP? I accidentally voted twice for one BP and only one to apply one vote.

I found this post on a reddit thread, apparently voting is a MAJOR hassle. Resteemed to help out those in need of some well made instructions.

Thanks @alohaeos

Our pleasure, thank you!

Thank you so much for the guide. Had so many issues with the scatter extension. Resteemed!

Glad it helped!

The community is in disarray because of the voting. Hopefully, initiatives like this will help.

Go here https://steemit.com/@a-a-a to get your post resteemed to over 72,000 followers.

Thank you for the help.