The SensorDApp Tutorial

This is the first in a series of step by step tutorials on how to develop a decentralized application

The Teloscope
Jan 10, 2019 · 4 min read

The Teloscope team believes in the importance of producing DApps’ development tutorials in order to spur coding interest among the Telos community and foster new and amazing use cases.

Part 1 of

DApp development tutorial for the Telos blockchain network

Part 2| Part 3 | Part 4 | Part 5


This article serves as an introduction and is the first in a series of step by step tutorials on how to develop a decentralized application (or DApp) for the Telos blockchain network. Although in the future we will focus on quick snippets that explain how to implement particular functionalities, in this series we will focus on basic concepts. So you can build your first Telos Dapp from scratch. The final outcome will be a simple yet effective IoT-related DApp. We will call it SensorDApp.

The SensorDApp has a sheer, simple aspiration: let you store sensors’ data directly into the Telos Blockchain. We selected this scope because it proves two great advantages of Telos: high transaction capacity and no need of user payment whenever data is “stored” into the blockchain.

We conceived this DApp to be easy to use and to implement, so it requires as little hardware as possible — in fact you don’t even need the hardware if you just want to learn how to code the DApp. And if you go for the full experience you only need to add this affordable minimum:

  • A Raspberry Pi model 3 small single-board computer. (Est. price: $40)

Well, now let’s go down the rabbit hole…

We have broken down the development of SensorDApp into 5 easy b̵u̵t̵ ̵s̵o̵c̵i̵a̵l̵ ̵t̵i̵m̵e̵ ̵c̵o̵n̵s̵u̵m̵i̵n̵g̵ steps:

  1. Develop and successfully deploy a smart contract on the Telos Tesnet, which will be able to store data of sensors associated with an account. The advantage of being a smart contract designed to store the sensors’ data is that the DApp will not make use of your RAM in Telos. You will only need to “pay” for allocating CPU and bandwidth resources.
You can check the live version of this visualization at this webpage

Once you had completed all the chapters in this tutorial, you will be able to deploy your own sensor to store its data on the Telos blockchain.

So stay tuned to keep up with the following articles if you want to learn the wonders of coding DApps for Telos.

Don’t panic! There will be no coding lessons until next week…

If you are in the mood for the second part of the tutorial see below…

And if you want to connect directly with the community of creators and developers of DApps for Telos, please join the Telos Dapp Development telegram group.

This tutorial has been created by members of The Teloscope team.


The Teloscope is an independent nonprofit Telos block producer — our work is free from the influence of crypto whales or other BPs. The revenue we get from any service we provide to the Telos network is fully invested in our Telos BP infrastructure, as well as in tools and services for the blockchain community.

You can support us by including theteloscope among the list of BPs that deserve your vote.

TheTeloscope

The Non-Profit Block Producer Candidate | Visit our…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store