Bild96 / unix-community

Open source community forum build with lukso-network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example Forum dApp

This repository is an example forum dApp built to showcase how Universal Profiles could function within fully decentralized applications. Users can log in with their extension to create LSP7 blog posts uploaded directly to IPFS and linked to a custom smart contract that inherits a Digital Asset Token.

Each blog post comes with a creation date and likes and can be the origin of multiple comments. All blog posts and comments can also be deleted by their owners. All the author information is fetched from Universal Profiles and the custom smart contract directly.

Admin Functionality: With the admin functionality, the owner of the forum contract has the right to delete posts and comments to maintain a healthy forum.

Learnings

  • How to extend LSPs with functionality
  • Integration of UPs into social media use cases
  • Sample dApp with the Next.JS (React) tech stack
  • Equal EOA workflow in terms of smart contract interaction

Live Demo

Deployed to the LUKSO example dApp section at examples.lukso.tech.

Showcase

Showcase Post Creation Showcase Browse Page

Local Development

Install

npm install

Run

npm run dev

Open http://localhost:3000 with your browser to see the result.

Production Build

This app is deployed as a static NextJS website.

npm run export

About

Open source community forum build with lukso-network


Languages

Language:Solidity 54.4%Language:JavaScript 39.0%Language:CSS 6.6%