Skip to content

An example smart contract that grabs the current balance of erc20 token holders and creates a merkle tree, allowing for stakeless voting.

License

Notifications You must be signed in to change notification settings

0xdewy/MerkleVote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MerkleVote

The contract loops through a list of erc20 token holders and stores the merkle root, allowing token holders to provably vote without staking their tokens.

Gas Costs

  • 1000 token holders: 4,958,146
  • 500 token holders: 2,476,162
  • 100 token holders: 638,009
  • 10 token holders: 112,78

About

An example smart contract that grabs the current balance of erc20 token holders and creates a merkle tree, allowing for stakeless voting.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published