Skip to content

luck-luffy/Proof-Of-Humanity

 
 

Repository files navigation

Proof-Of-Humanity

Proof-of-Humanity smart contract

You must use the isRegistered(address _party) function to determine if an address is or isn't registered. Do not use getSubmissionInfo(address _submissionId).registered since this only returns the state of the submissionInfo variable without considering submission expiration date.

If you are referring to Proof Of Humanity, we advise you to either:

  • Reference the main contract and have a mechanism to switch to a new one.
  • Reference the proxy which will automatically be updated in case of new versions (like one allowing anonymous accounts). The proxy also acts as a pseudo-ERC20 returning a balance of 1 VOTE to people registered in the registry. This allows to use it for some voting systems using tokens such as Snapshot.

If you want to test on Kovan, see this post.

About

Proof-of-Humanity smart contract

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.0%
  • Solidity 50.0%