⚙️Key Components & Architecture

Key Components

  1. Avalanche Network

  • User Profiles: Smart contracts to manage user profiles, including reputation scores and review history.

  • Company Profiles: Smart contracts to store and manage business data, fetched via Chainlink Functions and updated based on user reviews.

  • Review Submissions: Users can submit reviews stored on IPFS, with references on the blockchain.

  • Tokenized Rewards: Businesses that respond to user concerns receive tokenized rewards, selected randomly via Chainlink VRF.

  • Utilizing the Avalanche CLI: installing in root directory of project

  1. Chainlink Services:

    • Chainlink Functions: Used to connect smart contracts to off-chain APIs like ChatGPT for fetching business-related data.

    • Chainlink VRF: Provides verifiable randomness to ensure fair selection of businesses for rewards.

    • Chainlink Data Feeds: Optional, & in the different variations attempted, this was one of the features I wanted to get into the application to ensure affiliates could and would interact with the token through offering more functionality

  2. IPFS and Pinata:

    • IPFS: Decentralized storage for business information and reviews, ensuring data availability and integrity.

    • Pinata: Manages pinning on IPFS to ensure data persistence.

  3. Frontend Development (React):

    • User Interface: Built using React for a responsive and user-friendly experience.

    • API Gateway: Facilitates interaction between the frontend, smart contracts on Avalanche, and IPFS.

  4. QuickNode:

    • Blockchain Interaction: QuickNode provides high-performance and reliable access to Avalanche nodes, handling transaction broadcasting, confirmation, and data retrieval.

  5. OpenAI API

    • Connection: with dApp through the Chainlink Functions mentioned above

    • Training: of Chat GPT Ai model to search for specific queries

Last updated