How to Use Lockt to Create Unlockable Content for Your NFT on Tezos
A very common feature request that Tezos creators have asked for is the ability to add unlockable or exclusive content for collectors of particular NFTs. Did you know that such a service already exists? In this post we'll go over the process on how to add unlockable content for any NFT on Tezos - you don't even have to own it yourself or be the original minter!
The service we'll be using to facilitate this unlockable content is called Lockt.io and was created by Codecrafting.
The Guide
- First step, sync your wallet to Lockt
-
Next, select the "Create Lock" button. There's a few pieces of information you'll need, but it's easy to find.
-
Contract Address & Token ID - contracts on Tezos always start with KT1 and can be found in the URL of DNS.XYZ and OBJKT.com NFT links. For example:
https://dns.xyz/token/TEZOS:KT1T3ERF3eApBY7VHqAQF2xBT6M89qzKisVS:5 The KT1T3[...] string in between TEZOS and 5 is the contract address. https://objkt.com/asset/KT1T3ERF3eApBY7VHqAQF2xBT6M89qzKisVS/5 Everything after /asset/ and before /5 is the contract address.
-
In the above examples, 5 is the token ID. You can specify a range of numbers (1-5), a set of numbers (1,2,5), or everything from the contract by using an asterik as a wildcard.
-
Amount is the number of NFTs that need to be held from the specified contract address and token IDs. If you were to put 3 as the amount, the user would have to hold three total NFTs to unlock the content.
-
Name is the title of the content that will be unlocked.
-
Description simply describes the unlockable content, if you wish to provide one.
-
Files to unlock is where you upload the files that you wish to be unlocked when requirements are satisfied. You have a 100MB limit.
Finally, in order to share the unlockable content link, just use the copy button.
Now, when you share the link with someone they will be presented with a screen like this.
If they have the incorrect NFTs after syncing their wallet, this is what they'll be presented with.
On the other hand, if the requirements are met, this is what they'll see.
Simply use the download button on the right hand side to grab your content.
Wrap Up
Using this tool is very easy. You really only need a couple pieces of information and any URL that you find for an NFT on DNS.XYZ will have everything you need to set it up. Contract Address + Token ID are the only prerequisite information required to set the unlockables up. There's no fees from Lockt, or even transaction fees since this is using Pinata under the hood and it's not technically done on-chain.
Let us know if this was helpful by giving us a shoutout on Twitter or jumping into our Discord and saying hello!
(An earlier version of this guide was originally posted on TEZ.INK)