TokenForge MediaService

Usually, products that you can buy are represented by at least one image. Depending on the type of product, such as audio NFT, other files can be components of the purchase:

  1. the audio file itself

  2. a video

  3. PDF files with further descriptions or as a manual

Some of these files, such as thumbnails, should be stored with public access so that anyone can access them, including unauthenticated users and even search engines. Other files can be downloaded only by those who have purchased the file and who are currently token owners.

The TokenForge MediaService can handle these requirements with the following principles:

  1. Creation of a Bucket that contains private files (”unlockable content”)

  2. Creation of a Bucket that contains public files (we can also store these files in the private bucket and make them “public”

  3. Create a presigned URL for uploading content on these buckets

  4. Use a static URL for public available content

  5. Use so called presigned URLs to make unlockable content accessible for a small amount of time

Last updated