Skip to content
darkblock-logo
Darkblock Docs
  • Pages
    • What is Darkblock?
      • How does it work?
        • Creating a darkblock
        • Viewing Darkblock content
      • The Darkblock Protocol
      • Supported Blockchains
      • HIDEME Sample NFT with Darkblocks
    • For Creators
    • Products
      • The Darkblock API
      • The Darkblock Viewer
      • The Upgrader
      • The Darkblock Web App
      • The Darkblock TV App
    • Features
      • NFT Upgrades
      • Collection Upgrades
      • Content Stacking
      • Editing Metadata
      • Send to Kindle
    • Use Cases
      • Comics and Books
      • Movies
      • Content Creation
      • PFPs
      • Gamified Experiences
    • Developer Integration
      • Getting Started
      • The Darkblock API Overview
        • Get an API Key
      • Embed Darkblocks into any website
        • NPM
          • Ethereum
          • Polygon
          • Solana
          • Tezos
          • Avalanche
          • Customization
      • Direct Integration
      • HIDEME UGC (User Generated Content)
      • Content Monetization
        • Subscriptions using Unlock Protocol
        • Content Rental with Unlock Protocol
    • Help / Support
      • Terminology
      • Help, I made a mistake!
    • Tutorials
      • Unlockable Party Pack

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 ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.