πŸ‘©β€πŸ­Workflow in Action

Theoretical Workflow

Detailed Workflow

  1. User Query:

    • User queries business information via the React frontend.

    • The frontend sends a request to the API Gateway, which calls smart contracts on Avalanche to fetch existing data.

    • If data needs updating, Chainlink Functions fetch the latest information from the ChatGPT API, and the smart contract updates the blockchain records.

  2. Review Submission:

    • User submits a review via the frontend.

    • The review data is sent to the API Gateway, which calls the smart contract function on Avalanche to store the review.

    • Review content is stored on IPFS, with the hash recorded on the blockchain.

  3. Reward Distribution:

    • Periodically, or based on specific triggers, the system requests randomness from Chainlink VRF to select businesses for rewards.

    • Selected businesses receive tokenized rewards, distributed via smart contracts on Avalanche.

High-Level Roadmap

  1. Phase 1: Development and testing of smart contracts on Avalanche testnet.

  2. Phase 2: Integration of IPFS and Pinata.

  3. Phase 3: Frontend development and API Gateway setup.

  4. Phase 4: Integration of Chainlink Functions and VRF.

  5. Phase 5: Comprehensive testing and deployment on Avalanche mainnet.

  6. Phase 6: Post-launch monitoring, feedback collection, and iterative improvements.

Last updated