đ
IOTA's Tangle - Simply Explained - YouTube
Channel: Simply Explained
[0]
When Bitcoin was first released to the world
in 2008 it started a revolution.
[6]
People claimed that the blockchain would solve
many problems and that it has countless of
[11]
applications.
[12]
Blockchains indeed have very interesting properties
and you can learn all about them in this video
[16]
here.
[17]
However they have one big limitation and that
is that donât scale very well.
[23]
This is exactly the problem that the creators
of IOTA wanted to solve.
[27]
Instead of using a blockchain, IOTA uses something
called a DAG or tangle.
[33]
DAG is short for Directed Acyclic Graph and
itâs a storage system where individual items
[38]
link to each other.
[40]
âDirectedâ means that the link between
items always have a direction and acyclic
[46]
means that you cannot create loops inside
this structure.
[50]
This might sound complicated, so letâs take
a look at a simple tangle.
[54]
Each square represents a single transaction
and is also called a âsiteâ.
[59]
Each site contains all the details about the
transaction: such as the sender, the receiver
[64]
and the amount of coins.
[67]
It also has a connection to at least two other
transactions.
[71]
These are called âedgesâ and they validate
the transactions.
[75]
Here is an example of a bigger Tangle.
[77]
Near the end of our Tangle we find a few transactions
that donât have two or more incoming edges.
[84]
This means that these transactions are unconfirmed.
[87]
We also call these the tips of the tangle.
[89]
Alright now that we understand some of the
IOTA terminology, letâs take a look at how
[94]
we can add a new transaction to the tangle.
[97]
We have to attach our new transaction to one
of the tips of the tangle.
[101]
An algorithm selects two of them at random
and makes sure that the transactions donât
[106]
conflict with one another.
[107]
If one of the tips is a fake transaction,
it is ignored and a new tip is selected.
[113]
If everything checks out, we attach our transaction
to the two tips.
[117]
This adds our transaction to the tangle and
verifies the two other transactions.
[122]
Our transaction is now part of the tangle
and becomes a new tip.
[126]
This technique makes IOTAâs tangle incredibly
scalable.
[130]
For every transaction that is added to the
tangle, two others are being confirmed.
[135]
This means that the network doesnât slow
down when there are a lot of new transactions.
[139]
In fact, it actually speeds up!
[141]
Thatâs all great, but how do we know we
can trust a transaction?
[146]
In traditional blockchains people often use
the number of confirmations to check wether
[152]
or not a block should be trusted.
[155]
Well IOTA has similar technique.
[157]
Each site has a weight.
[160]
This number signifies the amount of work that
a node has done to make this transaction.
[164]
In other words: a higher number means the
node spent more time doing the proof-of-work
[169]
for that transaction.
[172]
Each transaction also has a cumulative weight.
[175]
This is the sum of itâs own weight plus
the sum of the weights of all transactions
[180]
that approve this transaction.
[181]
It seems quite complicated, but it really
isnât.
[184]
Here is an example of a Tangle where every
transaction has a weight of 1.
[189]
Weâll put the weight of an individual transaction
in the bottom right of each square.
[195]
Now letâs check how trustworthy this pink
transaction is by calculating its cumulative
[200]
weight.
[201]
To do that, we sum up the weight of the two
transactions that have approved it.
[206]
But those transactions where approved by other
transaction as well.
[210]
So we keep summing up all these weights until
we get to the end of the tangle.
[214]
In this case, the accumulative weight of the
site is 6.
[220]
Transactions with a high cumulative weight
are usually older and have more direct or
[224]
indirect verifications.
[226]
So we can trust those transactions more then
others.
[229]
So now you know what IOTAâs tangle is and
how works.
[233]
But how does it stack up against traditional
blockchains?
[235]
Well, the tangle solves two big issueâs:
scalability and miners.
[241]
Letâs discuss _scalability_.
[243]
As weâve seen: IOTAâs network becomes
faster when more transactions happen.
[248]
This means that IOTA can handle almost an
unlimited amount of transactions per second
[253]
while traditional blockchains can only handle
a few.
[256]
But there is an other aspect to scalability
that most people seem to forget and that is
[261]
storage.
[262]
In a blockchain, you need a full copy of the
chain before you can start adding new transactions.
[268]
Right now the Bitcoin blockchain is almost
150GB in size and keeps growing very fast.
[275]
Storing all this data is not something every
device can do and will get harder over time.
[281]
IOTAâs Tangle is much more lightweight.
[284]
You donât need a full copy of the tangle
to add transactions.
[288]
You only need a small part of the tangle to
create and verify transactions.
[292]
This makes it much more future proof.
[295]
And finally IOTA has _no miners_.
[298]
Usually miners are there to create blocks
and validate transactions.
[303]
For this hard work, miners take a fee from
each transaction.
[306]
In IOTA, no miners means no fees.
[310]
Sending money around is this completely free!
[314]
So now you know how IOTAâs tangle works,
and how it compares to regular blockchain
[318]
technology.
[319]
If you liked this video, please give it a
thumbs up and get subscribed to my channel.
[324]
Thank you very much for watching, and Iâll
see you in the next video!
You can go back to the homepage right here: Homepage





