Welcome to the Linked Trust Content Moderation project! This project aims to provide a secure and efficient way to moderate content combining blockchain and Human Protocol technology, to ensure accurate and transparent content reviews. It facilitates content review tasks, enforces moderation rules defined by group owners, and ensures fair compensation for content workers.
- Features
- Getting Started
- Architecture
- How to run the Repute Launcher & Exchange
- Contributing
- License
- Acknowledgements
- Group setup and moderation rule definition by group owners.
- Escrow-based funding of content moderation tasks.
- Integration with a human protocol for content review.
- Content reporting by users, triggering content moderation tasks.
- On-chain job registration, routing, and settlement.
yarn dev
The content moderation process takes advantage of Human SDK and Human Smart Contracts.
- Set up Accounts: In Metamask, create 3 accounts: 1 account for the Job Creator and 2 accounts for Moderators .
- Fund with Matic: Add Matic to the Job Creator's account using the Polygon Scan faucet
- Token Setup:
- Click 'Import tokens' in Metamask.
- For
Token Contract Address
: input HMT token address on Mumbai0x0376D26246Eb35FF4F9924cF13E6C05fd0bD7Fb4
- Set
Token Symbol
asHMT
. - Click Add custom token.
- Repeat for both Moderator accounts.
- Test HMT Acquisition:
- Visit the Human Faucet Human testnet Faucet
- Insert the Job Creator's account address.
- Receive test HMT tokens.
- Access Launcher:
- Visit Repute Social Launcher
- Sign in using the Job Creator account.
- Create a Group
- Fill in the necessary group details.
- Click 'Fund and Request Group'.
- Note down the displayed group ID.
-
Generate API KEY and copy it.
-
Job Creation via API:
- Navigate to the job dashboard in the Launcher.
- Select View Details for your new group.
- Click Create Job and choose Open Swagger.
- In Swagger UI, use the /groups/{groupId}/jobs API.
- Copy your API KEY in Authorize.
- Click Try it out and replace {groupId} with your actual group ID.
- Hit Execute to create the job.
- Adding Workers to Group:
- Back in the Launcher, inside the group details, click 'Add Worker'.
- Add both Moderator accounts (Worker 1 & Worker 2) to this group.
- Moderator Review:
- Open the Moderator app
- Sign in as Worker 1.
- Choose your group from the dropdown.
- View the job, then mark as
Risk
orNo risk
.
- Second Moderator Review:
- Logout as Worker 1.
- Sign in as Worker 2.
- Repeat the review steps.
- Verify Token Receipt:
- Ensure both Worker 1 and Worker 2 received HMTs in their Metamask wallets.
We welcome contributions to improve and expand this project. To contribute:
- Fork the repository.
- Create a new branch.
- Make your enhancements or fixes.
- Submit a pull request, describing your changes.
This project is licensed under the MIT License
We would like to acknowledge the generous support of HUMAN Protocol in completing this work and in support of the team at Repute.Social in putting it to use!