Importing Admin Accounts
Open the
config/Admins.config.jsonfile located in the evotesystem project directory. The file contains the addresses and the private keys (only in development) of the admin accounts of the deployed eVote contract.Open Metamask and click the account icon (circle) in the top-right corner. Then select import account from the menu. Choose
Private Keyas type. Then copy the private key of the first registrar fromAdmins.config.jsonand paste it in Metamask. Then clickImport.After the account has been imported, select the account and click on the 3 dots below the account icon (circle) in the top-right corner. Then click on
Account Detailsand click the edit icon next to the account name and rename it toR 1, short for Registrar 1.Repeat steps 1 to 3 for all admins in the
Admins.config.jsonfile. Of course you should update the name in step 3 to match the admin you just imported (C for Chairpeople and EB for Electoral Board).
All the admin accounts should already have enough funds on them. However, if this is not the case, you can transfer funds between them using Metamask.