Inspiration

Inspired by the dynamic yet problematic landscape of platforms like OnlyFans, BlockTease addresses critical issues that creators face in traditional Web2 models:

  • Delayed Payouts and High Fees: Many creators struggle with delayed payouts, exorbitant fees, and limited payment options, which significantly hinder their financial freedom and ability to reach a global audience. πŸŒπŸ’Έ

  • Complex User Obligations and Agreements: The necessity to manage complex bank transfers, autopay setups, and resolve frequent bank server issues underscores the inefficiencies of old systems. πŸ¦πŸ”„

  • Hidden Charges and Decreased Trust: As platforms grow and monitor engagement, they often change policies unexpectedly and impose hefty cuts, making creators vulnerable to sudden and unfavorable terms. πŸ”πŸ“‰

BlockTease is our response to these challengesβ€”a decentralized platform where creators enjoy prompt payouts, minimal fees, and straightforward, transparent agreements.

Exciting Features

  • πŸš€ Hassle-Free Onboarding: Join effortlessly with Smart Accounts that bridge Web2 and Web3. Get started without deep blockchain knowledge β€” a simple, barrier-free entry into the exciting world of decentralized applications.

  • Dynamic NFT Avatar Generation: Create your unique digital identity with OpenAI's DALL-E, seamlessly integrated through Chainlink Functions to mint dynamic NFT avatars. Thanks to Biconomy Paymaster, these are offered free of charge for new users, adding a personal touch from day one! 🎨

  • πŸ”„ Autopay Creator Subscriptions: Never miss content from your favorite creators! Our Chainlink Automation setup wraps Chainlink Functions with nodemailer to keep you informed about your subscription status automatically.

  • πŸ”—πŸŒ Cross-Chain Subscriptions with Custom PriceFeeds: Enjoy the freedom to follow and support creators across multiple blockchains, thanks to Chainlink CCIP & Chainlink PriceFeeds. No worries about single chain liquidity β€” subscribe anywhere, anytime!

  • πŸ’Έ Gasless and Bundled Transactions: Experience the smoothest UX yet with Smart Account gasless and bundled transactions. Approve NFTs, make payments, and manage subscriptions all in one go, without the usual gas fees.

  • πŸŽ²πŸ“ž Monthly Lucky Subscriber Draw: Join the excitement with our monthly draws using Chainlink VRF! Every month, a lucky subscriber wins a one-on-one live call with a creator + a free one month subscription. Will it be you this time?

How We Built It

image

We built BlockTease using a combination of technologies and best practices in both software development and blockchain integration. Here's a detailed breakdown of our tech stack and development process:

  • Smart Contracts: We implemented smart contracts for handling autopay subscriptions, cross-chain payments, and lucky draw rewards distribution. Solidity was used to write our contracts, ensuring security and scalability. πŸ“œπŸ”

  • Chainlink: For real-time data feeds and decentralized oracle services, we integrated Chainlink. This includes using Chainlink VRF for our lucky draws, Chainlink Automation wrapping Chainlink Functions for subscription notifications, and Chainlink CCIP for cross-chain payments. πŸ”—πŸŒ

  • Biconomy & Web3Auth: Biconomy's account abstraction SDK to facilitate txns bundling with gasless interactions, enhancing the user experience by removing the need to pay gas fees. Web3Auth, integrated with Biconomy, provides a streamlined login process that bridges Web2 and Web3 identities seamlessly. πŸ”‘πŸŒ‰

  • IPFS & Pinata: For decentralized storage, we utilized IPFS to host all digital content created by our users, ensuring that it remains accessible and censorship-resistant. Pinata is used to enhance IPFS file management and ensure reliable content pinning and retrieval. πŸ—ƒοΈπŸ“Œ

  • OpenAI & Chainlink Functions: We used paid OpenAI's API for dynamic NFT avatar creation, accessed through a paid subscription. These avatars are integrated seamlessly via Chainlink Functions, allowing on-the-fly creation and minting. πŸŽ¨πŸ€–

  • Frontend and User Interface: Our frontend was developed using Next.js, providing a modern, responsive, and dynamic user interface. We focused on making the platform easy to navigate and visually appealing while integrating essential Web3 functionalities. πŸ–₯️✨

  • Backend Integration: Our backend is powered by Node.js and Express, with MongoDB and GraphQL managing our data. This setup includes mapping token IDs to user wallets/emails, which is crucial for managing subscriptions via nodemailer. πŸ§ πŸ’»

  • Chainlink Functions with Nodemailer: For automated email notifications regarding subscription statuses and updates, we integrated nodemailer, ensuring that users stay informed about their subscriptions and interactions with creators. πŸ“¬πŸ””

  • Testing and Deployment: Testing of our smart contracts was performed using Hardhat to ensure security and functionality. For deployments, we utilized Render for backend services and Vercel for frontend hosting. πŸš€

