With RGB, The Bitcoin Lightning Network Can Now Transfer Altcoin Assets

2023-4-3 15:00

With the RGB protocol, users can allocate altcoins to Bitcoin UTXOs, enabling stablecoins transfers on the Lightning Network and more.

The Lightning Network is arguably the most impactful and important innovation ever seen in Bitcoin. It enables fast and cheap transactions that take up no space on the blockchain, while preserving all of Bitcoin's censorship-resistant and trustless features. While Lightning still has space to grow and improve, both in terms of technological stability and adoption, it has already proven to be an irreplaceable solution for cheap, trustless payments, with more than $100 million in network capacity and an ever-growing number of businesses adopting it as a payment method.

Such innovations favor the adoption of Bitcoin, but they can also be beneficial for other types of digital assets. Currently, most blockchain-based digital assets are issued as altcoins, which do not offer the same guarantees of security and censorship resistance as Bitcoin does, as they aim to achieve cheap, low-latency transactions by sacrificing decentralization, meaning that they operate as de facto semi-centralized systems. But with the ability to move digital assets over the Lightning Network, many use cases that require cheap and fast transactions could finally be able to benefit from Bitcoin's trustlessness as well.

One already popular use case that would certainly benefit from that would be stablecoins. Examples like USDT are already widely-used for digital payments and remittances, especially in developing countries where the legacy financial infrastructure is not always functional and the local currencies are volatile.

With Lightning, more and more people could adopt stablecoins and use them for payments. This would be beneficial in improving the financial stability of people otherwise forced to use a local currency that is (even) more unstable than the U.S. dollar, while also bringing them one step closer to adopting Bitcoin as they become familiar with its technology, even while they are still not comfortable with its volatility. Also, additional digital assets on Lightning would not only benefit the diffusion of stablecoins and other tokenization use cases, but they would simultaneously help Bitcoin itself, as more technologically-compatible infrastructure would be built (e.g., the payment terminal accepting stablecoins on Lightning would very easily also accept bitcoin).

Moreover, once there are stablecoins and other assets on the Lightning Network, it becomes possible to have decentralized exchange functionalities directly over Lightning, with two nodes being able to atomically swap bitcoin against other assets at the same speed and cost of a Lightning payment, without counterparty risks. This represents a significant improvement to the current state of decentralized exchanges (DEXes), meaning that more people will be able to move away from centralized exchanges and stop having to trust a third party with their collateral.

Bringing More Digital Assets To The Lightning Network

So, how can all of this be achieved?

First of all, we need a way to issue and transfer assets on the Bitcoin blockchain, and this is possible with the RGB protocol, which enables users to create an off-chain contract that issues new assets and allocates them to a Bitcoin UTXO. Such assets can then be moved around using client-side validated transfers (you can read more about how RGB works in this previous article).

Example of an RGB asset being issued and subsequently transferred between UTXOs controlled by different parties paying each other. All images in this article were created by the author.

Once we have RGB assets on chain, it is possible to add them to Lightning channels by sending them to the multisig UTXO used for the channel opening, and once inside it, they can be moved and routed between the participants, similarly to regular bitcoin Lightning payments.

To guarantee the security of an RGB channel, at each channel update the assets are sent from the funding multisig to the outputs created by the Lightning commitment transaction, meaning that if an old state of the channel is broadcast, it is possible to trigger an RGB punishment transaction (along with the Bitcoin one) and take all of the RGB assets of the attacker.

Example of a Lightning commitment transaction with its specular RGB transfer that moves assets from the channel multisig to the outputs created by the commitment transaction. In this way, if Alice broadcasts an old state, Bob will be able to trigger the punishment transaction using her secret for both the bitcoin and all assets allocated to that output.

It is worth noting that for a payment to be successfully finalized, it requires all channels it gets routed through to have sufficient liquidity in the specific asset being transferred. This means that every RGB asset needs to have its own Lighting Network graph, and realistically, only very popular assets can achieve it (e.g., stablecoins).

Beyond Popular Stablecoins

For less-popular assets, however, there are still a couple of options available to leverage RGB’s Lightning Network compatibility. The simpler one is to bootstrap a quite-centralized network where everyone connects to a limited number of main nodes, relying therefore on an almost hub-and-spoke-style model. While this does not offer the same censorship resistance guarantees of a more decentralized network, it can still serve the purpose for a lot of use cases (e.g., in-game tokens).

A second available option is to use exchange nodes to swap a low-liquidity asset against a more-liquid one, using the latter to more easily route the payment closer to the destination, and then swap again against the lower liquidity asset so that it can be delivered to the beneficiary of the payment. This solution is also not without problems, however, as exchange nodes will charge a spread to offer the swap service, which for illiquid assets is likely to be significant, and it has to be paid twice.

