An R&D lab at crypto startup TenX has tested the use of its cross-blockchain interoperability protocol to transfer ERC20 tokens for Bitcoin using the Lightning Network.
The news was reported on R&D lab CoBlox's blog today, Dec. 12, in reference to the demo on Dec. 7.
As the blog post outlines, the technical challenge was to exchange ERC-20 tokens - which run on the Ethereum platform but are not strictly "Native" since they rely on invoking a smart contract to transfer ownership - for Bitcoin's smallest transactable unit, known as "Satoshi," using the second-layer scalability LN protocol.
Lightning Network is a second-layer solution to Bitcoin's scalability issue, which uses Hashed Timelock Contracts to open payment channels between users that keep the majority of transactions off-chain, turning to the underlying blockchain only to record the net results.
CoBlox's previous Ethereum HTLC, as today's post explains, was significantly simpler as it involved native assets.
CoBlox has outlined their approach to find a solution for an ERC20 case, stating that the developers decided to "Split the HTLC setup into two transactions" - "Contract deployment" and "ERC20 transfer call" - but that they could not combine the two steps.
"The ERC20 transfer function uses msg.sender for authentication. However, calling transfer from a contract deployment sets msg.sender to the address of the yet to be deployed contract which obviously has no tokens!".
"An atomic swap cannot always be expressed through this model of invoices and payments. In LND, which is what we used for our PoC, receiving a payment requires an invoice which requires knowledge of the secret. As a result, we were only able to do ERC20 to Lightning and not the other way around. The invoice used in the swap can be found below."
CoBlox states it is still "Looking at ways" to resolve the limited directionality issue, and has therefore not included the results of its proof-of-concept for ERC20 tokens as part of the open-source release of its COMIT network.
This summer, a study conducted by weekly crypto outlet Diar suggested that the Lightning Network may not be as effective at routing payments as believed, in particular when it comes to larger amounts.
Developers Test Cross-Blockchain Protocol for One-Way ERC20-Bitcoin LN Atomic Swaps
pubblicato su Dec 12, 2018
by Cointele | pubblicato su Coinage
Coinage
Menzionato in questo articolo
Notizie recenti
Vedi tutti
First Mover: What's Next for Bitcoin as Wall Street Gets Vaccine Booster
Bitcoin was higher for a second day, staying in a range of between roughly $15,200 and $15,600, as news of progress in developing a coronavirus vaccine appeared to touch off a rally in U.S. stocks.
Market Wrap: Bitcoin Fails to Break $15.9K; Over 50K ETH Staked on Eth 2.0 Contract
Bitcoin gained Wednesday while Ethereum 2.0 staking has been ramping up.
Citibank Analyst Says Bitcoin Could Pass $300K by December 2021
A senior analyst at U.S.-based financial giant Citibank has penned a report drawing on similarities between the 1970s gold market and bitcoin.
Blockchain Bites: Data Unions. Hard Forks. And One Citi Analyst's Case for $300K BTC.
A Citibank managing director thinks bitcoin could hit $318,000.