darkblock-logo
Darkblock Docs
Content Monetization

Content Rental with Unlock Protocol

You can use Darkblock and Unlock Protocol together to collect payments from users for short-term access to content.
Note: this is for EVM-only chains (Ethereum, Polygon, and Avalanche).
Here are the basic steps:
Create an Unlock Protocol contract to offer subscriptions, this contract is called a “lock”.
, which enables you to add a piece of content to be available to buyers of the subscriptions. The buyers are issued NFTs called keys, and anyone with a valid key (not expired) will be able to access the content.
Use the Unlock Protocol widget to sell end-users keys. You can do this in your own site, or direct people to a page on the Unlock Protocol site.
Use the to embed the content on your website, or direct people to the to connect their wallet and view the content.
See the video below for more context. You can .

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.