Getting Started
Get an API key
Get an API key to authenticate your user in our API.
1
Generate a challenge
First, you need to use our /key/challenge
endpoint
to generate a challenge.
You will pass your user ‘s Ethereum address to this endpoint.
The response will contain a field challenge
that you need for the next step.
2
Sign the challenge
Next, you need to sign the challenge with the user ‘s private key. You can use our Metamask with our signing tool or the following scripts:
3
Respond the challenge and get the API key
Send the result of previous step to the /key/verify
endpoint and recieve
the API key in the response. You need to send the signature
and your user ‘s
Ethereum address as field public_address
.
Save this API key in appropiate place with sufficient security.