ArtCart
Search…
Getting Started
Quick-start guide for ArtCart Unity SDK

1. Create and deploy serverless backend

This is required to authorize API calls to the ArtCart platform. The easiest way to do this is to use the ArtCart serverless backend starter project:
GitHub - Ablomis/artcart-unity
GitHub
  1. 1.
    Go to https://github.com/Ablomis/artcart-unity and fork the repository
  2. 2.
    Go to https://app.netlify.com/ and create a new project form the repository that you have forked.
  3. 3.
    Take note of the endpoint URLs of your functions.
  4. 4.
    Go to the https://sellers.artcart.cloud, and on the Credentials page create a new key for you Netlify serverless application.
  5. 5.
    Configure your Netlify environment variables with the credentials you obtained in step 4.
You can use any serverless backend of your choice for the purpose.

2. Add ArtCart SDK to your Unity project

  1. 1.
    Import ArtCart SDK package into Unity.
  2. 2.
    Add an empty object named ArtCart and add the ArtCart script from the SDK to the Object.
  3. 3.
    Configure the variables in the ArtCart script to point toward your Netlify endpoints: private string urlawardNFT = "YUOR_NETLIFY_ENDPOINTawardNFT" private string url_awardSpecificNFT = "YUOR_NETLIFY_ENDPOINTawardSpecificNFT "
At this point, everything should be configured properly.
Copy link
On this page
1. Create and deploy serverless backend
2. Add ArtCart SDK to your Unity project