DEV Community

Ky Huynh
Ky Huynh

Posted on

Created a dApp storing data on Pinata - IPFS

What I Built

MilestoneMaker revolutionizes personalized learning by seamlessly integrating blockchain technology with AI-driven educational pathways. Our vision is to create a decentralized platform where learners can set their own goals, track their progress, and earn verifiable achievements, all while being guided by an intelligent AI agent.

At the heart of our platform lies IPFS, powered by Pinata, which serves as a crucial cornerstone for efficient, decentralized storage. This innovative approach not only reduces blockchain transaction costs but also enhances the overall user experience by leveraging Pinata's robust CDN and image optimization capabilities.

Demo

You can check this clip Youtube

  1. AI-generated content is stored on IPFS AI-generated content
  2. NFT metadata is stored on IPFS metadata 3. The certificate (NFT) is stored on IPFS NFT

My Code

Please check my GitHub repository:
Milestone-Maker

Architecture and Technologies

In this streamlined architecture, IPFS plays a crucial role in our decentralized learning platform:

high level architecture

Figure 1. High level architecture of Milestone Maker

  1. dApp: Interacts with the backend, blockchain, and IPFS.

  2. Backend Server: Manages AI agent and smart contract interactions.

  3. Blockchain: Stores user learning progress via smart contracts.

  4. IPFS: Serves as the decentralized storage layer for user learning content.

Tech stack:

  • IPFS Storage: Pinata's API
  • Frontend: Next.js with React and TypeScript, Tailwind CSS
  • Backend: Python
  • Smart Contract: Solidity
  • Blockchain Interaction: Web3.js
  • AI Integration: Hive-Agent Kit
  • Development Environment: Foundry

More Details

Our vision is to create a decentralized platform where learners can set their own goals, track their progress, and earn verifiable achievements, all while being guided by an intelligent AI agent. IPFS plays a pivotal role in this ecosystem by:

  • Optimizing Content Delivery: Utilizing Pinata's CDN ensures lightning-fast access to learning materials, regardless of a user's geographical location.

  • Enhancing Media Quality: Pinata's image optimization feature allows us to deliver high-quality visual content without compromising load times, crucial for an engaging learning experience.

  • Ensuring Data Integrity: IPFS's content-addressed storage guarantees that learning materials and NFT data remain tamper-proof and easily verifiable.

  • Facilitating Diverse File Support: Our platform leverages IPFS to store and manage a wide array of file types, including images, and documents, catering to various learning styles and content formats.

  • Improving Scalability: By offloading large data sets to IPFS, we significantly reduce on-chain storage requirements, making our platform more scalable and cost-effective.

This innovative use of IPFS through Pinata not only aligns with our goal of creating a decentralized and efficient learning ecosystem but also enhances the overall accessibility and usability of MilestoneMaker, setting a new standard in AI-driven educational platforms

Top comments (0)