diff --git a/SubFlow.md b/SubFlow.md new file mode 100644 index 000000000..70b909419 --- /dev/null +++ b/SubFlow.md @@ -0,0 +1,250 @@ +# SubFlow: Web3 microblogging Smart Service + +- **Team Name:** deus4 +- **Payment Address:** 11oj3RchYvUPxLdfRoCa1Q6V6kFTfSikVSAcpe56sk8f8z4 POLKADOT +- **[Level](https://github.com/w3f/Grants-Program/tree/master#level_slider-levels):** 2 + +## Project Overview :page_facing_up: + + +Empowering Connections on the Decentralised Web: SubFlow, Your Smart Social Network. + +### Overview + +With the growth of the Democratic deficit, the rise of autocracy and the total disability of the overgrown bureaucracy all over the world, the same trends are evident in the structure of the internet and today's social media platforms. + +SubFlow aims to develop a decentralised social media platform that empowers users with control over their data and interactions. The protocol will be distinguished from other platforms by its foundation of decentralised ownership and censorship resistance. It will offer a seamless experience for sharing multimedia content, engaging with other users through such interactions as "likes" and comments, and conducting direct token transfers. + +SubFlow will be developed as a set of Smart Services, providing users the ability to interact with other users through communication, as well as interact with other services in the Polkadot ecosystem based on an open API: marketplaces (showcasing, buying, and selling NFTs), DeFi services (buying and exchanging tokens), games (authorisation, messaging), and so on. + + +### Project Details + +The system consists of two parts: + +- **The client application (webApp)** provides convenient access to the functionality of the system core for the user. + +- **The system core** is a set of smart contracts deployed on the blockchain, which store data and implement rules of user interactions. + +The functionality of the system can be divided into three logical user roles: + +- Author functionality +- Reader functionality +- System administrator functionality +
+

+ +

+
+

+SubFlow: Use Case Diagram +

+
+ +The functionality of the author and system administrator will require user authorisation in the system (administrating functionality will be transferred to the DAO-smart service for community governance in the future). + +### Structure + +SubFlow is a fully decentralised application based on SmartSOA (smart service-oriented architecture), it's core smart servies include: +- **DNS**
Maps user names to their corresponding addressed for personal Smart Services. +- **Registration Service**
Registers new users with DNS and sets up their personalised Smart Services. +- **User Smart Services**
Store, manage, and enable user data interaction. + +Other Smart Services provide additional functionality, for example:
+- **Advertising Service**
Enables advertisers to create and run campaigns on SubFlow, rewarding users who share their content according to set rules. +- **Donation Service**
Allows users to financially support content creators they find interesting directly. +- **NFT Markeplace Service**
Facilitates the direct sale of NFTs created by authors on SubFlow. +- **Voting Service**
Allows users to participate in voting. +
+

+ +

+
+

+SubFlow: Component Diagram +

