IOTA tutorial 11: Attach Address To Tangle @Mobilefish
IOTA tutorial 11: Attach Address To Tangle  @Mobilefish
Uploaded February 2018 | Updated September 2026, 2 weeks ago
If you like this video and want to support me, go this page for my donation crypto addresses:
youtube.com/c/mobilefish/about

This is part 11 of the IOTA tutorial.

In this video series different topics will be explained which will help you to understand IOTA.
It is recommended to watch each video sequentially as I may refer to certain IOTA topics explained earlier.

The IOTA Light Wallet is a stateless wallet, meaning all information such as balance and which address is in use are retrieved from the Tangle.
The IOTA Light Wallet does not store any information on your computer.
The Trinity Wallet retrieves information from the Tangle and some of this information is stored on your computer.
Therefore the Trinity Wallet is called a stateful wallet.
The information provided in this video applies to the IOTA Light Wallet.
When making this video the Trinity Wallet was not released.

When you attach an address to the Tangle, you create a transaction where you transfer 0 IOTA to the address.

When the address is attached to Tangle, the transaction is ALWAYS pending.
Example (using iota.lib.js v0.4.6):
mobilefish.com/download/iota/transactions_in_bundle_attach_to_tangle.txt

In the example, you will notice the following:
- The transaction bundle contains only one transaction, indicated by lastIndex = 0.
- The transaction does not have a signature.
- The transaction references two unreferenced transactions (aka tips), see the trunkTransaction and branchTransaction hashes.
- The transaction has a nonce, which means it had to do PoW.

The purpose of attaching an address to Tangle is to prevent the re-use of the address's private key.
If you attach an address to Tangle you indicate that the address is in use or will be in use.
A way to find a non-attached address, repeat the following steps:
- If an address is in use, call the getNewAddress API to get the next address.
The getNewAddress API can deterministically generate addresses.
- Next call the findTransactions API to check if an address is in use.

You can always successfully sent IOTAs to non attached addresses but it is recommended to attach an address first before using it.

Here is a demonstration why you should attach addresses to Tangle:
- The wrong way:
mobilefish.com/download/iota/attach_to_tangle_example_nok.txt
- The correct way:
mobilefish.com/download/iota/attach_to_tangle_example_ok.txt

Here is a demonstration why you should attach addresses to Tangle after a snapshot:
- The wrong way:
mobilefish.com/download/iota/snapshot_example_nok.txt
- The correct way:
mobilefish.com/download/iota/snapshot_example_ok.txt

When you use the IOTA Light Wallet apply the following rules:
- For every RECEIVING payment always create a new address and attach this address to the Tangle before handing out this address.
This address should only be used once!
- After a snapshot attach the same number of addresses you had before the snapshot.

These two rules will prevent you, using an address more than once for outgoing transactions when using the IOTA Light Wallet.

To use the same IOTA address to receive regular payments, for example an IOTA donation address, use the following procedure:
- Create a separate wallet by creating a new seed.
- Use this wallet only to RECEIVE regular payments and do not create any outgoing transactions from this wallet.
- When you decide to withdraw from this wallet, it is recommended to withdraw the complete balance.
- Once the complete balance is withdrawn, attach a new address to the Tangle and use this new address to receive regular payments again.

Check out all my other IOTA tutorial videos:
goo.gl/aNHf1y

Subscribe to my YouTube channel:
goo.gl/61NFzK

The presentation used in this video tutorial can be found at:
mobilefish.com/developer/iota/iota_quickguide_tutorial.html

#mobilefish #howto #iota
IOTA tutorial 11: Attach Address To TangleRTL-SDR Dongle and GQRX on Mac OS XLoRa/LoRaWAN tutorial 44: Quarter Wave Ground Plane AntennaLoRa/LoRaWAN tutorial 28: LoRaWAN GatewayChinese radicals in English 9/22LoRa/LoRaWAN tutorial 27: Retrieve and Store Sensor Data From The Things NetworkLoRa/LoRaWAN tutorial 33: VSWR or SWR and Reflection Coefficient or S11LoRa/LoRaWAN tutorial 38: NEC Antenna Modelling Software, 4NEC2LoRa/LoRaWAN tutorial 1: IoT, LPWAN, Semtech, LoRaGeth supporting SSL using reverse proxy serverIOTA tutorial 26.1: Trinity Wallet Seed and Two-Factor Authentication Part 2BTW cursus 5:  Unieregeling / OSS-regeling voor digitale diensten binnen de EU
Mobilefish.com |

IOTA tutorial 11: Attach Address To Tangle

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER