Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

poh-contracts

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poh-contracts - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc