KOR Protocol Developer Docs
  • KOR Protocol: Introduction
    • Overview
    • Partners
  • Overview of KOR SDK
    • Notable Features
    • Merits of using KOR SDK
    • Use Cases
  • SDK Reference
    • Introduction
    • SDK Installation
    • SDK Initialization
    • Client Methods
      • Asset
      • NFT
      • On-Chain IP
      • On-Chain License
      • Royalty Distribution
      • Conflict Management
    • Tutorials
      • Pre-requisites
      • Mint and Register in Own Collection
      • Mint in KOR Collection and Register
      • Register Existing Minted Token as IP
      • Launch 100-Song Album via IPFS
      • Launch 5-Song Album via AWS S3
      • Register Asset as Derivative
      • Update License Terms of Existing IP
      • Raise, resolve and cancel conflicts
      • Create a copy NFT of an IP
    • Releases
    • Deployed Smart Contracts
  • Essential Business Flows
  • Architecture
    • Overview
    • Event Listener
    • Modules
      • Asset Module
      • NFT Module
      • On-Chain IP Module
      • On-Chain License Module
      • Royalty Distribution Module
      • Conflict Management Module
  • Key Definitions
  • Community
Powered by GitBook
On this page
  • Upload an Asset to IPFS/S3
  • Upload a Collection
  • Upload Metadata
  1. Architecture
  2. Modules

Asset Module

PreviousModulesNextNFT Module

Last updated 6 months ago

The Asset module consists of components which are used to:

  • Upload an Asset or Collection to IPFS/S3

  • Create Metadata for Single Asset or a Collection

  • Upload the Metadata to IPFS/S3

It uses Pinata/Filebase/Custom Storage (S3) to upload the Metadata to the IPFS/S3.

Upload an Asset to IPFS/S3

As a user uploads the Asset, SDK uploads the Asset to the IPFS and returns the IPFS CID of the Asset.

Upload a Collection

When a user uploads a Collection folder, uploads the Assets to the IPFS/S3 and returns the IPFS/S3 CID of the Assets.

Upload Metadata

Metadata is generated using the Asset URI returned while uploading the Asset and other Metadata fields. The Metadata is then uploaded to the IPFS/S3 and user gets the Metadata IPFS/S3 CID in return.