This combination of technologies and services provided a strong foundation for BlockTease, allowing us to deliver a powerful, efficient, and user-friendly platform.

Challenges We Ran Into

Developing BlockTease presented several technical and integration challenges that tested our ingenuity and skills. Here are some of the key obstacles we encountered:

  • 🌐 Dynamic Gas Estimation for Chainlink Functions: Adjusting gas estimates dynamically based on network congestion to optimize the execution of Chainlink functions was a complex task, requiring precise calculations and monitoring. πŸ”§

  • πŸ”— Wrapping Chainlink Functions within Automation: Implementing Chainlink Functions within Automation involved creating dynamic string arguments utilized by the source script, where the conversion from address --> string and uint256 token IDs --> string in Solidity proved to be particularly tricky.πŸ› οΈ

  • ⏱️ Backend Design Constraints: Designing the backend to ensure that the processing time for requests does not exceed the 9-second maximum timeout limit for Chainlink functions presented a significant challenge. This required efficient processing and optimization of backend operations.πŸ–₯️

  • πŸ”€ Web3Auth Chain Switching with Biconomy: Implementing Web3Auth to facilitate chain switching integrated with Biconomy Smart Accounts, allowing functions to trigger on different chains without hassle or address changes, was a complex but vital feature.πŸ”„

  • πŸ“¦ Transaction Bundling and Gasless Paymasters: Integrating bundled transactions, such as approvals of USDC/ERC1155-NFTs and subscription contract calls, and coordinating these with gasless paymasters to fund the transactions, required detailed attention to transaction flows to ensure a seamless user experience. πŸ’³

  • πŸŒ™ Custom Binaries for Moonbeam Network: Integrating custom binaries of the Moonbeam network, including Moonbeam's Call Permit Precompile and Batch compile, to handle transaction bundling with gasless payments was a challenging yet rewarding process. πŸ› οΈ

  • 🎨 Seamless UI-UX Integration: Combining various components into a smooth and user-friendly interface was perhaps our biggest challenge, especially ensuring that the advanced functionalities did not complicate the user experience. πŸ–ŒοΈ

These challenges pushed us to explore innovative solutions and adapt our strategies, ultimately leading to a more robust and versatile platform.

Accomplishments That We're Proud Of

Chainlink Integrations

  • User Onboarding with OpenAI Dynamic Avatars: Leveraged Chainlink Functions to integrate OpenAI's technology, enabling the automatic creation of dynamic NFT avatars during user onboarding. πŸ–ΌοΈπŸ”— View Code
  • Auto Pay Subscriptions for Favorite Models: Implemented auto-renewal subscription features using Chainlink Automation to ensure uninterrupted access to content. πŸ”„πŸ’³ View Code
  • Notification System with Chainlink Automation: Wrapped Chainlink Functions inside Automation to send notifications via nodemailer when subscriptions expire. πŸ“§πŸ“… View Code
  • Chainlink PriceFeeds for Accurate Payments: Utilized Chainlink PriceFeeds to ensure accurate, real-time pricing for cross-chain payments. πŸ’ΉπŸ”— View Code
  • Chainlink CCIP for Cross-Chain Subscriptions: Enabled seamless cross-chain subscription purchasing and payments using Chainlink's CCIP. πŸŒπŸ’Έ View Code
  • Chainlink VRF for Lucky Subscriber Draws: Integrated Chainlink VRF to conduct fair and transparent monthly lucky subscriber draws. πŸŽ²πŸŽ‰ View Code

