Cask Protocol integrates with Lit Protocol to attach private data to NFTs & token gate content

Cask Protocol
3 min readJul 27, 2022

--

Since the inception of the Cask Protocol, our vision has been to allow Providers/Creators the ability to attach private data to Cask subscriptions in a safe, secure, and decentralized way. The data will only be accessible to the provider or either the provider and consumer — all in a fully decentralized way. To enable this functionality, Cask partnered with Lit Protocol, an open source, decentralized utility that uses encryption to provide blockchain access control. With our integration with Lit, it’s now possible to

  • Attach private data to your NFT subscriptions
  • Token gate content to active NFT subscription holders

Collect private data with NFT subscriptions

The collection of personal data was straightforward on web2 (albeit not without significant privacy and security issues). Data was simply collected in a form and stored in a provider’s database. However, on web3, to safely and securely store data on the blockchain we need two things to work in tandem: access control and encryption. Encryption ensures that personal data isn’t visible on the blockchain and access control specifies who can view the data. Thankfully, the Lit Protocol brings these two elements together to allow the collection of personal data on web3 in a decentralized way.

Lit Protocol allows for a customizable set of access conditions where the credentials and validation happen by a decentralized network. Using this primitive, the Cask SDK allows arbitrary private data to be attached to an NFT subscription and stored alongside other subscription metadata in IPFS. This data can only be read by the provider and/or the current owner of the subscription.

Lit’s encryption allows Cask to collect private data such as names, emails, addresses, or other sensitive data typically collected in a signup form. That data is only accessible to the provider and/or the consumer even though it’s stored on the decentralized IPFS network. This is a significant step forward for web3 — all the power of decentralized infrastructure with data privacy.

Right now, this capability is only available in the Cask SDK, but we will soon allow providers to enable private data collection directly from the Cask web3 widget effortlessly.

Token gating content & access control

In addition to Cask supporting private data being associated with the NFT subscription, a provider/creator can also use the Lit Protocol to gate access to content to only active subscribers. Gated content is one of the most common requests we have received, and are thrilled to be able to support this use-case at a protocol level. The Cask Protocol Access Control Condition has been integrated into the Lit Protocol Share Modal for easy drop-in to React applications. More info about the Cask Protocol Access Control Condition can be found in the Lit Documentation.

What’s next for attaching private data to NFTs?

The Cask team is working with various dApps and applications to provide a complete point-and-click solution for decentralized gated content using Cask Protocol and Lit Protocol. If you are interested in token gating content with NFT subscriptions reach out to us.

About Cask

Cask is a decentralized non-custodial protocol for managing recurring money flows in web3. The Cask mission is to onboard web2 payment agreements into non-custodial alternatives in addition to providing web3 with sustainable business models. Cask is also building ways to interact with various web3/defi protocols automatically.

The Cask wallet acts as a combined checking and savings account. Funds are transferred into a yield-bearing account, and then those funds are usable in automatic money flows.

Website | Twitter | Discord | Telegram

About Lit Protocol

Lit Protocol is an open source, decentralized utility that uses encryption to provide blockchain users access to digital and real world experiences.

Website | Twitter | Discord

--

--

Cask Protocol

Cask is a decentralized non-custodial protocol for managing automated money flows in web3.