This is the official ETHCC Hackathon 2022 submission for our project Debate3 🌈.
Debate 3 is a Decentralized, gated forum generator , where owners/moderators of DAOs and protocols can come and open their forums. Each forum is nft-gated, when a moderator opens a forum, an NFT contract is deployed and where moderators can give Badges to members of a specific forum. The reputation score is relative to the ownership of these Badges that are are displayed in the UI to show the “trustworthy” level of each member. Similarly, this badges are used for claiming certain membership or having some privileges in our main protocol.
We have used [Orbis SDK] as the backend provider for forums(https://orbis.club/developers) to build the scoped commentary sections / comments with a decentralized Forum Factory created as NFTs (for this time we also allow moderators to mint nfts using the baseURI instead of customized URIs) and that allow the members who have verified the Proof Of Membership (hold at least one type of NFT for this specific Forum) to get Badges (Bronze , Silver and Gold) stored in IPFS as 1155s minted as tokens. The Badges are upgreadble :
- 5 Silver Badges can be upgreadable into 1 Bronze Badge (utility : In case someone opens a discussion or a forum for people who hold a silver badge or better, you would be able to access this).
We have chosen to use privy to store the details of each forum. We also wanted to secure our batch mint for the ERC1155, we have used Vyper who provides contracts less prone to attacks. For deployment we decided to let an overall choice for the user to create his Forum in a multi-chain world of possibilities. We offer :
Those deployments were done using Hardhat and Truffle. A detailed SetUp for the deployment with Truffle is available in the Truffle.md repository.
- Create a Forum minted as an NFT in IPFS and selecting up to 5 moderators.
- Moderators can provide membership or revoke membership to users, assert badges to users with a Proof of Contribution.
- Users will have their contribution score updated, this contribution score is stored only in the forum contract, so contribution score inside a forum is not related to the number of badges they have inside the protocol.
We are planning to add many features such as :
- Fund Distribution Support : random airdrops done by moderators based on reputation scores.
- Proof Of Humanity using Kleros Technology : reality.eth
# Install pnpm
npm i -g pnpm
# Install dependencies
pnpm install
# Copy & fill environments
cp packages/frontend/.env.local.example packages/frontend/.env.local
cp packages/hardhat/.env.example packages/hardhat/.env
# Generate contract-types & start frontend with turborepo
pnpm dev
You can take a look at our Proof of Equilibrium Proposal
Twitter : debate3
- Twitter survey : https://twitter.com/debate3_/status/1551063166485921793
Preferred contact information : You can contact the team on the address : [email protected]