This post is from a low-reputation account and contains an unverified outbound link. Be cautious before clicking external links.

[PROTOTYPE] Rawbot + IoT

rawbot(25)
Published in
#iot
Words
147
Reading
1 min
Listen
Play
8y

The Rawbot project's source code can be found over Github.

Pre-requisites:

  1. Firefox/Google chrome with MetaMask extension
  2. Basic knowledge on how to use Remix IDE

1st. Open Remix IDE using Firefox or Chrome

Click on the Open folder icon, and choose the necessary Rawbot files to use for deployment.

2nd. Deploy Rawbot ERC-20 token

Once you deploy the contract, it has to be confirmed on the blockchain network.

4th. We have to add a device and it's action in order to perform it and receive it's event object later on.

5th. Once both action and device are submitted and confirmed, we have to copy the Rawbot ABI to be able to use it on the IoT device.

6th. Copy and paste the ABI and contract address in the node-rawbot -> index.js file

7th. This is an example of the Rawbot implementation with Raspberry PI 3 device, snippet.

Demo: https://drive.google.com/open?id=1lkGG3poI5rMiSr4FrQz15M3o3J8Sr-uR

[PROTOTYPE] Rawbot + IoT | Ecency