Building on a Web3 Data Network - Matthew Fontana

web3con 2022 · 5 Mar 2022 · 14:16

Matthew Fontana introduces the Streamr network, a real-time peer-to-peer messaging layer for web3 where data streams are anchored in blockchains and carried by node operators. He shows how website visitors act as browser light nodes, then surveys projects built on it, including data unions, ride sharing, wallet-based chat, and a serverless chess game with dynamic NFTs. He argues that composable open protocols can help web3 compete with web 2 platforms.

Speakers

Topics

From web3con 2022, hosted by Developer DAO.

Transcript

this talk is sponsored by radical radical is a peer-to-peer stack for building software together built on protocols instead of platforms radical provides creators with the secure and unsensible code infrastructure tools for collective code governance and new ways to earn for open source work learn more at radical.xyz hey there in this talk i'm going to give an introduction on what the streaming network is and we'll see how web3 projects and developers are using these new web3 primitives to compete in a web 2 world so the the data network i'm talking

about is the streamer network and the network's function is to transport streams of messages it's a real-time messaging system which enables applications and devices such as iot sensors or connected cars applications browsers whatever to share and trade their data streams are anchored in blockchains incentivized with cryptocurrencies and are powered by everyday people that provide reliable bandwidth i'll get into those parts uh later but for now you can understand it as an open and permissionless public good

infrastructure for web3 applications the network enables free market trade and distribution of the world's data while at the same time it decentralizes the flow of that data and most importantly it decentralizes the flow away from the tech giants that are currently hoarding it in web 2. the network is fast and it's secure blockchains measure latency in seconds uh streamer measures it in milliseconds every message is cryptographically signed and into an encrypted and delivered in uh usually under 300 milliseconds

it's serverless and free to use thanks to its peer-to-peer architecture however to incentivize a fast and seriously robust network we employ a bounty contract to economics that act as a sort of summoning spell for node operators that provide their reliable bandwidth and you can sell access to your data streams on streamer since of course in web 3 the data you generate is yours and to give you a bit of a some context on the progress of the project we've been going at this for almost five years now only in the last week we launched the decentralized network

later in the year we'll complete our full roadmap which includes the token incentive layer but before the full tokenomics are activated we'll be uh we are offering staking rewards for running a node the nodes run with very low hardware requirements and the rewards are very good at the moment so with the raspberry pi you can uh and some data tokens stacked on that node you can earn uh over 500 percent uh api so uh very good so get on it

and uh as i as i mentioned at the tatum milestone later in the year uh we we really upgrade the economic layer of this network uh that the data tokens utility is to incentivize an improved data streaming quality of service by summoning uh these mining nodes otherwise known as broker nodes to join a stream topology and provide a backbone of sorts to protect against no churn and known attack vectors in decentralized protocols so those are the basics of the data network we're building let's move on to an example of a stream

on streamer on the streamer network website we had the need to display a real-time value of the data token price and of course this can be done with a stream on streamer so it starts with a publisher script that is pushing data into a stream on the streaming network straightforward so far but in the next slide things get interesting what you're seeing here is our network explorer that's displaying everybody's everybody that's visiting the streamer network website these website visitors are actually nodes

in the network without knowing it this is possible because under the hood the data is flowing over webrtc data channels directly between the stream topology peers so the visitors of the websites are sharing this information and it happens after coordinating with the orchestration layer of the network these browser nodes or light nodes as we call them are propagating messages to their peers spreading the data throughout the network so that everybody gets the real time flow of data from the original publisher without needing to connect to the publisher so what can you build with a data

network in web 3 well on the front line of the ecosystem at the application layer we are seeing projects that leverage their web 3 data edge at streamer we pioneered the concept of the data union which is an sdk for developers that plugs in the user's data into the web 3 data economy with full transparency and rich consent unlocking a business model that is better than targeted advertising thank god this is the pattern it helps to coordinate data producers with data buyers in a way that incentivizes

the crowd in an ethical way to create valuable data sets here's a project called swash they allow you to monetize your web browsing behavior they use the streamer network for data transport as well as our data unions framework for sharing revenue with their users at scale next is demo a a team that's doing something a little a little similar to swash but for cars they have a hardware device you can plug into your electric vehicle or i think it's any vehicle now that shares uh data about the car in real time over the streaming network

that data can be used to detect traffic alerts about accidents nearby or weather conditions like slippery roads crypto gaming people often talk about play to earn well this is drive to earn and swash is surf to earn and and so on you can see a pattern here next we have matt they're a ride sharing app using the their web 3 data edge to compete with the likes of uber i like this example because this is showing that the web 2 can also pivot into web 3 with an already existing application and user base they can migrate to web 3. it doesn't have to

always be starting from scratch and then we have unbanks uh they make it possible to monetize your banking transaction data in europe banks are now required to provide apis that allow people to download their financial data from the bank systems one takeaway from this is that regulation can enable bridges between web 2 and web 3 and spark new data economies next on the web 3 application layer is social media now i don't think i i need to convince anybody that web 2 social media is a

dumpster fire we have single points of failure in internet of walled gardens an ad model that creates an economic pressure for algorithms to optimize for outrage we can do so much better in web 3. in web 3 you own your own data and your social graph so it's quite impossible to get d platformed social graphs can be stored on chain and social graphs could even be generated by on train activity and this is a glimpse into the future the chat dot eth it's an instant messenger that uses ethereum wallets for identity and the streaming network for

message transport in web 2 you have the platforms that strive to collect as much information about you on their servers as possible in a peer-to-peer network there's no such server so we're off to a good start already and nobody can deny you access to this application ease drop in your messages or prevent you from communicating in web 2 social networks all sorts of fraud and impersonation runs wild but here our identity is our wallet and every single message is cryptographically signed with your private key so you can verify that you're chatting with say the owner of a certain nft or an ens name or a team member of a certain

project now there's also haifa they're doing uh chat on top of streamer and looking to integrate data unions and video chat as well between multiple addresses pretty cool next is web3 gaming so we're seeing grassroots indie developer movement here particularly at hackathons we see developers reach for streamer for real-time data availability just like they would reach for ipfs for their storage needs a neat example of web 3 gaming is djs so all chess moves are published on

streamer streams as messages so the game can be played without any servers which is truly direct peer-to-peer gaming i love this you you are you're interacting uh with the other player there's no middleman uh whatsoever and another innovation room djs is nft chess pieces that are enhanced by their own data for example a horse gaining stripes when it takes the opponent's pieces the token itself is on chain but the metadata points to a data stream on streamer and this kind of data driven dynamic nft is completely decentralized other real-time interactive art could

for example have presence features the piece could change based on how many people are looking at it and so on all fully decentralized as everything shown here has been based on open protocols you get full composability with the protocols as well as the underlying data in web 3 there are no silos individual apps are just interfaces to the same underlying data fabric created by the open protocols and this is a very important point so like lego pieces you could combine a chat app with a data union or perhaps a play to earn dynamic data

driven nft that unlocks access to a token gated social network the future of web 3 is indeed bright there's lots of new features and design patterns that are yet to be even imagined yet alone implemented and it's all made possible by these composable open protocols that share the same passion for permissionless and decentralized infrastructure just like the streaming network the next big battle i think will be protocols versus platforms it's kind of a slow start for for protocols especially in the web 3 space because we we started just

as blockchains alone and uh really the web3 stack really needs to at least be competitive with what's what's on offer with web 2 so that we can provide a similar ux for the the average mainstream user of applications and then we can start to to level up from there with uh all the sorts of value ads that come from uh the the composable uh crypto primitives that as crypto natives were quite familiar with so i think it will be a slow start for protocols but uh once the web 3 stack

matures it'll be unstoppable and that will be by design okay that's all we've covered a lot uh feel free to reach out to me to chat anything uh web3 and we have a grants program that developers are very welcome to apply to to to build something on streamer we we warmly welcome all all sorts of developers and projects of all all sizes and thanks for listening