https://github.com/fedeperin/poh-validator
A way to validate that a person is registered at Proof of Humanity
https://github.com/fedeperin/poh-validator
Last synced: about 1 year ago
JSON representation
A way to validate that a person is registered at Proof of Humanity
- Host: GitHub
- URL: https://github.com/fedeperin/poh-validator
- Owner: fedeperin
- License: mit
- Created: 2022-04-29T22:58:43.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-29T23:22:57.000Z (about 4 years ago)
- Last Synced: 2025-02-15T02:43:22.885Z (about 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# POH Validator
A way to chech if a person is registered at Proof Of Humanity
## Installation
You can install it via npm:
```bash
npm i poh-validator
```
Or you can import it at the head tag of a page:
```html
```
## Usage
POH Validator has a main object that contains two functions:
| Function | Params | Description |
| :-------- | :------- | :------------------------- |
| `POHValidator.isRegistered()` | **Required** `string` Ethereum Address | A function that returns a bool. True if the profile is registered, and false if not |
| `POHValidator.getUserData()` | **Required** `string` Ethereum Address | A function that returns an object with a lot of information about the user |