Because Unlock’s locks use the ERC-721 standard (NFT), your lock that you create through Unlock can be integrated with other tools that build utility for NFTs as well. This includes Mintgate, which gives the ability to gate any link. So, when you create a lock on Unlock -- you can also use it to gate links through Mintgate.
Here are some examples of services you can gate using an Unlock lock + Mintgate.
This will allow only people with a particular token in their wallet to be able to access a link, in this case to a YouTube video.
In the Unlock Creator Dashboard, create a Lock. After naming the Lock, and filling in the duration, quantity, and price fields, confirm the new lock. See this section for nore details!
Once confirmed, you should find the address for the lock underneath the title. The address will start with “0x…” and be a string of letters and numbers.
This is the unique identifying address for your lock. Keep this tab open so you can have this address on hand when you use Mintgate to gate a link.
Log into MintGate. Click on the Create button and choose “Token Gated Link.”
Paste the Youtube link that you would like to gate and add a title.
Select the blockchain that your Unlock key was created on (MintGate currently supports redirects Unlock paywall links for locks on Ethereum, xDai, and Polygon), and choose NFT ERC-721 Collectibles. Add the address associated with your Lock into the contract address field. You can leave the 721 Token ID field blank. If you are looking to gate using specific keys, you can specify them in that field.
If you’d like, you can also add other Unlock Keys or other non-Unlock Keys that can give access to this same link as well by pressing “add token”.
After you finish, you should get a link from MintGate. Using this link, only people with your Unlock Key in their wallet can access the Youtube link.
When users click on this link, they are asked to connect their wallet. If they have the correct Unlock Key, they are able to access the Youtube link.
If they do not have the right key, they get this message:
If they decide to buy the key, they can click on the Buy Key on Unlock button where they will be redirected to the Unlock paywall.
Once they purchase the key, they can click on the Return to mgate.io to redirect back to MintGate and access the Youtube video.