Skip to content

BlockTease-BlockMagic/block-tease-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💘 BlockTease 💌

Welcome to BlockTease — the ultimate fusion of OnlyFans' 🕊 charm with the transformative power of Web3! 🚀🌐 Dive into a world where privacy, decentralization, and seamless interactions are not just ideals but vibrant realities.

image

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. Will it be you this time?


Avalanche Network

Overview

The Avalanche integration focuses on user onboarding and content interaction within a high-performance blockchain environment. It includes advanced features such as DALL-E integration for avatar creation and cross-chain subscription functionalities.

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 --> openAI dalle to generate random avatar art
  • Subscription Contract: Manages subscriptions with functionalities enhanced by Chainlink's price feed and CCIP.
    • Address: [Insert Address]

Sepolia Network

Overview

Sepolia serves as the base layer for NFT minting and marketplace functionalities within BlockTease. It supports liquidity from all CCIP-enabled chains, allowing for a robust trading and subscription environment.

Features

  • NFT Minting and Marketplace: Central hub for creating and trading NFTs.
  • MockUSD: Utilized for all transactional tests and purchases within the network.
    • Address: [Insert Address]
  • Marketplace Contract: Facilitates the buying and selling of NFTs.
    • Address: [Insert Address]
  • BlockTease NFT Contract: Repository for all model-related NFTs.
    • Address: [Insert Address]
  • Chainlink Price Feeder: Integrates Chainlink price feeds for accurate native payment processing.

Polygon Network

Overview

On Polygon, the focus is on providing seamless subscription services through the use of Chainlink technologies, enhancing both the efficiency and reliability of transactions.

Features

  • Purchase Subscription: Leverages Chainlink price feeders and CCIP for efficient cross-chain subscriptions.

Contracts

  • Purchase Subscription Contract: Utilizes Chainlink technology for accurate and efficient subscription management.
    • Address: [Insert Address]

zkSync Network

Overview

zkSync is leveraged for its Layer-2 scaling solutions, providing cost-effective transaction capabilities for subscription services.

Features

  • Subscription Services: Efficient and cost-effective subscription management on a Layer-2 platform.

Contracts

  • Subscription Contract: Manages subscription processes efficiently on zkSync's Layer-2 network.
    • Address: [Insert Address]

Moonbeam Network

Overview

This project demonstrates the interaction with smart contracts deployed on the Moonbase Alpha Testnet. Moonbase Alpha is the test network (testnet) for Moonbeam, providing a blockchain environment that supports Ethereum compatible smart contracts.

Features

  • Smart Contract Interaction: The script provides functionalities to interact with pre-deployed contracts on the Moonbase Alpha Testnet, performing batch transactions to streamline processes such as token approvals and subscriptions.
  • Batch Transactions: Utilize a precompiled batch functionality to execute multiple contract calls in a single transaction, reducing gas costs and improving transaction efficiency.
  • Gasless Transactions: Features a gasless precompile to fund the gas fees of batch transactions, enabling users to execute operations without the direct cost of gas.

Contracts

The project uses the following contracts deployed on the Moonbase Alpha Testnet:

Getting Started

To interact with these contracts, you will need to set up your development environment:

  1. Install Dependencies: Make sure you have Node.js and npm installed. Then run npm install to install the required dependencies including Hardhat and Ethers.js.
  2. Configure Hardhat: Set up your Hardhat environment to connect to the Moonbase Alpha Testnet. Modify your hardhat.config.js to include network settings for Moonbase Alpha.
  3. Run the Script: Execute the script using Hardhat's command line tools. For example, npx hardhat run scripts/GassLessbatchTxn.js --network moonbasealpha.