Proof-of-Humanity hCaptcha Validator API
360
Validator API exposes a single endpoint /api/v1/proof.
The endpoint takes a hex-string data to be signed, and an hCaptcha challenge token to be verified.
Once hCaptcha token validity is verified, data is included in a signed Proof-of-Humanity, which is returned along with a timestamp.
See details and examples:
Generated Proof-of-Humanity could be further verified on-chain in a smart contract.
docker run -it \
-p 8080:8080 \
--env PORT=8080 \
--env VALIDATOR_KEY=0x89c821ae8f9abcd0737f910e3de1904699df9e390a9f184f01f941e20dac8a52 \
--env HCAPTCHA_SECRET=0x0000000000000000000000000000000000000000 \
bakoushin/poh-validator-hcaptcha
| Env. variable | Description | Example |
|---|---|---|
| PORT | Port to run on | 8080 |
| VALIDATOR_KEY | Private key to sign proofs | 0x89c821ae8f9abcd0737f910e3de1904699df9e390a9f184f01f941e20dac8a52 |
| HCAPTCHA_SECRET | hCaptcha account secret key | 0x0000000000000000000000000000000000000000 |
Content type
Image
Digest
Size
48 MB
Last updated
over 4 years ago
docker pull bakoushin/poh-validator-hcaptcha