poh-contracts
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "poh-contracts", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Solidity contracts for verifying proof-of-humanity on-chain", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,4 +11,6 @@ # Solidity contracts for verifying proof-of-humanity on-chain | ||
[Proof-of-Humanity hCaptcha Validator API](https://github.com/bakoushin/poh-validator-hcaptcha) | ||
[Proof-of-HUMANity on-chain: protect your smart contracts from bots](https://www.humanprotocol.org/blog/proof-of-humanity-on-chain-protect-your-smart-contracts-from-bots) | ||
[Proof-of-Humanity hCaptcha Validator API](https://github.com/bakoushin/poh-validator-hcaptcha-api) | ||
## HumanOnly | ||
@@ -20,3 +22,3 @@ | ||
`setHumanityValidator(<address>)` – sets the address of the humanity validator you trust. Usually, this is the address of the account used to sign proof-of-humanity in the backend server you are in control or trust. Here is an [example server](https://github.com/bakoushin/poh-validator-hcaptcha) for hCaptcha. | ||
`setHumanityValidator(<address>)` – sets the address of the humanity validator you trust. Usually, this is the address of the account used to sign proof-of-humanity in the backend server you are in control or trust. Here is an [example server](https://github.com/bakoushin/poh-validator-hcaptcha-api) for hCaptcha. | ||
@@ -33,3 +35,3 @@ > Validator could be set either in contract `constructor`, or later, by the contract owner. | ||
> `proof` must be provided as a parameter for a method using one of these modifiers. | ||
> `proof` must be provided as a parameter for a modified method ([example](https://github.com/bakoushin/poh-contracts#4-protect-your-methods-by-adding-the-proof-parameter-and-one-of-the-poh-modifiers)). | ||
@@ -96,2 +98,10 @@ ## Proof-of-Humanity types | ||
## See also | ||
- [Proof-of-HUMANity on-chain: protect your smart contracts from bots](https://www.humanprotocol.org/blog/proof-of-humanity-on-chain-protect-your-smart-contracts-from-bots) | ||
- [Proof-of-Humanity-React](https://npmjs.com/package/poh-react) | ||
- [Proof-of-Humanity hCaptcha Validator React](https://npmjs.com/package/poh-validator-hcaptcha-react) | ||
- [Proof-of-Humanity hCaptcha Validator API](https://hub.docker.com/r/bakoushin/poh-validator-hcaptcha) | ||
- [Counter dApp Example](https://github.com/bakoushin/poh-counter-example) | ||
## Author | ||
@@ -98,0 +108,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14098
110