Using Rarimo’s Proof of Humanity plugin for Galxe
Proof of Humanity provides an easy and robust way to prevent bots from participating in your Galxe campaigns. It is a free and open-source plugin that you can use to verify that your users are humans.
To see it in action, checkout the walkthrough video:
Configuring your campaign
To add Proof of Human check, set up your campaign using the instructions below. No coding or prerequisites required.
-
Set up a new Credentials Group:
-
Select the On-Chain type:
-
Select the Subgraph Credential
-
Verify that you see this form:
-
Fill it using these values:
Endpoint: https://api.thegraph.com/subgraphs/name/volodymyrzolotukhin/sbtidentityverifier-polygon
Query:
query info($address: String!) {
users(where:{senderAddr: $address}){
id
}
}Test address:
0x62019b7b8f7d5b58006c5001eb1ffa95ab191474
Expression:
function(resp) {
if (resp != null && (resp.users != null && resp.users.length > 0)) {
return 1
}
return 0
}Call-to-Action Link: https://robotornot.rarimo.com
Reach out to us at discord and provide the name of your company name and logo to get a link with a customized greeting like this:
-
Verify that the filled form looks like this and hit Save:
-
Save the Credential Group:
-
After you are done with the rest of the details for your campaign, you should see the Proof of Human step on the campaign page: