Our “DApp of the Week” series regularly features the most innovative applications built on top of iExec, to showcase what can be achieved with the tools and libraries made in iExec, and how you can already launch decentralized applications running on a decentralized cloud. Decentralized AI and Birdie Blue were the first dapps to be featured in this series.
The dapp of the week is Websensors. The team, based in Brazil, is delivering a very exciting product. Initiated by Ricardo Marcacini, São Paulo University Ph.D., and currently principal researcher of the Websensors project at the Federal University of Mato Grosso do Sul (Brazil), Websensors is one of the most promising winners of the Dapp Challenge. Websensors are artificial-intelligence-based oracles for smart contracts. What could that mean?
In the blockchain world, an ‘oracle’ is a smart contract that makes ‘real world’ data available to be used in other smart contracts. These live data feeds can be used as conditions to trigger transactions on-chain (payments, reputation, etc). The quality and availability of this data is extremely important. Some are reliable and trustworthy, some others are not.
The oracles provided by Websensors have these abilities and they’re transparent because both the algorithm and datasets used are public and therefore auditable. The iExec Proof-of-Contribution protocol guarantees the off-chain execution of each computation and this is essential in the context of creating powerful decentralized apps.
Ricardo Marcacini, leader of the project explains why iExec is essential in for the realisation of the Websensors Dapp in How can we use millions of events available on the web to make smart contracts really smart?:
In particular, our interest is in the PoCo Protocol (Proof-of-Contribution), which provides a consensus mechanism among several nodes that run a given computer program. In addition, iExec also offers distributed computing as a commodity, which allows us to run the sensors at a low cost.
This is a quote from How can we use millions of events available on the web to make smart contracts really smart? by Ricardo Marcacini, leader of the project.
For anyone interested in learning more, I would advise reading the full text written by the main architect of the project:
This demo video also gives a good idea of how Websensors work:
This is only an example that can lead to decentralized insurance system, but you can imagine a lot of different decentralized applications (dapps) each with their own business logic, relying on Websensors to act as the link between real world data and smart contracts on the blockchain.
The algorithm used is the nearest neighbour algorithm model. The Websensors builder page, allows users to very easily utilise sophisticated machine learning practices and can:
When you click on the BUILD SENSOR button, you actually train the model and deploy the corresponding smart contract (like this one for example) that will be called by other smart contracts.
So in this case, when the user clicks this button, he has to sign a transaction using Metamask to interact with the blockchain and send the requested amount of RLC, the native iExec token.
One of the strengths of this system is that it will allow data providers to monetise their datasets. Application providers already can monetise services or micro-services, and workers on the network also get rewarded.
Here at iExec, we’re excited about this app in particular because it uses some of the key features of iExec:
The official documentation is here:
Welcome to iExec - iExec Project v1 documentation
The iExec SDK repository:
iExecBlockchainComputing/iexec-sdk
The latest tutorial on how to deploy an app with iExec v2:
iExec SDK V2 tutorial by sulliwane | Katacoda
Join us on Slack if you need anything!
Follow Us
Telegram • Reddit • Twitter • Facebook • LinkedIn• Youtube • Github • Docs