ICP-Hacker-House / ICP_Hacker_House_HK

Hacker Houses done by ICP Hubs
Apache License 2.0
3 stars 0 forks source link

A SocialFi DApp totally base on Actor model #12

Open NashAiomos opened 6 months ago

NashAiomos commented 6 months ago

Product Introduction

Now we are designing a decentralized social media called Proton based on the Actor model. First we need to understand the basic principles of the Actor model. The Actor model is a concurrent computing model that achieves parallel and distributed computing through message passing and asynchronous processing.

So when designing a DApp, each Canister should be responsible for a different functional module. For example, some Canisters are responsible for recording user profiles, some for storing posts. Also, pay attention to the scalability of the Canisters. We can dynamically create Canisters of the same type to handle high loads.

Design Philosophy

We want to build a truly open Web3 DApp that is modular and data sovereign based on the Actor model.

We hope that each user has their own independent space (Feed Canister) that they fully control. Users can even directly deploy their own independent Feed Canister with code to interact with Proton. (This is cumbersome, only suitable for programmer users, who can develop advanced custom features for the container.) This allows the community to create custom advanced features.

Presentation Slides

https://docs.google.com/presentation/d/1wNND_4PEwpPQtgMtN2IB_A7ehtONXOrQaZdDDl9EpJM/edit?usp=sharing

Code URL

https://github.com/NeutronStarDAO/Proton

Video demo

Promotional Video

Deployed URL

Frontend Canister : 2f64i-aaaaa-aaaan-qiu4q-cai User Canister : j6sa4-jyaaa-aaaan-qgjxq-cai RootPost Canister : lyksr-aiaaa-aaaan-qgj2q-cai RootFeed Canister : lrjzn-waaaa-aaaan-qgj3a-cai RootFetch Canister : l7luf-nqaaa-aaaan-qgj2a-cai PostFetch Canister : ldpou-2qaaa-aaaan-qgjya-cai CommentFetch Canister : lnnd4-baaaa-aaaan-qgjza-cai LikeFetch Canister : leoia-xiaaa-aaaan-qgjyq-cai