How to get rid of 10 different messenger apps from your smartphone - Corpus.io

ETHPorto 2023 · March 2023 · 19:57

Steffen Kux and Eduardo Vega-Patiño of Corpus.io ask how to replace ten siloed messenger apps with one open standard. They explain what makes web3 messaging distinct, why interoperability and public goods matter, and how the dm3 protocol uses ENS as a decentralised registry for keys and delivery services. The talk covers embedded components for developers, gateways to other protocols and the roadmap, followed by audience questions.

Speakers

Topics

From ETHPorto 2023, hosted by ETH Porto.

Hardclub, Praça do Infante D. Henrique

Transcript

[Laughter] so before we even start um there is this conversation about how many messenger apps do you have in your phone or how many messenger apps you use for example I use WhatsApp to talk with my mother but for my American friends I use iMessage and this is becomes quite a hustle how about yourself and how many messenger apps do you have so I think on my phone I have at least 10 different messaging applications now for the family for the colleagues at work for for other communities I'm engaged with so it's really

one whole screen on my phone is dedicated to messaging and the situation here is that you cannot communicate in between these different apps so this will be the conversation for today how we get rid of these 10 different messenger apps um this is a little bit about where we're gonna have the conversation today about we are going to talk about the current problem of messaging what we are facing we are going to talk about um what is web 3 messaging and specifically and the basics of it we are going to talk about the solution that we are proposing today um we are going to talk about public goods we are going to talk about the roadmap and specifically what is the dm3 protocol which is the protocol that we

are representing today so to start we will start with this situation um we just talked about it too many apps yeah so so when we look in the current world of messaging where we see all these applications and they are siled now if I am using this one messenger I can send messages to others which are using the same message but I I'm not able to send a message across these ecosystems and I think this is a very important thing correct and and this is the idea that we should learn in web 3 about the mistakes that happens in web 2 yeah so so when we look in the we have three world so the last year was a very

special year so I think almost every week or every two weeks a new messaging protocol or messaging application appeared and we have now a lot of interesting protocols and tools using web3 Technologies and focusing on messaging but when we look at these tools we see they have actually the same problems as these web two tools that they are siled they have their own ecosystems but they are not able to exchange messages between these tools correct so basically we are perpetuating the situation that happens in web 2 which is the area of I use telegram or I use any other messaging app and I cannot communicate with you if you're not using the same app I am using and in web3 we

have great products we have great notification systems we have great value driven protocols but they are still working in silos yeah so so when when we look at these protocols so we see it is really important to be focused on your community and when we see all these tools they have their communities in web free actually it is communities are still very small but they are growing yeah but for the end user it is really important not to be part of a lot of communities but the end users should decide what is the best thing what I need for my work and then being able anyways to communicate with all others

correct and I think here is the point where we clarify just in the case of someone doesn't know what web3 messaging entitles for yes so when we talk about the three messaging of course we don't need a blockchain for the messaging there are some protocols which are using direct transactions but these are very special use cases normally when we talk about we have three messaging means we are using the three Technologies and adapt them to messaging now we have cryptography we have public and private Keys already for encryption we need these keys and so something what is really important we have in the web 3 world we have decentralized tools and this is a kind of strange but we need Central a central

registry for information for instance but a real central registry can only be decentralized because everyone needs to have access to this to this registry and we will later go a little bit deeper how we have or what is our proposal for this registry so we will say that basically what makes web3 messaging unique will be decentralization encryption and the registry yeah so what is really essential no we need information how to encrypt messages not the public keys from the partners we want to communicate with and we need information how to deliver messages and this is actually the essential part we need so there are also other things we

can do to make more privacy and so on but this is on top of it but the real essential part is how to find these keys for the encryption and how to find a place where to deliver a message and that leads to the idea that if we all aim for decentralization we all aim to this encryption that could lead also to a standardization yeah so decentralization of course is also one point we even have to mention when we look at the current systems on the market most of them are centralized products you have a centralized intermediate in between and you are dependent on this partner but then when we look

in the web3 world of course we want to use decentralization not as purpose on itself but in on purpose that it is good for the user so and then the question is yeah why standardization if we want to have this inter-exchangeable way to send message from one ecosystem to another we have only two options we could agree on one protocol and all applications are changing their protocol this will not happen or we have a protocol which makes it possible to exchange messages between protocols and services and applications and we think that a standardization for this exchange is really needed and with this we can

accomplish indoor probability between protocol services and applications and this leads to a question for public it I don't know guys if you are familiar with the area of a public good a public good is by definition a resource that is shared either by a community or either by an ecosystem and this resource cannot be um forbidden access to people people cannot be forbidden to access it and usually a public good doesn't generate Revenue um to this community so it's basically uh open source it's it's one of the standards of public goods and we chose this um to label as a public good because this idea of the standardization that we are

aiming at yeah so it's really important you know if you want to do something where a lot of different tools or applications want to join now you have open source applications they are Community Driven you have commercial applications but if you want to have such a common standard you need to have it as a public good so it must be completely free to use and everyone needs to be able to use it and also in the other direction if someone has an idea how it should improve this must also be possible and that's why a public good is the the best solution to establish such a way of indoor interoperability correct and that leads to one of the execution of these public goods which is

the messaging interoperability initiative it gets sometimes hard for me to pronounce uh but I think it's really interesting for us to deep a little bit deeper dig a little bit deeper into this initiative because it highlights one of the key parts of our conversation today which is interoperability yeah so when we look a little bit in the past so last year when we started with building our protocol now we also yeah we're thinking how to build a good messaging solution but very soon we discovered it is really more important to find a way how we can interact with others how we can build into operability and that's why we changed a little bit our focus and with the messaging

interoperability initiative we started to communicate with all players on this all but with as most as possible players in the web 3 world which are engaged with messaging and collecting yeah what is needed from them to be in the Opera with others so and what we did in the last months was to collect a lot of feedback and now incorporate this feedback in our protocol specification and now we have finished this together with a lot of other yeah teams so that they could input what is needed from their position and this is really important for us which is community building how do we build a public good with the community how we build something that benefits the entire

ecosystem from the from the ground and interoperability as we mentioned before is one of the core values of this protocol and this initiative I think it's extremely important just just to address this very simple idea if I am using let's say arbitrum or optimism and a messenger app there how can I talk with someone in an L1 yeah so so when when we talk about into a probability I mentioned it before so the user the end user should be the one who itself surveying deciding what tools is using and he should not be forced by a by a community that I had that he has to use other tools so that he can

communicate with this community so and when we talk about interoperability then it's also important that we find a way that all can include in the system without a big impact so if I have a strong impact which maybe is critical to the security then this will not work and that's why if we talk about indoor probability we should have a very lean base protocol a very lean based structure which can be used by applications but also gateway to other applications other protocols or even centralized services so that in the future maybe also these web 2 Services which are now centralized siled Services can join this initiative and build these

indoor or these gateways to these to this into our bubble Network and that leads to who is building this who is building this initiative and this is the dm3 protocol um you will see us wearing this purple shirt around the dm3 protocol it's um it's a group of people who are building this this idea is this duplicate we have from Myra we have a diverse group of people Myra we have Alex we have heiko people who is the human value driven this protocol and along other communities we are trying to build this uh from the ground yeah maybe let me give you a short insight to what we did with the dm3 protocol and why we

think it is really good to you could be used as this interoperability protocol so I said before the essential parts for messaging and secure messaging is that we have a central place where we can share the information for encryption and for keys for verifying signatures and that we have a structure where we can deliver messages and the dm3 protocol is using ens the ethereum name Service as this central registry yeah it's the central but decentralized registry and everyone which who has an ens name can share his dm3 profile his communication profile in

