This repo contains examples of how to work with Treum APIs.
Download the code or fork the repo.
Clone your forked repository:
gh repo clone YOUR-USERNAME/consensys-nft-tutorials
Locate the example you want to follow.
cd sample-storefront
Create a .env
file under the root directory and add environment variables as defined in the /src/config
file. For example,
PUBLIC_URL=
REACT_APP_API_BASE_URL=
REACT_APP_ORGANIZATION_ID=
REACT_APP_COLLECTION_ID=
Start locally:
yarn install
yarn start