Graphical representation of a possible Lightning Network with RGB-colored channels. The gray circles represent normal Lightning Network nodes, while colored circles represent nodes supporting a specific RGB asset. When transferring an asset along a Lightning path, there will be some nodes having both colored and normal bitcoin channels which can act as exchanges to allow the payment to get to its destination leveraging bitcoin liquidity.

Regardless of the inevitable frictions that will exist for illiquid assets, having easily-accessible liquidity bridges between assets is greatly beneficial to create a more interconnected ecosystem with multiple projects also being able to contribute to the same technological infrastructure.

The Building Blocks Are Ready To Be Used

So, what's the current stage of development around RGB on Lightning? Recently, Bitfinex's RGB team (of which this author is a part) released rgb-lighting, a fully-working Lightning node for RGB assets, which on its own represents a major technological achievement. And, at the same time, other Lightning implementations are also planning to support RGB, such as Maxim Orolvsky's LNP node. While still not mature enough at the time of this writing (March 2023) to be used with large amounts of money, all of the technological stack and building blocks needed to start building applications and use cases on RGB and Lightning are there and ready to be used.

For a better understanding on how RGB works and how assets are moved inside of Lightning channels, visit rgb.info to find more resources.

This is a guest post by Federico Tenga. Opinions expressed are entirely their own and do not necessarily reflect those of BTC Inc or Bitcoin Magazine.

Similar to Notcoin - TapSwap on Solana Airdrops In 2024

origin »

Santiment Network Token (SAN) на Currencies.ru

$ 0.0865709 (-0.22%)
Объем 24H $210
Изменеия 24h: 9.95 %, 7d: 19.49 %
Cегодня L: $0.0865709 - H: $0.0865709
Капитализация $0 Rank 5672
Цена в час новости $ 0.1272 (-31.94%)

network lightning bitcoin rgb stablecoins utxos enabling

network lightning → Результатов: 126


Binance Announces Plans To Integrate Bitcoin Lightning Network

World-leading crypto exchange Binance has announced plans to integrate the Bitcoin Lightning Network (LN) on its platform for deposits and withdrawals. The exchange disclosed this information via a Twitter post earlier today following observations of Binance’s nodes on the Lightning Network by some “eagled-eyed” crypto community members.

2023-6-21 22:00


Приложение Block CashApp добавило поддержку Lightning Network

Платежный сервис компании Block Cash App добавил поддержку решения второго уровня Lightning Network. Теперь все транзакции по умолчанию будут проходить через эту сеть.

2022-10-26 09:21


В работе Lightning Network произошел сбой

Основатель платформы Bitmatrix Бурак Кеджели создал и выполнил сложную транзакцию в блокчейне биткоина, которая временно вывела из строя часть сети микроплатежей Lightning Network (LN).

2022-10-12 14:11


Состояние Lightning Network | 11 июня 2022

Bitcoin Magazine о состоянии Lightning Network на начало июня 2022. «Lightning Network позволит каждому — частным лицам и малому бизнесу, компаниям и организациям — отправлять внутренние и международные платежи любого размера — с неограниченной частотой, без посредничества банков, почти мгновенно и практически бесплатно», — NYDIG, «On Impossible Things Before Breakfast» (PDF). Для тех, кто не […]

2022-6-11 12:06


Kpиптoбиpжa Kraken дoбaвилa пoддepжку peшeния Lightning Network

Aмepикaнcкaя кpиптoбиpжa Kraken внeдpилa peшeниe Lightning Network (LN), чтoбы пpeдocтaвить клиeнтaм мгнoвeнныe pacчёты пo тpaнзaкциям в биткoйнax. Lightning Network — этo мacштaбиpуeмoe peшeниe или уpoвeнь 2, пocтpoeнный пoвepx блoкчeйнa биткoйнa, кoтopый пoзвoляeт быcтpo oтпpaвлять и пoлучaть BTC пpaктичecки бeз кoмиccии.

2022-4-4 19:00


Фото:

В Arcane Research отметили рост экосистемы Lightning Network

Экосистема сети микроплатежей биткоина Lightning Network (LN) растет быстрее ее емкости. На это обратили внимание аналитики Arcane Research. The Bitcoin Lightning Network ecosystem is growing! Our data on Lightning Network payments points to usage growing more than public capacity as well.

2022-3-19 19:37


Spiral Джека Дорси представила ролик об инициативе в области запуска нод в Lightning Network

