Deploy IOTA full node to cheap ARM boards

yillkid
yillkid
Dec 24, 2017 · 3 min read

IOTA is an open-source distributed ledger protocol launched in 2015 that goes ‘beyond blockchain’ through its core invention of the ‘Tangle’, which is a quantum-resistant Directed Acyclic Graph (DAG), whose digital currency IOTA has a fixed money supply with zero inflationary cost. The tutorial illustrates how we can build IOTA full nodes from scratch on cheap ARM-based single board computers (SBC).

The most famous ARM-based SBC would be Raspberry Pi, and Raspberry Pi 3 (RPi3) is powered by 1.2GHz 64-bit quad-core ARMv8 CPU. Asus Tinker Board is another RPi3-like SBC with several advantages over RPi3. Tinker board is selected for building IOTA full nodes because of its superior features such as 2GB onboard RAM, gigabit Ethernet, and faster ARM cores, comparing to RPi3.

The simplified performance comparison is shown as following:

System Requirement

Hardware:

Software:

Installation

Install ASUS Tinker Debian image:

  • Some unknown power management problem maybe occur on version 1.8, my suggestion is version 1.9
  • Flash the OS image (change if and of parameter value by yourself)
  • Boot and connect Tinker board with SSH protocol (default user/password: linaro/linaro)

Config Network (DHCP)

Install Oracle Java™ SE Runtime Environment

Install NodeJS and NPM

Reference: How to install Node.js LTS on Debian 9 stretch

Build RocksDB

  • Clone IOTA-Deploy script

Install IRI

iri-1.4.1.4 is known to work out of the box.

Deploy IRI

Create a configuration file for IRI.

Launch IRI service.

You can download a IOTA ledger (RocksDB database) compressed from this link (milestone:310872).

Install CarrIOTA Nelson

Upgrade Nodejs to v8.9.3 at least.

  • Nodejs (ubuntu or Debian): refer to: Upgrade to Nodejs 8

Run CarrIOTA Nelson:

Check syncing milestoneIndex by IRI restful API:


BiiLabs

IoT-based data marketplace powered by BiiLabs DLT solutions

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