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). 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 NFT files with their platforms, 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 a fetching (i.e. delivery of media content within the NFT files component of the NFT metadata), optimising (i.e. transcoding/rescaling to lower bandwidth needs and increase end user client-compatibility) and display (i.e. regardless of the file format, the ability to load said files within a browser) capability though a “Universal NFT File Viewer API endpoint”, which can be seamlessly integrated within a product’s or service’s platform through iframes.
In simple terms, by simply plugging in an NFT’s fingerprint ID within the Universal API endpoint, the end recipient will be able to view (i.e. open) NFT 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.
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 a Universal NFT File Viewer API endpoint that will be compatible with the aforementioned MIME types.