The concept of NFTs has been around since the 2014s but it wasn’t until 2017 that projects like CryptoKitties and CryptoPunks started to create traction for NFTs. Jumping to 2021, NFTs took off like wildfire. They started being referenced in pop culture, mainstream media, and they influenced the concepts that many hackathon projects were based on.
The technology for creating NFTs has come a long way and is now more accessible to developers and non-developers alike. Along with the creation of NFT marketplaces such as OpenSea and Rarible, anyone can mint their own NFTs and sell them.
When minting video NFTs, a major factor to consider is the file size. Livepeer Video Services solves this issue when using the Video NFT SDK. This SDK will transcode the video to the proper file size utilizing the Livepeer Network as well as leveraging the layer 2 solutions of Polygon to reduce the cost of transactions on the Ethereum blockchain. Using the SDK makes it easy and more affordable to create video NFTs.
In this tutorial, we will utilize Livepeer Video Services’ Mint a Video NFT tool to create our own NFT that can play a video.
Before we get started, here is a checklist of items required for this tutorial. Instructions on how to get and install these items will be provided in the steps that follow.
☑️ Sign up for a free account at Livepeer Video Services to create an API key
*This is an example video that will be used, there are other free videos available at Pexels.
☑️ Sign up for a free Metamask account
☑️ Add Polygon Mumbai testnet to Metamask wallet
☑️ Get Polygon test MATIC
☑️ Install Video NFT
Step 1: Signup for a free account at Livepeer Video Services and create an API key
* If you need a step-by-step process for getting a free account and the API key, visit the How to make API calls with Postman tutorial.
Step 2: Get a video to mint as an NFT
*You can also find another video using Pexels or use provide one of your own.
If you do use one of your own, make sure it is in a .mp4 format.
Step 3: Install Metamask (if you do not already have one)
Go to Metamask and download the browser extension. For this tutorial, we will use the Chrome version, but a Firefox version is also available.
Step 4: Configuring Polygon network for Metamask
Step 5: Getting MATIC for testing
Step 6: Installing the mint Video-NFT
*If you want to have video-nft available as a command on your machine, you can also install the CLI persistently with npm i -g @livepeer/video-nft, and after that just call video-nft from anywhere to run it.
Step 7: Minting the video NFT
Congratulations! You have minted a video NFT using Livepeer Video Services Video NFT.
Using the Video NFT is a great way to get started with being able to upload video NFTs. If you want to upload videos and do not want to mint NFTS, Livepeer Video Services also has Video on Demand where you can do just that.