Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Proof-Of-Humanity/Proof-Of-Humanity
Proof-of-Humanity v1 smart contracts
https://github.com/Proof-Of-Humanity/Proof-Of-Humanity
ethereum proof-of-humanity smart-contracts sybil-resistance
Last synced: about 2 months ago
JSON representation
Proof-of-Humanity v1 smart contracts
- Host: GitHub
- URL: https://github.com/Proof-Of-Humanity/Proof-Of-Humanity
- Owner: Proof-Of-Humanity
- License: mit
- Created: 2019-12-18T14:37:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T00:59:02.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T22:44:58.923Z (5 months ago)
- Topics: ethereum, proof-of-humanity, smart-contracts, sybil-resistance
- Language: JavaScript
- Homepage:
- Size: 1.71 MB
- Stars: 168
- Watchers: 18
- Forks: 41
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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](https://etherscan.io/address/0xC5E9dDebb09Cd64DfaCab4011A0D5cEDaf7c9BDb) and have a mechanism to switch to a new one.
- Reference the [proxy](https://etherscan.io/address/0x1dAD862095d40d43c2109370121cf087632874dB) 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](https://snapshot.page/).If you want to test on Kovan, see [this post](https://gov.proofofhumanity.id/t/resources-developing-on-the-kovan-testnet/776).