π©βπWorkflow in Action
Theoretical Workflow
Detailed Workflow
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.
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.
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
Phase 1: Development and testing of smart contracts on Avalanche testnet.
Phase 2: Integration of IPFS and Pinata.
Phase 3: Frontend development and API Gateway setup.
Phase 4: Integration of Chainlink Functions and VRF.
Phase 5: Comprehensive testing and deployment on Avalanche mainnet.
Phase 6: Post-launch monitoring, feedback collection, and iterative improvements.
Last updated