Installation - Tsangares/iotaworkshop GitHub Wiki

Summary

After wiring the equipment, to setup the pi for use, I used arch linux arm. You can download the latest version of arch arm on https://archlinuxarm.org/about/downloads, located in the row ARMv6 Raspberry Pi, here is a link but it is best to download form the website.To install this please follow the instructions on their wiki page.

Setting up Arch

Once your platform is installed you should do an update,

pacman -Syu

Then install yum to access the aur repository: https://computingforgeeks.com/yay-best-aur-helper-for-arch-linux-manjaro/#h-installing-yay-on-arch-linux

You will then need to enable spi by adding

device_tree_param=spi=on

to the file /boot/config.txt, after a reboot you can then install the packages you need.

Start with python and git,

pacman -S python python-pip git

Installing packages for Iota Workshop

Then you can install RPi.GPIO,

yay -S python-raspberry-gpio

Now you can install the pip packages using,

sudo pip install iotaescrow servo_lock pibeep piepd rc522 pillow

Then you can clone the repo for Iota Workshop using,

git clone [email protected]:Tsangares/iotaworkshop.git

This will allow you to simply enter the directory and run iotaworkshop.py to have the service startup.

cd iotaworkshop
sudo python iotaworkshop.py

IOTA Streams

This project can utilize IOTA Streams to keep an immutable log of the state of the escrow, the current collateral, fees, the tools name and availability. To view more details on how to implement IOTA Streams and the benefits view the wiki page on IOTA Streams.