Building the Communication Middleware for Web3
LisCon 2021 · 20 Oct 2021 · 10:02
Harsh Rajat, founder of Push Protocol (formerly the Ethereum Push Notification Service, EPNS), gives a talk titled "Building the Communication Middleware for Web3" at LisCon 2021 in Lisbon. The session is about communication infrastructure for web3 applications.
Speakers
Topics
From LisCon 2021, hosted by LisCon.
Transcript
hey everyone uh we are ethereum push notification service epns for short uh what we are doing is we are building the words first uh communication and notification layer uh as is with every conference which is cool we want to start with a video like sort of our goodbye video so let's do that it looks cooler with the audio but i think we are not getting the audio but that's fine so yeah let's start the presentation so yeah as i said we are the world's
first communication protocol uh what does that mean uh it essentially means that we are here to solve the last remaining uh missing piece of web tree so if you think about it right now whatever you are doing in web 2.0 everything is coming through notifications uh whether it's your email whether it's your communication whether it's this meeting everything happened through notification but that's web 2.0 when you come to web 3.0 this is practically absent communication is in stone age whether it's about your d5 payments whether it's about your loan liquidation
whether it's about your governance proposals even something as basic as you receiving crypto you don't get to know about it or something as critical as a smart contract burgo exploit you as a user you don't get to know about it well good news is we fixed that we created a decentralized communication and notification protocol that can send notifications that are tied to user wallets what's more you can use this protocol to send notification whether you are adapt whether you are a smart contract or a backend this is an open communication layer that means any crypto front end can integrate it so in the future hopefully metamask
trust and any crypto wallet can just tap into the protocol and show you notifications whenever you log in then these notifications are dynamic so just for an example whenever you are doing a facetime video call that's also a notification but yeah in web 2.0 everything is dynamic and so of course in web 3.0 we had to do the same so notifications are not just basic text they can be so much more they can be called to action they can be images they can even be encrypted transaction or you saying yes to a governance proposal then of course uh we want to be the de facto communication layer for webtree and that means we had to become
multi-chain and blockchain uh agnostic as well as platform agnostic we did that as well notifications come on any platform come on any crypto front end and yes they come on multiple blockchains even on evm ones so yeah how do we do that well three ecosystem we have epn score which is a smart contract any service who wants to send notification they have to go and create their channel over here this is used for governance then we have com these are smart contracts or back ender cks that are available and deployed on polygon ethereum near
uh even solana for that instance and then in the center we have push notes they are essentially listening to epns communication layer validating everything from epns core and therefore everything looks good dispatching it to any crypto end uh any crypto wallet any service or front end so yeah how to notif at this point of time i'll just play the demo videos so yeah uh before as a user all you have to do like these notifications are tied to your wallet address so all you have to do is you either go to our app discovery platform or you go to a
service and then you just opt in for that notification right now this is a on-chain drop scene transaction but you can directly interface with the push notes and do a off-chain transaction as well uh once that's done your user journey is completed now whatever services you have opted into you can receive notification so over here we are just showing going to show you how ethereum unit swap notification work unisap is one of our pilot collab uh so yeah uh as you can see the wallet is already subscribed then uh uh if your uh lp pool range they fall out of the range and you're not earning
fees then all you all we are doing is uh through our show known as framework uh we are triggering uh a manual payload uh of unit swap logic in the background uh all the subscribers of the channels are fetched we are essentially calculating their lp pool range and whatever wallet addresses have uh uh kinda have fallen out of those healthy pool range they are getting a notification which you can see right now even at this point of time you can see that this is a call to action so you can just click on it and uh it will take you uh to its respective position
but yeah let's say you are a smart contract then what to what to do as i said our epns com is deployed on every smart contract or on all the blockchains which we support so you can even create a channel with the epns all you have to do is import our er interface and then just call a simple function pass and 50 die uh which we lend it out to our way and the interest that are coming that's distributed to all the users and yeah as you can see the contract essentially created a channel and in the fallback payable method of the contract we added a notification function so
whenever a payment is sent to this smart contract you will get the notification which you can see right now awesome so this is the smart contract with smart contract but let's move a bit ahead let's say you want to send off chain transactions or offline off chain notifications well we support that as well so all you have to do is if you have a channel and recipient just send the direct payload as long as the payload is encrypted by eip712 notifications will make its way to you uh what's next i yeah so this is a call to action and uh as you can see uh this actually goes to
masari but yeah you can go to any call to action but yeah let's say you are on layer 2 so in this case our epns com is deployed on polygon and uh ave is also one of our pilot collab so over here you can see like the loan liquidation before it can occur on our way for you before that you will be notified so right now we are monitoring the health factor and if the health factor falls below a certain threshold you will get a notification as can be seen here so yeah uh we are live with ave polygon as well
yeah and maybe you want to do manual notification like when you are going through a different version or when you are uh trying to tell users something like maybe your lp pool is there or maybe your yield farming is there so yeah all you have to do is you can go to our dap and uh just fill in all the notification content which you want to do over here we are just going to do a notification of the video as i said we support everything uh we even support dynamic uh notifications so yeah you are seeing a demo of that uh right about now all right so that's
that's essentially manual notification but yeah what's more than that you can even send notification that has videos on them so yes that's uh i i think that's about it for the demo uh a couple of more things yeah so alfred roth we love to do alpha drop whenever we are in at lesbian or messiah or anywhere else so yeah governance of push is already live uh we did our mainnet at mainnet uh missouri uh the mainnet is audited now we'll come to ethereum mainnet very very soon hopefully in two three weeks and
yeah in q4 2021 we are coming out with push notes taking that's going to be uh the validators uh well that's about it thank you guys for listening you can follow us at epns dot io or you know at epns project uh one more thing we got some cool facts for you so my co-founder richard is right here in case you want to have a free shirt just approach her and get your free swag thanks