UnleashTheLock
A React library to facilitate integration with Unlock Protocol subscriptions.
Screenshots






Problem Statement
If a company wants to integrate smart contract subscriptions, Unlock Protocol is an excellent choice. However, current developer integration options are restrictive when it comes to incorporating a subscription element into third-party frontends. This limitation creates onboarding friction, leading to either a compromised end-user experience due to developer shortcuts or a drain on developer time for custom solutions.Since most frontends are built using React, the most efficient way for a developer to add functionality is by installing a library. That's exactly what UnleashTheLock offers—a customizable widget that allows developers to easily integrate Unlock Protocol subscriptions into their frontends. Simply install the library and set your custom properties—no more external checkout links or mismatched HTML iframes.In the spirit of Y Combinator, think of UnleashTheLock as the Uniswap widget for Unlock Protocol.
Solution
Below is a breakdown of how the project was built:TypescriptWagmi and Viem for wallet connection and blockchain communicationQuicknode for reliable private RPC URLsBabel.js and Rollup.js to transpile and bundle the libraryPrettier to format the codeESLint to lint the codeTailwindCSS and HeadlessUI for stylingCommitlint, Commitizen, Husky, Semantic Release, and GitHub Actions to enforce consistent commits, PRs, and releases.Next.js app to install and demo the library
Hackathon
ETHGlobal New York
2024
Prizes
- 🏆
🥇 Unlock Protocol — Most Inventive Use
Contributors
- 0xernesto
12 contributions
- semantic-release-bot
3 contributions