How to add unlockable content to your NFT

How to add unlockable content to your NFT

In this guide, we will learn how to deploy an NFT Drop contract using the thirdweb dashboard and add unlockable content to the NFT where only the owner of the NFT can access the content using Darkblock.


Before we get started, feel free to check out the tools and resources we will use in this guide mentioned below.

Let's get started!

Deploy an NFT Drop Contract

Navigate to the thirdweb dashboard and deploy a new NFTDrop contract by filling in the necessary parameters.

NFT-Drop

After deploying the contract, navigate to the Claim Conditions tab and start a claim condition based on your needs.


Next, let's do the fun part and LazyMint a cool NFT in the NFTs tab so we can add unlockable content to it later using Darkblock.

Mint NFT

Claim the NFT

Now we will claim this NFT to our wallet using the Claim button shown in the following image. Later we will see it in Darkblock as the owner of the NFT, but you can claim it to any address you wish by changing it.

Claim NFT

Next, we will open up the darkblock app and connect our wallet to the chain our smart contract was deployed on where you will be able to see all the NFTs your wallet owns.

Darkblock App

Add Unlockable Content

You will be able to see the Add Content button on the new page after clicking on any NFT that you own.

After clicking on the Add Content button you will see a form where you can add files, with a name and a description.

Add Unlockable content in this form

Click the Create button and sign the request and watch the magic happen just like this 👇

Unlockable Content added!!!

We have now added Unlockable content behind the NFT. Click the Authenticate ownership button and sign the request.

Now, you will be able to access all the unlockable content that we added earlier.

See your unlockable content

To recap: we first deployed an NFT Drop contract and claimed an NFT using the thirdweb dashboard. Afterwards, we added more utility to the NFT by adding unlockable content very simply by using Darkblock.

If you have any issues while following the process, feel free to let us know in our discord.