Encode-Solidity-Bootcamp-Group-10 / Week1

0 stars 0 forks source link

Added delegate as voter and chairman scripts #1

Closed Super-Nim closed 2 years ago

Super-Nim commented 2 years ago

The 5-delegate-vote.ts file was only using the contract owner/chairman's address to delegate another voter.

I've kept the original file but renamed as 5-delegate-as-chairman.ts

The new file, 5-delegate-as-voter.ts requires another private key in the .env file( VOTER_PRIVATE_KEY).