Code Monkey home page Code Monkey logo

mixin-decentralization-bbs's Introduction

Mixin Decentralization BBS

基于 Mixin-Network 的去中心化论坛系统

概述

存储结构

一篇包含 标题主要内容以及评论的文章的存储结构,如下图所示(右键打开图片)。

将字符串压缩后拆散成每块字符长度不超过定长的段落,并在尾部添加下一个 chain 的 uuid,然后通过在转账时顺序写入 Memo,记录到 Mixin Network 上。

去中心化

  • Mixin-Network 主网未上线的阶段,在不公开 PrivateKey 的情况下,依旧是中心化运作。
  • Mixin-Network 主网上线后,会对外提供 TraceKey,允许外部访问和拉取全部的帖子列表、内容、评论(但存在效率的问题)

完成情况

  • 提供 Api 进行帖子的增删改查,是否允许删除仍在考虑
  • 提供 Api 进行帖子的评论,评论的删除和修改暂不支持

TODO

  • 点赞以及其他功能的构想
  • 未来会考虑向 基于 Mixin-Network-IPFS 的类似方案上面靠拢

LICENSE

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.