Publishing data in IOTA Tangle with Omega2 and MAM
Yep, this title says everything…This is a project that I’ve been working on in the last couple of months and It took some effort to accomplish, so I’d like to share this with you guys.
The major issue in this device was about the limited sotrage/processing memory in Omega2. So I’m going to describes all steps that I did to expand the Omega2 memory and how to embbed a MAM protocol, using NodeJS, to stream data into IOTA Tangle.
But, as Jack The Ripper used to say: Let’s do it in parts. *If you know what is IOTA and Omega2, jump to Section 3.
1. What is IOTA!?
IOTA is an open-source distributed ledger that is being built to power the future of the Internet of Things with feeless microtransactions and data integrity for machines. It does not consist of transactions grouped into blocks and stored in sequential chains, but as a stream of individual transactions entangled together, represented as DAG (Directed Acyclic Graph).Source: https://www.iota.org/get-started/what-is-iota
In order to participate in this network, a participant simply needs to perform a small amount of computational work that verifies two previous transactions. In order to make a transaction in the Tangle, two previous transactions must be validated with the reward for doing so being the validation of your own transaction by some subsequent transaction. With this ‘pay-it-forward’ system of validations, there is no need to offer financial rewards. Transacting with IOTA is and will always be completely fee-free. This structure also enables high scalability of transactions. The more activity in ‘the Tangle’, the faster transactions can be confirmed. (Source: https://www.iota.org/get-started/what-is-iota)
2. What is Omega2?
It’s a single board computer that combines a tiny form factor and power-efficiency with the power of a general purpose Operating System.Source: https://onion.io/sto...