How to setup the Voting Contract using two MetaMask accounts

MakerDAO
MakerDAO
Sep 11, 2018 · Unlisted

In this step by step guide, we are going to talk you through setting up a Voting Contract, which you need to do in order to vote, using two MetaMask accounts. You would only do this if you store your MKR on MetaMask, and not on a hardware or paper wallet.

Before you get started, you will need to ensure you have a second MetaMask account set up with some Eth (at least 0.01Eth) in order to cover gas costs. This will act as your hot wallet. Your MetaMask account with your existing MKR tokens in will be your cold wallet. You will again need some Eth (at least 0.01Eth) in your cold wallet too.

Ensure your MetaMask is unlocked, and in MetaMask extension you have your cold wallet selected. On the voting dashboard, click ‘Set up now’ on the top banner followed by ‘Get started now’ once you have read the instructions. The next screen you see will be the terms of service for using Maker’s Governance Voting system, if you agree, click ‘I agree’.

The first step in setting up your voting contract is to link your hot and cold wallets. From the current window, select your hot and cold wallets from the respective dropdowns, and click ‘link wallets’. If you cannot see one of your wallets, simply switch to the wallet you cannot see in the MetaMask extension and it should appear. Be sure to switch back to the cold wallet though before continuing.

Image for post
Image for post

Once you have clicked ‘Link Wallets’, you will now see a message asking you to ‘Approve transactions on your cold wallet’ within MetaMask. Your MetaMask window should appear to confirm the transaction, or if it doesn’t, you should see it by clicking on the MetaMask extension icon.

Once the transaction has been approved, you will now be asked to approve the linking you have initiated from your cold wallet. Check to ensure the hot and cold wallet addresses are correctly matched. In order to approve the transaction, you now need to switch to your hot wallet in your MetaMask extension. Once you have switched to your hot wallet, click ‘Approve’ to complete the link.

Image for post
Image for post

Now that you have created the voting contract, and the link between your hot and cold wallet, you need to grant the voting contract permission to move your MKR into the voting contracts, a capability you can revoke at any time. In order to grant permissions and move MKR to your voting contract, you must now switch back to your cold wallet within the MetaMask extension. Once your cold wallet is selected, click ‘Grant’ to continue, then wait for the transaction to be confirmed.

Image for post
Image for post

The final step before you can vote is to move MKR from your cold wallet into the voting contract you have just setup. Simply choose how much MKR you wish to lock into the voting contract (Note: You can withdraw some or all of your MKR from the voting contract at any time) and click ‘Lock MKR’. Again confirm the transaction within MetaMask and wait for confirmation.

Once confirmed, you are all done and ready to vote. Just switch your MetaMask extension back to the Hot Wallet, and use the dashboard to vote.

Image for post
Image for post

For instructions on how to vote, and finding your way around the rest of the dashboard, please click here.

If you have any questions, we’re always here to help either on our subreddit or chat.makerdao.com.

Happy voting!

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store