CRYPTOCURRENCY

Ethereum: What is the address format of a lightning network address?

Understanding the Lightning Network addresses

Lightning (LN) network is an open source payment system that allows fast and economic transactions between users. One of the key components of LN is his address at an address, which is different from traditional bitcoin addresses. In this article, we will deepen the form of the address of the Lightning Network address and examine whether it is similar or different from Bitcoin addresses.

What are the addresses of the lightning network?

Lightning network address is a unique identifier that is a specific transaction in the LN network. These addresses are used to send and receive value and are often shorter and shorter than traditional bitcoin addresses. The lightning networking address format usually consists of three parts:

  • prefix

    Ethereum: What is the address format of a lightning network address?

    : prefix 4 -byte showing the type of transaction when performing (eg LTN for lightning transactions).

  • Sum : The amount sent or received in Satoshi.

  • destination address

Format:

Lightning address as a whole follows this format:

Ltn [amu] destination_address

Where the amount is sent or received, is Destination_Address’ E 42 -Character hexadecimal string, which represents the public key of the recipient.

Lightning network address are different from bitcoin addresses?

One of the most common wrong ideas in the form of lightning network addresses is that it is similar to traditional bitcoin addresses. However, this is not completely accurate. While they both use hexadecimal strings as a destination address, the prefix and the quantity are different.

Bitcoin addresses usually have a prefix “M” or “M”, which indicates that they are on Bitcoin Blockchain. On the contrary, Lightning Network addresses start with Ltn, which shows that they are on the LN network.

In addition, traditional bitcoin addresses can be a 34 -character hexadege, while the flash network addresses are limited to 42 characters due to the limits of public key limitations.

What is the purpose of the prefix and the amount?

The prefix (ltn in this case) is used to identify the type of transaction in the performance phase. For example:

  • Ltn0 may be a” payment for the US “transaction (for example, by sending 10 satoshi from one portfolio to another).

  • LTN1000 may be a” transfer “transaction (eg, moving 1000 satoshi from one account to another).

The amount is used to determine the value sent or received. In this example, Satoshis 1000 will be transferred.

In summary, while the Lightning Network addresses share some similarities with traditional bitcoin addresses regarding form and functionality, they have different differences due to the requirements and unique restrictions of the LN network. Understanding these differences is crucial for anyone trying to participate or upgrade to the ecosystem of the Lightning Network.