The Construction Blockchain Consortium and IOTA hosted a Code Workshop on 30th March 2021, held online.
This was a hands-on workshop to develop an IOTA network for Smart Cities, and included a discussion of IOTA technologies and their current projects. Please visit IOTA website for more information about these.
Workshop Recording
You can now play back the introduction to IOTA and full workshop via the videos below. Please contact us if you have any queries.
Attendee Instructions
For the Workshop we will be installing, configuring and running the IOTA Peer-to-Peer (p2p) Energy Grid. The grid fully automates the transfer of power and the automatic payment for that power between energy providers and energy consumers. It is a fully decentralised energy grid running on IOTA (https://www.iota.org/get-started/what-is-iota).
Information about the IOTA p2p Grid can be found in their online documentation here: https://docs.iota.org/docs/blueprints/0.1/p2p-energy/overview. Participants are encouraged to read through this information in advance of the workshop.
Prerequisites
Workshop attendees who want to install the IOTA p2p Grid on their local machine (windows or Mac) during the Workshop should carry out the following pre-requisites prior to the workshop session.
1) Install Code Environment (VS Code, Git & Node)
Download & install Visual Studio (VS) Code (https://code.visualstudio.com/Download)
Install Git (https://git-scm.com/downloads). When installed, open VS Code, Click on Terminal (from menu) - New Terminal. In Terminal window type 'git --version'. The terminal response should be 'git version x.x.x'.
Download and install Node (and npm) (https://nodejs.org/en/download/). Once it has installed go to the terminal window again and type 'node -v' (response should be 'vx.x.x') then type 'npm -v' (response should be 'x.x.x'). Please note that the p2p Energy Grid requires Node (not npm) version above 10. It is recommended to be using verion 14.x.x which is the latest version.
2) Set-up Amazon Web Services Account
You need to have a Free Amazon Web Services Account set up which has Access Keys set up to create dynamoDB (database) and S3 (storage). The DynamoDB database and S3 storage is used by the IOTA Peer-to-Peer (p2p) Energy Grid application.
Steps:
Set up a free basic support AWS account at https://aws.amazon.com/
Sign in to the Management console at https://signin.aws.amazon.com/ (goto to My Accounts - AWS Management Console in the menu)
From the AWS Management Console change region to London (eu-west-2) from the menu on the top (right)
Create S3 Bucket
Search for S3 Services. Create bucket from the button. Give a unique name and save (use default settings)
Create Access Key & Secret for S3 and DynamoDB access
Navigate to My Security Credentials - Access Keys - 'Create New Access Key' (this opens IAM)
Click on Show Access Key - save the Access Key ID and Secret Access Key in A SAFE PLACE as you will need them for the Workshop.
Make a note of the Region your account is using. It is shown in the browser address bar (should be region=eu-west-2) You will also need this for the Workshop.
Any questions/problems can be sent to Stephen Smith.