Procaptcha
Contains interfaces for accessing the Prosopo protocol contract, Prosopo provider API and the captcha client state via the ProsopoCaptchaClient
, ProsopoCaptchaApi
and ProsopoCaptchaStateClient
classes.
Prerequisites
The Dapp smart contract account must be registered in the Prosopo protocol contract in order to interact with the Prosopo protocol. You can complete Dapp registration by navigating to polkadot-js apps and using the contracts page.
Usage
This repository can be imported into any JavaScript framework and used to create a CAPTCHA User Interface. See, for example, the procaptcha-react repository.