Do you know there' a substitute for Blockchain Technology?
Well, Tech Aficionado brings you an alternative to Blockchain technology created by IOTA.
When Bitcoin was first released to the world in 2012, it started a revolution. People claimed that the blockchain would solve many problems and that it has countless of applications. Blockchains indeed have very interesting properties and you can learn all about them in this post of mine.
However, they have one big limitation and that is that they don't scale very well. This is exactly the kind of problem that the creators of IOTA wanted to solve instead of using a blockchain. IOTA uses something called a DAG or tangle. DAG is short for Directed Acyclic Graph and it is a storage system where individual items link to each other directed means that the link between these items always has a direction and acyclic means that you cannot create loops inside the structure. This might sound complicated so let's take a look at a simple tangle each of the squares represents a single transaction and is also called a site. each site contains all the details about the transaction such as the sender, the receiver, and the number of coins that were transferred. It also has a connection to at least two other transactions. these are called edges and they validate the transactions. Here is an example of a bigger tangle near the end of our tangle, we find a few transactions that don't have two or more incoming edges, this means that these transactions are unconformity of the tangle.
Alright, now that we understand some of the IOTA terminologies, let's take a look at how we can add a transaction to the tangle. We have to attach our new transaction to one of the tips of the tangle, an algorithm selects two of them at random and makes sure that the transactions don't conflict with one another. If one of the tips is a fake transaction it is ignored and a new tip is selected. If everything checks out, we attach our transaction to the two tips this answer transaction to the tangle and verifies two other transactions and our transaction now becomes a new tip of the tangle this technique makes an IOTA's Tangle incredibly scalable for every transaction that is added to the tangle to others are being confirmed. this means that the network doesn't slow down when there are a lot of transactions in fact it actually speeds up now. But how can we know we can trust a transaction in traditional blockchains. People often use the number of confirmations to check whether or not a block should be trusted. Well IOTA has a similar technique. Each site has a weight this number signifies the amount of work that a node has done to make this transaction. In other words, a higher number means that the nodes spent more time doing the proof of work for that transaction.
Each transaction also has accumulative weight this is a sum of its own weight plus the sum of the weights of all transactions that approve this transaction it seems quite complicated but it really isn't here is an example of a tangle where every transaction has a weight of one will put the weight of an individual transaction in the bottom right of each square now let's check how trustworthy this pink transaction is by calculating its cumulative weight to do that we sum up the weight of the two transactions that have approved it but those transactions were approved by other transactions as well so we keep summing up all of these weights until we get to the end of the tangle, in this case, the cumulative weight to the side, is six.
Transactions with high cumulative weight are usually older and have more direct or indirect verifications so we can trust those transactions more than others. So now you know what IOTA's Tangle is and how it works but how does it stack up against traditional blockchains. While the tangle solves two big issues scalability and miners, let's discuss scalability as we've seen IOTA becomes faster when more transactions happen. This means that IOTA can handle almost an unlimited amount of transactions per second while traditional blockchains can only handle a few but there is another aspect to scalability that most people seem to forget and that storage in a blockchain you need a full copy of the chain before you can start adding new transactions, right now the Bitcoin blockchain is almost a 150 gigabytes in size and keeps growing very fast. Storing all this data is not something that every device can do and it will get harder over time. IOTA's tangle is much more lightweight, you don't need a full copy of the tangle to add transactions. You only need a small part of the tangle to create and verify transactions which makes it much more future-proof and finally, IOTA has no miners. Usually, miners are there to create blocks and validate transactions. For this hard work, miners take a fee from each transaction. In IOTA no miners mean no fees sending money around thus completely free. So now you know how iOS tangle works and how it compares to regular blockchain technology.
Hope you liked the post and if you did, make sure to hit the like button and comment on the post if you like it. Do share it with your friends and family.
Easy up Tech - Tech Aficionado