← Back to home

Web3 Community Buidler

Social media Dapp to bootstrap a community, with Blog, Comment, Search, Statistics and ERC20 functionality.

Screenshots

Web3 Community Buidler screenshot 1
Web3 Community Buidler screenshot 2
Web3 Community Buidler screenshot 3

Problem Statement

Spin up a community in fast manner through deployment of a contract and frontend to communicate with your audience in decentralized fashion. Use blog, comment, statistics, search and content encryption functionality. With the community there comes also a ERC20 token to check the decryption against if the reader owns a token amount above given threshold.As this was a solo hack, time constraints meant unfortunately not being able to include a chat functionality (through using xmtp) and including meetups (through using poap as attendance proof).

Solution

ComponentsIPFSPolygonTheGraphLit ProtocolSpheronOther toolsNextJsHardhatIPFS / FilecoinThroughweb3.storageall heavy lifting of data is done. On the network the main content of post and comments are stored. That means cover image files, encrypted string blobs and the collection of the data as json. Without it, a blog would simply not feasible to implement.PolygonThe contract is deployed on the mumbai test net. It's conveniently deployed.GraphIs used for indexing events and making them available for search & statistics.I introduce counter variables to track the number of entities to make them visible in the dashboard.Lit ProtocolIs used for post and comment content encryption. The user can choose if he wants to encrypt. Depending on that the content will be stores as plaintext on IPFS or the relevant encoding data of the content. The content then can be decrypted depending on having a certain token balance which the user can configure, e.g. the ERC20 token which is also deployed with this contract.SpheronIs used for deployment of the frontend.

Hackathon

HackFS 2022

2022

Prizes

  • 🏆

    🥈 The Graph — Best new Subgraph

Contributors