his ens name so that others can access this information and then send a message to a delivery service which is also mentioned in this profile and these delivery services that they are we call it sufficiently decentralized everyone can run his own he can adapt to an existing service or such a server or such delivers can also be a gateway to another protocol or service there you go and now for the problem is if it's a probably good and we cannot stop people to access it but how they can access actually a dm3 protocol yeah actually we have two all target groups from the dm3 protocol so the first we talked a lot about this already is that

other protocols so other services are joining this initiative by becoming dn3 combatable that means they have to in integrate their registry into ens and also have to install or develop a delivery service or dedicate can show in this network but also we are providing components for developers so we call it the tn3 embedded components so this is at the moment these communities exists for for typescript so these components you can use for your dab and with simply two lines of code you can integrate these in your in your tabs and can use a secure messaging out of the box so and

with this you you can build you look at in-app messaging you can Implement support messaging or whatever you need to do with messaging in your application and the good thing is if you use these components they are already compatible to the whole game three Network so all other applications which are tn3 combatable can receive the messages sent from your application so now the next question is where we are where we are right now with the M3 and what is incoming is some Alpha do you want to share yeah so as I said before last year we started with the development so we have built an MVP to

show how this protocol works this was mid of last year and then we started this messaging into a probability initiative starting talking to a lot of different protocols and applications and during the last months we finalized the first version of the specification which is now online everyone can access it and everything can also look into it make succession what should be changed or added to it so and this is already finished not for the whole protocol but for the base protocol which is needed for the indoor probability and now we also have a reference implementation which can be used and can be tested so that everyone can see how this protocol works and now it starts that other

applications are implementing this standard so that we can see in the next months a lot of different messaging applications starting in the three space implementing this dm3 standards so that we can build this into operability Network in web free beginning and then hopefully also going outside the web free world to other messaging Solutions and that leads to the idea that if you any of you have a project that wants messaging integrated if any of you is in more it's more interested on messaging or how we can they can build on top of the protocol here we have our resources where we where you guys can find us um we are or the amps are open our

conversation is always open to anyone who wants to know more about the dm3 protocol because we stand by the values of you know public goods open source and openness in general yeah so we as it was her it was a set so we have these resources they all are open so you you can join our our channels to be part of this initiative if you are building or working on messaging Solutions you are welcomed to join also this initiative so that we can also talk with you about what is needed so as we said before we started with this basic layer but other protocol extensions on work for more privacy for exchange with other

networks then for instance so when we talk about where to where to store this information we talked about ens but of course ens is very expensive because you have to send an ethereum transaction for it yeah we're also working on having integrating resources from Layer Two Solutions like optimism or arbitrum or for even from centralized solutions that we can link these information into ens so that they are available as well so yeah you're welcome to use our components if you need some support yeah join our channels contact us we are very happy to talk with you and yeah if you are engaged in messaging we are also

very interested there to get more information and feedback from your read our specification and give us your feedback so thank you everyone this was messaging as a public gift and thanks it's important for having us if there are any questions from your site hey there uh I'm curious to know what are the most important features that you want to develop or build this year on top of the protocol so for this year the most important thing is to yeah to get other protocols

other services involved in this process as I said we have talked to a lot of them the first are now starting to uh implementing this and yeah if some more are finished with the implementation yeah we are looking forward to may also standardize this and they are together with others hopefully establish this standard and after we have finished this base protocol where we have this interoperability layer we also will build other function on top of it like more privacy features grouped features and so on uh hello so as an application Builder

how do you integrate this system into your website like if you wanted a web chat yes you you can so we'll provide libraries npm packages so that you can include these in your application and then with only two lines of code you can add such a messaging window in your application and this is already completely connected to this network it's very easy to use it and yeah you don't need to think about how I can Implement all these encryption stuff this is already completely implemented in the dm3 embedded components thank you

again thank you very much [Laughter] [Music]

Related talks