Decentralized Social Networks
Urbe for Students 2023 · May 2023 · 19:32
limone.eth compares how social networks handle ownership, privacy and censorship, from centralised Twitter to the federated model of Mastodon and Bluesky, and then to Farcaster. He shows how Farcaster keeps only its name registry onchain and runs the rest on a separate decentralised network, which he calls sufficient decentralisation, in an Urbe for Students session.
Speakers
Topics
From Urbe for Students 2023, hosted by Urbe.eth.
Transcript
[Music] foreign so yeah again I'm gonna be talking about the centralized social networks and so how we can you can use this technology to create um social networks where there's more privacy ownership over your data uh censorship resistant and a lot of cool properties and Concepts that per Giorgio talked about earlier so I'm gonna be talking about Twitter as a centralized social network example moving to Mastodon which is a Federated model which has some pros and cons with respect to Twitter and then uh going
along with the decentralization Spectrum I'm gonna be talking about forecaster which is to me one of the best examples uh so far in this in this space um but it's still like so so Nation so just to start um we know already from what the Georgia said that centralization is not ideal but it's also hard to avoid for many reasons this technology is not ready to be used by uh in mainstream by mass adoption you know but we also know that whoever owns a platform whoever owns a company controls everything on it in this example of Elon Musk I'm referring to any both Twitter and he was able to
change all the rules in the platform is controlling the namespace meaning that uh you can ban you you can suspend you you can I don't know Shadow ban remove your post sensor uh your your speech he also controls the network and the protocol meaning that if you are a developer and you want to build on top of Twitter you need to ask for an API key and you don't know uh if you're getting it and even if you get it you only see the data that they want you to see and use because of competitive reasons of course and so centralization is it's a problem and a lot of users are being affected by what is doing on Twitter but I'm taking Twitter just as an example because the same models for Instagram Snapchat WhatsApp LinkedIn
whatever the other problem with with this centralized platform is that they are wallet Gardens meaning that the information is not portable if you don't like what a platform is doing what a company is doing and their Direction and the rules you have no choice unless moving into another platform but it's it's painful because you you need a way to migrate your data and migrate your followers and you can do anything with that so it's it's bad for users um and that's why I believe that we should really be striving to build more open protocols and not platforms that are locking ourselves into centralized Services
um because simply because nobody can buy TCP or SMTP and change the rules while everybody can buy like you know Twitter you buy Twitter and you change how it's working the um the platform or the services but that said even open protocols like SMTP as I've been saying before they are not immune to centralization because we know that for example email and browsing they are heavily centralized on on Google just because we all use or at least most of us use Gmail and chrome with respect to Outlook or I don't know Yahoo or other Savages but at least they allow us to move and switch between competing clients and I can still communicate with let's say that I'm
using Gmail I can still send you an email if you're using another provider and that's that's okay because then it's up to the user to decide whatever whatever they prefer and also my migrating their data on the new service then after the centralized model we have these fedivers the Federated model which is common for Mastodon how many of you know about Macedon I've heard about it no okay yeah Mastodon is one of the main examples using this Federated model out there and I believe that one year ago a lot of people were migrating out of Twitter to move into this uh new uh social network um thinking that it was a decentralized
environment well it was a Federated environment so the fedivers which is um an example on on which masterton has been built of is a collection of tools and platforms that you can build using the activity Pub protocol which is an open source protocol with API specifications to connect clients and servers and let them interact in a way that everybody in theory can spin up a server an instance and build their own social network this will say that on most of them for example you have many servers run by individuals while on Twitter you have a single server a single feed and a single experience
um of course these are some improvements and but also a lot of drawbacks starting from the lower the drawbacks one of the main problems is still centralization because since it's technically challenging to run an instance on Macedon people tend to use an existing instance meaning that there are three or four popular instances like macedon.social macedon.heart that aggregate a lot of the users in the protocol and uh this is a problem because if that instance for example muscle under social goes offline or is purchased by a bad actor users using the distance are affected uh in a negative way of course but at least on Mastodon it's somehow
he's here with respect to Twitter to migrate your data on a new instance if you don't like uh the previous one but still on masteron you cannot migrate everything you can only migrate followers but you cannot migrate your username your posts your likes whatever you produced is stuck in that instance and if that instance for some reason disappears because I mean I'm running these instance at my uh at my place I have this server at home and at some point I decided I don't want to do it anymore you lose all your data and this is bad because you cannot do anything with it the other problem is about communication because again about the centralization issues here and in the Federated model
the problem is that you don't have a single point of failure you have many point of failures so all the Eastern season are small small point of centralization where the admins can do whatever they want so they can decide which instances can communicate with their users or they can also decide to suspend your account because you are you know publishing the the wrong stuff and there's also a problem of privacy because there's no end for an encryption and you're trusting this guy is running an instance at their at their place or whatever they are doing uh and they can read your data you are trusting that they are doing something to prevent other breaches there you are trusting them that they are not selling your data
or doing anything bad with it uh but this is not just a mastodon problem Twitter is the same problem Instagram is the same problem Tick Tock whatever the problem here with Macedon is that you're moving from trusting a big company public company exposed and regulated to trusting some Hobbies running their own server and so it's to me it's even like worse than using a centralized provider there are other protocols before going deep down into forecaster and the blockchain space for social networks for example there's Blue Sky which is a protocol born inside Twitter so there was a team in the Twitter uh company
developing these open source protocols and now they are a standalone team which is also backed by Jack Dorsey one of the Twitter co-founders and and they are using a Federated approach as well but they are trying to um make it easier to migrate your data make it easier to customize your experience on it so I believe it's a it's a good compromise and in in the last like months it's getting a lot a lot of tractions especially from users moving into this new Social Network and then that's also knows which is a a nice example but it's more like an and I'll be an OB protocol could to try but still very very niche Here Comes forecaster so forecaster is
the fourth example of sufficiently decentralized social network sufficient decentralization is is not a joke it's it's something really serious to me because it means that they are like trying to use the blockchain for just for what they need I mean there are other projects out there using blockchain and trying to decentralize everything for example this other protocol called lens which is building everything on top of the blockchain which is not so efficient well forecaster found a way to decentralize only the key components or of their system to offer uh key features like privacy ownership censorship resistance and everything we said so far
what does it mean sufficient decentralization so a social network achieves sufficient decentralization if two users can find each other and communicate even if the rest of the network wants to prevent it this means that at any point in time a user using a sufficient decentralized social networks should be able to reach Their audience and should be able to read messages from other people in the network how to achieve these sufficient decentralization first of all as a user I should be able to claim a unique username I should be able to post always post messages under that username and I should always be able to read messages from valid user names
and and I think that like the namespace is is really important here because for example talking about Twitter we have a unique namespace meaning that in the platform you can only have one I don't know pneumonia underscore eth as an endo but that can be revoked by the company owner on Mastodon instead you are in in general in Federated models you have that on each instance there's a unique namespace meaning that on macedon.social you can have lemon underscore it and it's owned by me but on another another instance there could be another person claiming my same angle and so this property it's not working there
while on forecasters that they they decided to move the the name registry so the handle thing and username on chain so they have a smart contract which is owned by nobody unless like the person claiming the um authorizing the transaction whatever so there's a single name space on the protocol it's not owned by a company or a single or a single actor but it's just owned by the people claiming those usernames so in this case uh I'm active on forecaster and I have my username attached and tied to my ethereum address for example together with a unique identifier another point to mention about forecaster is that is currently
invitally because it's kind of beta so it's not a final solution don't expect to find something really solid but it's still like the most solid one up there I'd say and it's not Twitter on the blockchain because again they are they built on the blockchain only the the name registry because it's the most important thing to provide again privacy ownership censorship resistance permissionless uh Innovation and whatever uh while the rest uh it's built on um on top of a decentralized network which is not a blockchain based Network which has like different you know synchronization mechanism data replication and whatever
so when you're posting to forecaster you're publishing content in this network and there are a set of nodes synchronizing with the status of the network and you can read from whoever you want and this because again the blockchain is a poor storage mechanism for user data for two reasons the blockchain is immutable this means that you cannot delete your posts on lens which The Social Network I was talking before you're publishing on the polygon chain this means that once you minted these nft as a as a post you cannot do anything with that it's there forever and it's bad for a social network user experience and it's also bandwid limited
because authorizing transaction on chain executing transaction on chain uh somebody has to pay for gas fees either the user or the or or the service provider whatever that's somebody that has to pay uh the nodes on chains or either like on ethereum or polygon uh you need to pay some fees to just create a post and it's not so it of course it's not scalable in terms of like the users using the platform why using blockchain for um for the name Regency so what's what are like the main pros of using uh blockchain as a storage mechan as a storage yeah mechanism for the name
Regency instead of using a MySQL instance mongodb whatever you you like the most um for two reasons again because the blockchain is distributed and uh and owner or less meaning that there's no single actor that can modify own or control the smart contract that records the namespace and the address is title which ID in the network and also because blockchains are permissionless in public meaning that at any point in time everyone everyone can access the state of the blockchain and check uh um for example which address is associated to my handle which others is
associated with my ID and without the need to ask for an API key you just need to spin up a node and and download the data and you can do it what are the key features of such a social network account ownership again because you are the only owner of your account avoiding recentralization because we talked about recenterization on Mastodon for example because of the problem of migrating data on forecaster there's no need for my for migrating data because everything like the name register is on chain so you just move between different clients let's say we have client a client B which are a mobile application and a web application you can just log
in with your with your address and you already have everything um at your disposal permission is innovation because everything is open uh without the need again to ask for an API if I want to build an application on top of forecaster I can just again connect with the nodes in the network read their data and provide whatever user experience I want to so there are people for example creating clients more like Instagram focused on images people creating uh platforms for events all on the same open protocol just like you have Gmail Outlook and uh I don't know Yahoo mail built on top of
SMTP uh on forecaster you have warpcast you have even Caster you have launch Caster built on top of the forecaster protocol censorship resistance and moderation because you cannot be banned by the on on the protocol from the protocol but you can be moderated by the clients meaning that let's say I'm using uh client a and the admin decide that I'm block listed for some reasons I can still access the same network of people and users uh just by downloading a new application that is built on top of the same protocol and then user experience also very important because on using forecaster but also
like other products that are coming out in these in these days thanks to account obstruction uh there's no need to know how to use the blockchain how to interact with a wallet and whatever because everything is happening behind the scenes the last Point uh before closing uh is about who is hosting and controlling the data again on Twitter data is owned and it started and owned by the company on Mastodon each instance admin is uh storing and owning the data of the resistance uh on forecaster that it is distributed and uh and replicated replicated across the network and about large media for example instead of using a centralized services
like Amazon buckets or Cloud energy or other services where you can store images videos or um large media again there are solutions like ipfs and our way which are more decentralized uh in that sense before concluding I want to mention that everything that I've said about forecaster about lens and these decentralized social network landscape is still Nation so they are all experiments uh someone better than the others but I believe that the most important thing is that they are all open so you can just study them and you might might get like inspired to build other things on top of them expanding
them and again permissionless Innovation so for customer may just be the start for another wave of social networks which are even better than it um some research opportunities I don't so something that might be interesting to go deep down this year because I believe that this year with some improvements on for example on ethereum chain regarding account obstruction will be really interesting to see how we can build uh social networks or like products with better ux would be also be interesting of course to study the whole social media landscape out there with all the pros
and cons in much more details data availability networks like what forecaster is building for example how is it working the the decentralized data network is it efficient or not how we can improve it or how we can be even more decentralized whatever and then of course all these Protocols are open source so you can contribute expand them build on top of them and and they are more than happy if you're doing so um so I believe that if you are curious about these topics of course reach out to me uh here's my my website with all my contacts telegram LinkedIn Twitter happy to help you and chat about these topics thank you [Applause]
foreign
Related talks
- Farcaster Onboarding
- Limone.eth - Social media protocols
- Intuition Towards a Trustful Interaction Layer | Billy Luedtke - Intuition
- How Onchain Goes Mainstream
- Building Mini Apps on Farcaster
- How Web3 Can Revitalize (Revolutionize) Journalism - Eric Mack
- From Platform Brutality to Streaming Alternatives
- Social Media Networks will be Decentralized | Andra Georgescu
- Growing the Infinite Garden with Knowledge
