On-chain review platform for food services industry. Leverage blockchain to allow reviewers to own and monetize their feedback, while ensuring transparency and providing reward-based incentives.
- Service Owner
- Lists their service on the platform
- Creates rewards pool to give incentives to reviewers
- Generates a Proof of Experience (PoE) NFT for reviewer who can burn it to submit a higher rated review
- Reviewer
- Writes reviews
- Collects rewards from writing their reviews
- Consumer
- Reads review to make inform decisions
- Pays to access premium reviews
- Rates a review by casting upvote/downvote
- Moderator
- Deletes reviews that contain inappropriate content
The project is structured into two main directories:
app/
: Contains the front-end code.move/
: Includes the smart contracts written in Sui Move.
To get started, you need:
- A Sui address with SUI coins.
- Sui Client CLI configured to connect to the Sui Testnet.
- A Sui-compatible wallet (like Sui Wallet).
- npm and Node.js installed on your machine.
Follow these steps to set up and interact locally:
- Switch to the desired environment with
sui client switch --env testnet|devnet
. - Ensure your active Sui address has sufficient SUI coins.
- Move to the
setup/
directory and follow the detailed instructions from the README file. - Deploy the contract and setup the environment with
./publish testnet | devnet
.
- Move to the
app/
directory and runnpm install
. - Open
api/.env
and addNEXT_PUBLIC_DASHBOARD_ID=deployed_dashboard_id
. - Make sure correct values are set in
app/.env
forNEXT_PUBLIC_PACKAGE
andNEXT_PUBLIC_SUI_NETWORK
.
The publish
script deploys the contract and initializes the environment. For more details, refer to the publish
README.
- Navigate to the
app/
directory. - Run
npm install
, followed bynpm run dev
for local testing. - Access the UI at
localhost:3000
. - You can follow the app/README.md file for more information.