/edu.near-hackathon

Marketplace for Content Creators! We empower creators to share their tutorials while enabling distributors and YouTubers to access and distribute valuable content. Built on NEAR blockchain, with a React frontend, Node.js backend,. Creators earn revenue through tutorial sales and royalty, and distributors can leverage there large network

Primary LanguageC

logo


Edu.near

This project is a marketplace where content creators can upload tutorials, and distributors or YouTubers can purchase them for a certain amount. The distributors can further provide view access to the purchased content to end users. Whenever an end user purchases a tutorial for viewing, a royalty fee is paid to the original creator. Additionally, the platform charges a fixed percentage for all transactions.

The project is built using the NEAR blockchain for smart contract functionality. The frontend is developed using React, while the backend is implemented using Node.js. The cloud services are provided by Azure. The course data, including images and videos, are stored on the cloud, and their unique identifiers are stored in a smart contract. The backend interacts with Azure to render and upload videos and images, and it also includes functionality to stream videos in bits.

Helpful scenario

The platform offers new creators a chance to earn more and gain exposure, while YouTubers can monetize their audience base and reach new viewers.

For New Creators:

  1. Opportunity for exposure to a wider audience.
  2. Higher earning potential through royalties, especially for creators without an existing viewer base.
  3. Building a reputation and gaining recognition in their field.

For YouTubers:

  1. Monetizing their existing viewer base through exclusive tutorials.
  2. Expanding their reach beyond YouTube to a broader audience.
  3. Collaborating with new creators for diverse content offerings.

Key Features

  • NEAR Blockchain: The platform leverages the NEAR blockchain for secure and transparent smart contract functionality, ensuring trust and accuracy in transactions and royalty payments.

  • React Frontend: The frontend is built using React, providing a seamless and intuitive user interface for creators, distributors, and viewers.

  • Node.js Backend: The Node.js backend handles the business logic, including uploading, rendering, and streaming videos and images. It interacts with Azure cloud services for efficient storage and processing.

  • Azure Cloud Integration: The platform utilizes Azure cloud services to store course data, including images and videos. The unique identifiers of these assets are stored in the smart contract, ensuring secure and efficient access.

  • Royalty System: A built-in royalty system ensures that creators receive a fair share of earnings when their tutorials are purchased and viewed. This incentivizes creators to produce high-quality content and rewards them for their expertise.

Directory Structure

  • contract: Contains the smart contract code.
  • backend: Includes the Node.js backend code.
  • frontend: Contains the React frontend code.

Getting Started

To get started with the project, follow the steps below:

  1. Install the necessary dependencies by running the following command:
npm install
  1. Deploy the smart contract to the NEAR blockchain using the deploy script:
npm run deploy
  1. Start the frontend by running the following command:
npm run start
  1. Start the frontend by running the following command in different terminal:
npm run frontend

Usage

Once the application is up and running, users can access the marketplace through the frontend interface. Content creators can upload tutorials, and distributors can purchase them. Distributors can then provide access to the purchased content to end users, who can view the tutorials by paying the specified price. Whenever an end user purchases a tutorial, a royalty fee is automatically paid to the original creator, and the platform retains a percentage as its transaction fee.

The backend handles interactions with Azure for rendering and uploading videos and images. It also enables the streaming of videos in bits for a seamless viewing experience.

screenshot 1 screenshot 2 screenshot 3 screenshot 4 screenhost 5 screenshot 6 screenshot 7