Case Study: Unlock
Decent unlocks new crosschain payment flows for Unlock Protocol's onchain membership and subscription checkout.
Onchain memberships and subscriptions
Unlock is the only smart contract protocol specifically built for creating memberships and subscriptions as NFTs. Much of the world’s revenue is generated by memberships and subscriptions, but generalized smart contracts often fail to meet constraints unique to these types of models, including infrastructure to automatically support expirations, renewals, and recurring payments. With Unlock checkout, developers can easily add Unlock’s purchasing interface to their websites for users to purchase memberships and subscriptions.
Seeking a seamless checkout flow for recurring purchases
As the blockchain ecosystem scales with the continuous addition of new chains, users are now faced with the challenge of holding tokens on each chain they wish to engage with, or go through the tedious process of bridging and swapping their tokens to the desired chain whenever they transact.
While the Unlock protocol has expanded multichain to support 12 networks including Ethereum, Polygon, Gnosis Chain, Optimism, Arbitrum, and Base, they needed a way to streamline the purchasing flow for users buying subscriptions across chains and remove the hassle that bridging and swapping presented. Over 80% of users will fail to complete a transaction if they do not have enough tokens to complete a purchase, and Unlock knew its users were missing out on large addressable markets with the friction of moving tokens between chains.
Unlocking one-click checkout
With Box Hooks in the SDK, Unlock was able to easily integrate The Box’ backend crosschain functionality into their existing checkout modal without making significant changes to its UI. Unlock utilized Hooks to build specific payment flows for different chains so users could select how they wish to pay regardless of where the membership smart contract has been deployed.
The Box automatically sources the best routes to bridge and swap tokens across chains and facilitates this process on the backend so users can complete cross chain purchases in a single click. No navigating away from the application or switching wallets to a different chain — just the seamless onchain purchase flow that users deserve.
Integrations set up to scale
As new blockchains continue to enter the ecosystem, The Box will update to support an ever-growing collection of L2s that Unlock can choose from to support in their checkout modal. With the Decent SDK and API, there's no need to reconfigure the integration with each chain addition so Unlock can scale alongside these chains without hassle.
“Using the Decent API allows us to quickly identify and build optimal routes that user can then easily pick from in order to send transactions from a chain to another one. We believe this kind of API abstracts away the complexity of handling tokens in multiple networks, and thus lowers the barrier to adoption of crypto and web3 by the broader public”
- Julien Genestoux, Founder & CEO Unlock Protocol
Why choose Decent?
Amplifies user activity: Where The Box is implemented, dApps see 40%+ more transactions occur compared to activity prior to integration, and 30%+ transactions are executed crosschain.
Best end user experience: End users have maximum optionality and the best product experience with single-click checkout that meets them at their point of liquidity.
Easy developer experience: Our team prioritizes building products that are easy to implement into both current and new UI, making integration as customizable and seamless as possible.
Maximum customizability: platforms and applications can choose both the allowed chains as well as customize the look of the box to fit their stylistic needs.
Existing contract compatibility: The Box is designed to handle all external smart contract interactions.
Continuous blockchain updates: As more chains enter the ecosystem, The Box will be updated to support them so applications and platforms don't have to worry about losing collectors to liquidity fragmentation.
Ready to take your platform to the next multichain level? View our documentation to add The Box to your stack or contact our team for more information.