Prerequisites
Before getting started, ensure you have the foundational skills and tools needed to interact with the Humanity Protocol.
Having enrolled and obtained your human_id
Basic understanding of JavaScript/TypeScript and React
Access to Metamask wallet for interaction with the network
Node.js 18.18 or later
macOS, Windows (including WSL), or Linux
Your First Integration
Once you obtained your API key, let’s first ensure you are indeed enrolled in Humanity Protocol.
Open a terminal and type the following
curl 'http://api.humanity.org/v1/human/verify?wallet_address=<YOUR_WALLET_ADDRESS>' \
--header 'X-HP-API-Key: <YOUR_API_KEY>'
You should see something like this:
{"wallet_address":"<YOUR_WALLET_ADDRESS>","is_human":true,"user_id":"<YOUR_USER_ID>"}
Congratulations!, You are now prepared to commence your development journey with the Humanity Protocol.
Last updated