Extend the concept of subspaces #375
Replies: 2 comments 1 reply
-
Like you said, this is actually a good way to build a bridge with which old centralized social networks can start their transition to a more decentralised infrastructure.
|
Beta Was this translation helpful? Give feedback.
-
I think having a moderate-able subspace is important. However, how far should we go? Should we build this as a smart contract standard instead of a module? Each CosmWASM smart contract should have its own state. That may replace subspace and it could further represent the relationship between a dapp and the smart contract. |
Beta Was this translation helpful? Give feedback.
-
Context
Since Desmos is thought to be a protocol on top of which to create a lot of different social apps, in order to distinguish on which app users are creating posts we introduced the notion of subspaces. A subspace is currently represented by a SHA-256 hex-encoded string and identifies the app on which posts should be visualized or inside which a user has blocked another user. This value is then used inside posts, via the
Subspace
field.This naive implementation, however, allows any user to post on any subspace, creating the space for potential spam attacks. Image the following scenario:
Introducing permissioned and permissionless subspaces
In order to remove the possibility of external spam attacks, what we could do is extend the notion of subspace. What I'm envisioning is not a simple SHA-256 string, but a new entity that can even allow or disallow users from posting there.
I think that a subspace should be like a social network on its own:
For this reason, what I suggest is to create a new
x/subspaces
module inside which we allow the following operations:By doing this we would allow currently centralized social networks to transition to Desmos more easily than before by having their own permissioned subspace. Thanks to this concept, they would be able to move all their messages on-chain and have a custom tokenomic while preserving the ability to control the users actions by blocking eventual spam or other negative behaviors.
At the same time, since not all dApps might want that strict control, we should also allow subspace creators to specify that their subspace is completely permissionless, meaning that there are no admins and everyone is allowed to post inside there without any control (like it is right now).
I would like to know your opinions on this @kwunyeung @bragaz
Beta Was this translation helpful? Give feedback.
All reactions