Skip to main content

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.

  1. Set up a new Credentials Group:

  2. Select the On-Chain type:

  3. Select the Subgraph Credential

  4. Verify that you see this form:

  5. 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:

  6. Verify that the filled form looks like this and hit Save:

  7. Save the Credential Group:

  8. 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: