Bridging multichain real-time data and centralised applications to push Web 3.0

ETHCC 5 · July 2022 · 18:44

Marco De Rossi introduces HAL 2.0, a no-code automation tool combining multichain conditions with centralized API inputs. The speaker discusses triggers that link blockchain events with actions in conventional applications.

Speakers

Topics

From ETHCC 5, hosted by Ethereum France.

Transcript

foreign good morning everybody i'm marco from the hull team and i'm here to share with you how we are making simpler for any developer and any company that want to interact with the blockchain and build application on that without actually understanding how the consensus protocol works and all those technical things that maybe not the entire world we could expect they will understand and use actually i will uh

directly start hands-on showing you the new hull that enables you to create codeless uh automations in seconds and then i will generalize a bit about why we're doing this i will show you our plans for our next uh mums and then i'd like to discuss with you how we could build together what to when what could if you have any suggestion so let's start from four very uh practical examples one from the nft space so imagine for example that you want to uh to track in real time when the lower price of an nft in a specific collection changes and you want just to to to set up interactive with openc what's your

favorite collection set a threshold and maybe create a an automation that when that specific condition is filled uh it can for example send an email with a custom template where you can use in the email template all the variables that you fetched from the chain and from openc in just one minute without coding uh you you could do that in one minute or um you can you could also not just write an email but as you can see from the screen that i'm sharing you maybe you want to create a tweet and as you will see a good part of uh defy bots has been built with val

so that's an example from the nft space or changing completely direction let's discuss about doubts so those um have a have a problem if you look at the stats about the participation rate to votations that's crazy it's only 12 percent and there is a reason people don't know that they need to vote and so we have for example done an integration with snapshot that empowers a good majority a good number of dows to directly vote in a more efficient way to enable anybody to uh to be notified when navigation is coming that's the the same kind of interface that you have seen but completely different for for daos and what how it works you just

select the space so now about 42 spaces a snapshot which is basically 42 dows have enabled the hull plugin and in this case i've just selected sushi swoop and i selected that i want to be notified when the rotation has ended so not announced not started but ended and in this case i want to be for example notified through a discord because i want to tell to my community in real time what's happening on the rotation um same with a template system that you have seen or a third example from a slightly different space which is defy so we have uh uh

the other governance voted and we are now integrated and if you have an open position on on on on ave as in this case and you want to be notified when the hell factor is higher or lower than x which is by the way a pretty important need in these months you could you can just click on notify from the other interface and you directly land uh to another recipe that enables you to it's really pre-filled so it knows your your position your your account address what's the current health factor and you can uh you can set the threshold that you prefer to do what not just what you've just seen so discord twitter email of course you can do that as well

but you could you could also um so this is the example you could call a uh a web book which is the lower right button that you have seen and uh so in this case this is the email notification which is the most common and popular usage so i want to be notified before being liquidated on average and another thing that i can build is create a bot so as you can see i can just directly add the uri of resources that i want to be notified and we will send with http pass payload all the data that you could need to build some automation on that fourth um here you see an example of a bot which has uh been created by by hull but there

are dozens in this case it's related to wbtc mining and it has been created with the wbtc guys uh fourth and last example that's a bit more nerdy and it shows you our custom features so till now you have seen specific recipes and usages for specific dapps or projects but and there are many and we also support very uh low-level blockchain um custom automation so we track contracts that means that we track the changes in the state in the state tree of a specific contract so any specific variable change we track events we track transactions and all the three that i mentioned with

custom filters and parameters pretty flexible you can add on on that as you will see in a second you can track contract periodically so you can fetch data every x second or minus to get the specific value from a contact you can track new contact deployment and and token transfer so what i'm pasting here is the address of uh usdc die unisop v3 pair this is the list of the one that you have just seen the list of evm compatible chain that we support we fetch the api for you and we basically provide a codeless interface to add filters on the on this contract so this is the list so i will click track contract so i fetch the data so what i

see here from a technical point of view are the functions with state mutability view so i'm reading the contract i'm just selecting tick spacing uh so for who is not familiar with unizorb3 uh ticks enable you to to handle in a pretty custom way the density of the capital and that's one of the two main uh innovation in unison with v3 nuis uh offered to you um a form which is uh created on this specific function and it enables you to um to add you uh filters so equal may um above or uh below on any specific parameter integers array and so on if it's a value that needs to be converted in fiat we we can do that getting the conversion rate in real time

and and and this enables you to create any uh bots or notification on any custom contacts overall recipe but if you are technical enough to understand our contact works and to select the right function and add the right parameters you can do basically whatever you want actually the list is longer you can find that in our website we have built dozens uh and dozens of use cases uh collaborating with uh with dapps to make life uh easier for their final user so the most popular one are for sure tracking and building things on on the race that changes on if there is liquidity or not like the bunker integration that we have done new pairs and much more the list is

really long i don't want to to to go through that so in a nutshell we are a full stack no code cross chain automation platform uh what do all those use cases that you have just seen have in common well from a technical point of view actually we have created a common language to describe all the things that you have seen so they seems to be different use cases and interface but it's actually a json so it's a common structure to summarize any kind of automation or notification need that you could have connecting decentralized and centralized technologies that's the technical part but more important for me from the vision and business perspective this is

part so a bit like zooming out a bit of our glowing manifesto vision so we think that in a few years we will not discuss any more about decentralized and centralized they will all part be part of the digital space and we need more and more connection between the centralized technologies that are by the way running the the war right now and the centralized one and that's why we think that uh glu we need blue earth so growers are centralized technologies like hull that are replaceable you can rely on many of them and are they are not custodial at all we don't handle your money in any way to connect things and to be precise if we look at the four use cases that you have seen

will redefine other gluers so not just the one that you see here so oracle watch tower gas station networks they're all gluers open c we were calling centralized apis in that example the second as well snapshot i don't know if you know if you know how it works but it's it's trustless but it's it's centralized so of course the voters need to put their signature so you can you cannot fake the vote but we were calling centralized apis the third and the fourth example were 100 percent decentralized to centralize because in their example we were just calling the other contract in the units of example the same but that's to say that both kind of difference tend to become technical

differences we really need a layer that enable us to just move sign statements so we we could say we could generalize a transaction as a sign statement it's a statement and just i signed it from centralized and decentralized uh technologies what's next so to be more specific what next we could do so the the automation and notification industry is in our opinion a bit like polarizing on one hand we will have notification like what you have seen that is really useful for having lower friction for final users so if we want the millions and millions of new people

to join the space we really need to make things like i want to be notified with them i'm almost liquidated very easy and that's one thing another thing is what developers need so pure automation and we are working on more advanced use cases compared to just calling a web book that are based on uh on on what we have seen is happening so we also done many interviews and do you know the the real beginning of every development process of a web free developer tend to be pretty similar so pretty often the starting point is for for a centralized application interacting with a blockchain is just calling an odd

getting some data filtering the data transforming somehow the data putting the data in a database sequel no sql and then doing something i mean pro if you are developers you have done that for sure we are all done for sure if you want to build an arbitrage bot that's where you start from you get the data it's an arbitrage bot so you keep stuffing around because you want to go faster but that's the same story and we uh will add other low code and codeless feature to make life easier for developer starting from streams so the fact that you can uh define a smart contract and add filters as you have seen in already in the

current version with a notification but being able to fetch data also pass data it's basically a way to transfer smart contracts in apis because you select the filters from the ui and then you can fetch the data instead of uh setting up your node or calling a node provider like in furon alchemy get the data and then doing the filtering by yourself because the the kind of filtering technologies that the node providers offer as you know are very basic you can filter by a smart contract or block but that's it you cannot add all the filters that you have seen so this basically can moves the filtering work that every developer does from

doing that manually with your app in fact the data directly to to hull and and again the fact that you can do that with historical data is very meaningful as well because now you you of course you can access historical data with many services but then you you need to do your homework it's just you get the raw data so if you build an application you need to get the data do what you need put that in another database and then do what your application is supposed to do the next step so you you get you have the data you have a stream so you have to turn your smart contract into an api and then you can uh close the gap with your apps so i was mentioning that the vast majority of developers when you get the data from the chain

they put that in a database and they do i mean manually they write the code they put stuff into uh into the database and we will enable in that will arrive in september october and if again if you're uh willing to give your opinion to help us developing this just get in touch you will see my contacts at the end of the presentation so the flow is the input the filters and those are codelesser and and or no code the enrichment part so transforming data and you will be able to do that with a directly also coding like in a serverless environment and then pushing the data where here so an a no code tool exactly as the one

that it's already available that also has as an action just put this data in a queue or in a key value database radius for example or a on dynamodb on a on on a sql and this basically save a lot of time to any organization and developer because you you just start with that already in the database as you were um used to do in the web 2 space and that's again getting back to the gloom manifesto our way to make life easier also for let's say developers that just want to to to have the work done and are not enthusiasts as as we are of a space um finishing man before getting your

question we are um working a lot with uh when it comes to notification with daps and wallets so wallets are becoming more and more commodity they're pretty similar but the fact of having descriptive notification so the script notification is something that happened and you need to be notified it's just a description like you have received some tokens or you have been liquidated your wallet should tell you this predictive is what you may be interested in doing like you could redeem tokens why you shouldn't do it so the wallet should tell you this or or hal or we're already doing that programmatic it's something that you decide to do so i want to be notified when the price of something is higher or lower than x

when it comes to the other space the developer space uh we are working also with with node providers that are already the players that are working with developers in providing raw data to to to add the the features that i just mentioned and we are building so the new pipelines feature uh what you have seen in all the four videos what you have seen today it's 100 live you can go on hal dot x-ray zed and play if you want to suggest any more uh recipe to help your communities grow a pre-made recipe so the one super easy to use without doing the nerdy filtering thing you can just do that and here are some information about hal we're a full remote team of course

mainly based in europe and well this is my email address and my telegram so if you are willing to to help us building this or try this please get in touch thank you for your time and any question [Applause] hey thanks of all uh thanks for the presentation uh i want to stop uh and maybe you can specify uh about the data streams and the events that our smart contracts producing because in the dao we heavily rely on the subgraph subgraphs different like and if your how to can provide that data

in in some sort of like queues or streams or something sure um we realized that sometimes it doesn't matter if the data is on chain or of chain so you can call a subgraph with a old style directly http request and that was that's what our users want and that's why our engine already supports uh uh centralized endpoints and we we connect directly to a subgraph data so the answer is yes the engine already provides that and a good example is we were building twitter bots and we had the need of publishing the apy in a tweet together with the rate so the

rate is on blo of something in of a pair is on a blockchain of course it's a state immutability view function but the apy is in many projects calculated of chain then some of course you can using oracle's put the data uh on chain but basically it's off chain and that's a good example of you i just need the apy and the raid together and and so uh i need to a pipeline system that is able to to to put together uh centralized and decentralized data okay i we'll take questions offline thank you thank you you