Let’s start building! Creating a blockchain project using the Procotol is easy.

1

Create a project

Firstly, we need to create a project to receive an API key and start interacting with other endpoints.

curl --request POST \
  --url https://protocol-sandbox.lumx.io/projects/auth \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "My first project",
  "blockchainName": "Polygon"
}
'

You will receive a status 201 with an object containing the API key.

2

Add your API key to all request headers

Now, make sure to insert your key to the headers of all following requests.

Remember to switch <API_KEY>.
API_KEY=<API_KEY>

Coming up next, let’s create your first contract on the blockchain.

Any problems during this guide? Check some possible troubleshooting.