+
+ + +### Technology Stack + +- ink! Smart Contracts +- Rust +- Substrate +- IPFS +- html/css/js/frameworks for the frontend + + +### Ecosystem Fit + +Decentralised social networks are essential for resisting censorship, especially in regions where internet freedom is threatened. The rising trend of such censorship is alarming. However, SubFlow aims to bolster the potential of the Polkadot ecosystem, enhance user engagement, promote cross-chain interoperability, and uphold privacy and data ownership.
+ +The SubFlow team has collaborated with [Subsquid](https://www.subsquid.io/) and [SubSocial](https://subsocial.network/) to gain a deeper understanding of the Polkadot ecosystem and determine SubFlow's compatibility within this space. We maintain regular communication with these partners regarding adjustments to the technological structure of the protocol and updates to the Grants Program application. Both Subsquid and SubSocial are essential to SubFlow's developmental roadmap.
+ +In addition to [Subsquid](https://www.subsquid.io/) and [SubSocial](https://subsocial.network/), we've identified other potential collaborators and are eager to begin engaging with them. We're confident that a decentralised future is possible only through the collaboration of decentralised teams and the automation of services. This understanding has driven our commitment to the concept of Smart Services within the Polkadot ecosystem, which is well-known for its autonomy, activity, and support for developers.
+ + + +## Demo: Web UI ## + +
+

+ +

+ +

+Feed wall view +

+
+ + +

+ +

+

+User page view +

+
+ +
+

+ +

+ +

+User edit profile view +

+
+ +
+

+ +

+ +

+User profile +

+
+ +## Team :busts_in_silhouette: + +### Team members + +- Core Team: + - **German Korjagin** + - **Sergei Pangin** + - **Slava Puganov** +- Advisory Board: + - **Oliver Fohrmann** + +### Contact + +- **Contact Name:** German Korjagin +- **Contact Email:** g.ko@deus4.com +- **Company Website:** https://deus4.com + +### Legal Structure + +- **Registered Address:** Lastekodu 41/1, Tallinn, Estonia 10113 +- **Registered Legal Entity:** deus4.com OÜ + +### Team's experience + +- **German Korjagin**
15 years of experience in data science, analytics, software and business development. Expertise in cyber security, digital payments and analytics. Proficient knowledge of blockchains and DAGs.
+ +- **Sergei Pangin**
Skilled and qualified software developer with 20+ years of experience and the practice of software design, project management and team leading, proficient in financial services development, with in-depth knowledge of IOTA, Ethereum, and Tezos platforms. + +- **Slava Puganov**
Adaptable Full-Stack developer specialising in front-end and back-end development. Expertise in fintech, cyber security and +software architecture, ensuring robust and secure software solutions.
+ +- **Oliver Fohrmann**
Oliver is the team's Rust, ink! and Polkadot development technical advisor.
Systems Architect and Engineer with experience in Ethereum, Solana, IOTA and Polkadot. Expertise in cyber security, MedTech and software architecture.
+ +### Team Code Repos + +- https://github.com/deus4
+- https://github.com/opdev3
+- https://github.com/opdev7
+- https://github.com/vendev1
+- https://github.com/HelixNetwork/pendulum
+ +### Team LinkedIn Profiles + +- https://ee.linkedin.com/in/german-korjagin-833ab8236 + +## Development Roadmap :nut_and_bolt: + +The team plans to release the system sequentially in two versions:
+ +- **Beta Release:** Includes implementation of the main functionality of the system for readers, authors, and system administrators, which will allow functionality testing for each user role and obtaining initial feedback from test users.
+ +- **Release Version:** This release will include enhanced functionality from the beta release, with additional features for all user roles. Administrator functionality will be limited in terms of access to user data for the reader and author roles. Full documentation will be provided and the final product will be a fully operational dApp.
+ +### Overview + + +- **Total Estimated Duration:** 3 months +- **Full-Time Equivalent (FTE):** 3.5 FTE +- **Total Costs:** 30,000 USD + + +### Milestone 1 — Beta Release + +- **Estimated duration:** 2 months +- **FTE:** 4 FTE +- **Costs:** 20,000 USD + + +| Number | Deliverable | Specification | +| -----: | ----------- | ------------- | +| 0a. | License | MIT | +| 0b. | Documentation | We will provide the documentation of the code and a basic tutorial, which will show how the functionality works. | +| 0c. | Testing and Testing Guide | Core functions will be covered by comprehensive unit tests to ensure functionality and robustness. In the guide, we will describe how to run these tests. | +| 1. | System design | Definition of the various components of the service will interacting with each other, data storage, and how users will be able to interact with the system. A detailed technical roadmap for how the systems we build. | +| 2. | User registration and user profile | The ability to create and customise a user profile, which is one of the core features of the present and future product roadmap. | +| 3. | Posting functionality | This functionality allows users to write and publish posts. | +| 4. | Interactive posting interactions | Functionaltity for interactions with posts, such as *comments*, *reposts* and *likes*. | +| 5. | System users interaction | Basic functionality for direct interactions between users, such as *search* and *follow*. | + +### Milestone 2 — Release Version + +- **Estimated duration:** 1 months +- **FTE:** 3 FTE +- **Costs:** 10,000 USD + + +| Number | Deliverable | Specification | +| -----: | ----------- | ------------- | +| 0a. | License | MIT | +| 0b. | Documentation | We will provide the documentation of the code and a basic tutorial, which will show how the functionality of the second milestone works. | +| 0c. | Testing and Testing Guide | Core functions will be covered by comprehensive unit tests to ensure functionality and robustness. In the guide, we will describe how to run these tests. | +| 0d. | Article | We will publish an article that explains what was built, what was done/achieved as part of the grant, and team's development plans for the future. | +| 1. | Multimedia posting | Support for images and youtube videos. | +| 2. | Interactive posting interactions II | Adding an author to *favorites*. | +| 3. | Direct token transfer | The functionality which allows users to transfer Polkadot tokens to other users without leaving the service, as well as to send and receive donations in these tokens. | +| 4. | User statistics | Number of posts, replies, likes, followers etc. | +| 5. | Functionality for the administrator | Interface for users authorised as system administrators. Functionality is designed to ensure optimal system operation and provide convenience for other user roles in the system: reader and author. | +| 6. | Website | Domain and a simple UI for users to start using the service. | + + +## Future Plans + +**1. Registration Smart Service (working title - identikit)**
+- NFT/SBT user account-profile functionality development; +- Plug-and-play system development for the purpose of integrating different services within the Polkadot ecosystem; +- Separating the functionality into a standalone service (working title - “identikit"); +- Creation of API tools for third-party developers to interact with the service; +- Audit of the service; +- Opensource’ing it all. + +**2. New SubFlow structure**
+- Personal service-contract: + - Implementing a separate user-specific smart contract to enable decentralised data processing and ownership. Users will have control over their data and can assign roles to others, customising their service according to their needs. + - This will enhance security and facilitate future feature development. +- NFT-posting (possibility to mint NFT-post (text, images, etc.)) directly from the user's personal service contract. + +**3. New functionality and Integrations**
+- New structure will allow development and launch of API for interacting with other blockchain services such as SubSocial and SubSquid (and othrers). +- Extended functionality for token transfers. +- Integration of an already existing service in the Polkadot ecosystem for voting. +- Advertising Smart Service development for the direct interaction between creators and advertisers. +- User interface web updates.