Please describe your proposed solution
About NFTCDN
NFTCDN is Cardano’s dedicated NFT Content Delivery Network, enabling products and services to display NFT media content easily, efficiently and at high-speed to their worldwide user base through our global CDN. Our capabilities include NFT Image Display delivery and Metadata Information provisioning, and we seek to introduce an API to enable products and services on Cardano to utilise the files component of an NFT, expanding the application of NFTs in the Cardano ecosystem, resulting in expansive growth in a variety of industries.
Problem Statement
Over 8.45 million NFTs have been minted on Cardano to date, and while the vast majority of these comprise of images in the form of digital art (using the “image” component of the NFT metadata), an emerging area is the application of the “files” component, wherein most notable use cases (henceforth referred to as “use-types”) have been for songs (audio files), movies, clips or exclusive footage (video files), books, documents, records or reports (pdf files) and bespoke projects (HTML and other file-types). In addition to NFT images, this emerging area has seen an increase in utilisation of an NFT’s files component to hold assets by companies from the music, film, book and gaming industry - with ever evolving use cases. The challenge for products and services is the implementation of “fetching” and “display” capabilities of these files.
Building an end-to-end capability to query and parse metadata across various NFT standards to secure NFT file information, fetch the file(s) from the respective storage areas (IPFS, Arweave, on-chain, HTTP, etc) and deliver the files (termed the “fetching” process) in a fast, efficient, reliable and seamless manner would cost c. $90,000 to develop and $10,000 per month to run - notwithstanding costs for CI/CD.
The additional burden of building the capability to be able to display, without error, each of the file-types (audio, video, pdf, HTML, etc) in a manner that can be easily integrated within a product’s or service’s platform to fully realise the benefits for each use-type is not a sustainable endeavour for any new or existing project to undertake.
This necessitates the creation of a capability such that products and services can seamlessly integrate both NFT images and files with their platforms through an open source JavaScript library, enabling them and content creators to realise and utilise this core component of a Cardano NFT to its fullest potential.
Solution Design
The proposal aims to deliver an “open source JavaScript library” which will enable developers to display any NFT media content, regardless of the file format (such as images, videos, songs, documents, HTML and 3D files), on their products which can be seamlessly integrated.
In simple terms, by simply passing an NFT’s fingerprint ID to the open source JavaScript library, the end recipient will be able to view (i.e. open) NFT images and files contained within an NFT, irrespective of its use-type. NFTCDN will design, develop, test and deploy this capability as an outcome of this proposal and make it open source for anyone to customise and use for their use cases.
Solution Scope & Limitations
At present, the following known MIME types exist for the most notable use-types within an NFT:
- Images (image/png, image/gif, image/webp, image/jpeg)
- HTML (text/html)
- 3D Models (model/gltf and model/glb)
- Documents (application/pdf and text/plain)
- Audio Files (audio/wav, audio/mpeg and audio/x-flac)
- Video Files (video/mp4)
As part of this proposal, NFTCDN will build an open source JavaScript library that will be able to handle the aforementioned MIME types.