Ориентированный на продвижение биткоина проект Spiral (ранее Square Crypto) представил набор инструментов для разработки криптовалютных кошельков и других технических решений на базе сети микроплатежей биткоина Lightning Network (LN).

2021-12-7 11:58


Остались только ходлеры

Ведущие аналитики Glassnode изучают бычьи и медвежьи факторы для текущей структуры рынка BTC, а также рассказывают о последних показателях Lightning Network на фоне распространения lightning-платежей в Сальвадоре и внедрения их поддержки в Twitter.

2021-9-28 16:15


Ритейлер миллиардера Салинаса Плиего добавит поддержку Lightning Network

Сеть магазинов потребительской электроники, мебели и бытовой техники в Латинской Америке Elektra добавит в качестве платежной опции сеть Lightning Network. Very soon we will have this in our Elektra store network.

2021-9-6 13:03


Количество заблокированных в Lightning Network биткоинов превысило 1500

С начала года количество биткоинов, заблокированных в сети Lightning Network, постоянно растет и сейчас показатель превысил 1 500 BTC. Lightning Network – это решение второго уровня по масштабированию сети Биткоина, которое позволяет значительно снизить объем комиссий и ускорить проведение платежей.

2021-6-19 14:17


Твиттер может добавить поддержку Lightning Network

Твиттер может добавить поддержку Lightning Network (LN), решения второго уровня для сети биткоина. Об этом сообщил глава компании Джек Дорси. Only a matter of time — jack (@jack) June 11, 2021 Как будет работать Lightning Network в твиттере, и когда планируется интеграция, Дорси не уточнил.

2021-6-12 16:53


Биржа OKCoin внедряет поддержку Lightning Network

Криптовалютная биржа OKCoin анонсировала поддержку протокола второго уровня Lightning Network (LN) для «снижения транзакционных комиссий биткойна с примерно $10 до считанных центов». We’re proud to announce that OKCoin will integrate the @lightning network allowing for near instant withdrawls and reducing bitcoin network fees from ~$10 to pennies.

2021-1-25 10:47


Биржа OKCoin будет поддерживать Lightning Network

Криптовалютная биржа OKCoin анонсировала поддержку протокола второго уровня Lightning Network (LN) для «снижения транзакционных комиссий биткоина с примерно $10 до Считанных центов».

2021-1-24 10:10


В Lightning Network обнаружена возможность атаки на цепочки платежных каналов

Исследователи из израильского университета утверждают, что обнаружили уязвимость в Lightning Network, которая позволяет украсть BTC при проведении транзакций. В исследовании Йона Харрис (Jona Harris) и Авив Зохар (Aviv Zohar) из Еврейского университета в Иерусалиме обнаружили, что злоумышленники могут использовать уязвимость Lightning Network, чтобы украсть BTC пользователей.

2020-7-1 10:00


Исследователи обнаружили проблему конфиденциальности в Lightning Network

Исследователи из университетов Норвегии и Люксембурга обнаружили возможность атаки на Lightning Network. При этом могут быть раскрыты балансы узлов, через которые проходит транзакция. Согласно отчету, четверо исследователей и разработчик Lightning Network (LN) Рен Пикхардт (Ren Pickhardt) смогли использовать передачу транзакций через промежуточные узлы для того, чтобы «прозондировать» каналы сети и раскрыть количество биткойнов, лежащих на […]

2020-4-19 13:33


NetCents integrating Lightning Network into crypto merchant payment gateway

NetCents, a cryptocurrency payments solutions provider, announced today that it is integrating the Lightning Network into its crypto merchant gateway. The Lightning Network is a “layer 2” payment protocol that operates on top of blockchain-based cryptocurrencies; enabling near-instant transactions with low or non-existent blockchain fees for users regardless of network congestion.

2020-2-6 18:48


Фото:

Развитие Lightning Network идёт даже быстрее, чем ожидалось

Исследовательский отдел BitMEX опубликовал отчёт по новому анализу потенциала Lightning Network. Итоги радуют. Эксперты пришли к выводу, что сеть LN достигла значительных успехов в своём развитии, а её рост идёт даже быстрее ранее прогнозированных темпов. Lightning Network — это платёжный...

2020-1-16 16:20


BitMEX: Внедрение Lightning Network для обработки биткоин-транзакций не оправдало ожиданий

Исследователи BitMEX утверждают, что преимущества Lightning Network аспектах конфиденциальности и масштабирования далеко не так хороши, как ожидалось. В отчете исследователи BitMEX проанализировали рост Lightning Network (LN) и попытались экстраполировать данные о платежных каналах из имеющейся в открытом доступе информации.

2020-1-15 17:10