Skip to content

aligit/TokenizedBallot

Repository files navigation

TODO update the title

Requirements

  • rename example.env to .env and update your secrets
  • source .env before running interacting with testnet

Commands

yarn install

Deploy contract

yarn hardhat run ./scripts/Deployment.ts

Mint tokens to self && Delegate Power to self

yarn run ts-node --files scripts/GiveVotingTokens.ts $CONTRACT 

Delegate Power to others

yarn run ts-node --files scripts/Delegate.ts $CONTRACT NEW_DELEGATE_PERSON_ADDRESS

Query Results

yarn run ts-node --files scripts/Delegate.ts $CONTRACT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published