The IOTASear.ch tangle explorer allows searching for addresses, transactions and bundles.
While the meaning of addresses and transactions seem clear to me, I am not aware of the purpose of bundles. What exactly is a bundle?
Iota Stack Exchange is a question and answer site for users of Iota, the open-source cryptocurrency for IoT that does not use a blockchain. It only takes a minute to sign up.
Sign up to join this communityThe IOTASear.ch tangle explorer allows searching for addresses, transactions and bundles.
While the meaning of addresses and transactions seem clear to me, I am not aware of the purpose of bundles. What exactly is a bundle?
Transferring IOTAs from one address to another requires several different transactions:
It is useful in many contexts to have a way of treating these transactions as an atomic unit, which is the purpose that bundles serve.
See https://iota.readme.io/docs/bundles for more information.
1 Multiple transactions are usually necessary because the signature is too big to fit into a single transaction, depending on the security level of the input address. Once you start working with multisig addresses, the number of input signatures required can be quite... impressive.
2 Because of the way IOTA generates signatures for inputs, it is unsafe to spend from the same address multiple times. So, whenever you transfer IOTAs, the wallet will try to spend all of the IOTAs in each input address, and any remaining IOTAs will be sent to a new address under your control.
This cheat sheet present a bundle with :
The inputs are comming from 3 addresses: A1, A2 and A3.
In the example, all signatures expand on 2 blocks - except the output1 on 3 blocks -
credit to @abmushi (on slack) for the bundle cheat sheet :)
A user will usually broadcast a collection of multiple transactions (also called a bundle) when interacting with the network. One bundle could consist of
Note that bundles are not restricted to a specific number of transactions. For exmaple, one could have a bundle that consists of just 1 transaction (when a value of 0 is "transferred") or even 100 (when withdrawing/sending from/to multiple addresses).