UI/UX Enhancements

  • Web3Auth with Biconomy Smart Account: Simplified login processes and enhanced security with Web3Auth combined with Biconomy smart accounts. πŸ”‘πŸŒ View Code
  • Platform NFTs for New Users: Offered Platform NFTs for newly onboarded users through account abstraction using Biconomy's paymaster. πŸ†“πŸŽ¨ View Code
  • Transaction Bundling with Meta Transactions: Enabled bundling of transactions, such as USDC approval and payment processing, using meta transaction techniques for a smoother user experience. πŸ“¦πŸ’Ό View Code
  • Responsive Website Design: Focused on making the site fully responsive to ensure it is accessible on various devices and screen sizes. πŸ“±πŸ’»
  • Dynamic Meta-Tags Integration: Implemented dynamic meta-tags to improve SEO and ensure that content is accurately represented across social media platforms and search engines. 🏷️🌐

Sponsored Tracks

  • Avalanche Network Features

    • User Onboarding: Streamlined onboarding process including OpenAI's DALL-E for personalized avatar generation.
    • Dynamic Avatar Generation: Integrated directly into the onboarding process, leveraging OpenAI's DALL-E to provide users with unique, personalized avatars as they join.
    • Purchase Subscription: Utilizes Chainlink's price feeds and CCIP for cross-chain subscriptions, ensuring users can subscribe to content across various blockchains.
    • Contracts
    • UserOnboarding Contract: Generates user profile NFT with Chainlink functions and OpenAI's DALL-E to generate random avatar art.
    • Subscription Contract: Manages subscriptions with functionalities enhanced by Chainlink's price feed and CCIP.
  • Moonbeam Watch the Video

  • Polygon Amoy

    • Focuses on CCIP-enabled transactions for enhanced cross-chain communication and interoperability.
    • CCIP Gateway Contract: Enables cross-chain interactions using Chainlink's Cross-Chain Interoperability Protocol (CCIP).
    • Address: 0xa52309ed1de8781cbeecef9d05b4b09b209b2493
  • Cardona zkEVM

    • For our dedicated Cardona marketplace (MVP), we've established contracts:
    • mUSD Address: 0x3FA6cfdC28Ad346c4360AA0543b5BfdA551c7111
    • BlockTease NFT Address: 0x5192Ffbc96b2E731649714B7b51d4cC4CA1fAB8F
    • Marketplace Contract: 0x054ba199Ef61ef15226e2CeB61138f7d5E2F8408
  • Zk-Sync

  • Metis Watch the Video

These achievements reflect our commitment to pushing the boundaries of what is possible in the merging worlds of content creation and decentralized technology. Each milestone not only improves the platform’s robustness but also enhances the overall user experience, driving us closer to our vision of a fully integrated Web3 content platform.

What We Learned

Our journey developing BlockTease has been rich with insights, particularly in the technical and operational aspects of blockchain integration:

  • Chainlink Automation Efficiency: We mastered using checkUpkeep to efficiently manage subscription renewals, reducing gas costs and optimizing contract performance.

  • Cross-Chain Transactions: Tackling the complexities of cross-chain transactions taught us valuable lessons in blockchain interoperability and the nuances of using Chainlink CCIP.

  • Dynamic NFTs and User Engagement: Integrating dynamic NFTs highlighted the importance of real-time content generation in enhancing user engagement and platform scalability.

  • UI/UX Balancing Act: We learned that simplifying complex functionalities without compromising the user interface is crucial for user adoption and satisfaction.

  • Security and Scalability Challenges: Enhancing security and scalability helped us understand the importance of robust architecture to support a growing user base while maintaining performance.

These learnings not only improved BlockTease but also equipped us to face future challenges with greater confidence and efficiency.

What's Next for BlockTease

As BlockTease continues to evolve, we are excited about the roadmap ahead:

  • Expanding Creator Onboarding: We aim to simplify the onboarding process further to attract a diverse range of creators from various genres and regions, enhancing our content variety and reach.

  • Legal Compliance and Regulations: Strengthening our compliance framework to ensure all operations adhere to the latest legal standards, particularly in new markets we plan to enter.

  • Technological Enhancements: We plan to integrate additional blockchain networks to increase transaction flexibility and improve system resilience against network congestion.

  • Marketing and Community Engagement: Increasing our marketing efforts to boost platform awareness and engaging more actively with our community to foster a supportive ecosystem for both creators and users.

  • Innovative Features Roll-out: Introducing new features that leverage cutting-edge technology to provide unique value propositions and improve user experience.

These initiatives are designed to solidify BlockTease's position as a leader in the decentralized content platform market, ensuring long-term growth and sustainability.

Built With

Share this project:

Updates