Exclusive: Liquid Network Gets Its First General-Purpose Javascript Library

Published at: July 9, 2020

Blockstream’s Liquid Network is now featuring its own Javascript library for developers to easily interact with the blockchain.

Named LiquidJS, it was developed and announced by pTokens, an interoperability project working to bring assets cross-chain. The open-source library simplifies access to the Liquid Network for external applications, with no requirements of setting up dedicated nodes.

Thomas Bertani, pTokens’ founder, described it as the equivalent of Ethereum’s web3.js library in a conversation with Cointelegraph. Javascript is currently among the most popular programming languages used by virtually all web applications in some form. As such, Javascript libraries for interfacing with blockchains are used “by several thousands of projects,” Bertani said.

He explained that the Liquid library enables a wide range of uses, including easy integration with wallets. Currently very few providers support Liquid, and Blockstream Green is the only software wallet available to average users. But the library’s capabilities go beyond that:

“It can also be used with DApps - financial tools, swaps, private transactions etc. For example, this library will enable interoperability projects like pTokens to add support for Liquid Network.”

In a conversation with Cointelegraph, Blockstream marketing director Neil Woodfine said that “based on the popularity of BitcoinJS over the last few years, LiquidJS should further accelerate the deployment of Liquid applications.”

He also explained that Blockstream’s focus right now is on “core technology that strengthens the foundations of the Liquid Network,” mentioning an upcoming upgrade to a dynamic validator federation.

Liquid to connect with other networks

The Liquid Network is commonly referred to as a sidechain of Bitcoin (BTC), as it uses a bridged version of Bitcoin as its native currency. While its primary purpose is to enable quick BTC transfers between exchanges, its assets feature is being used by a game developer to create non-fungible tokens.

Liquid is in many ways an upgraded version of Bitcoin as it is built on its code base. It features faster block times and transaction finality, confidential transactions for privacy, and native support for custom tokens. In addition, a much more advanced scripting language is scheduled for release this year.

Bertani said that the creation of the library was motivated by pTokens’ wish to “contribute to the ecosystem beyond our own solution alone.” But he also revealed that the team will make use of the library to bring currencies from other chains to Liquid.

The project is currently providing several wrapped tokens on both Ethereum (ETH) and EOS, allowing DeFi project Equilibrium to support BTC collateral.

Woodfine said that the company is welcoming support for additional blockchains:

“There are already a few wrapped tokens starting to emerge on the network. We’re expecting pTokens work to accelerate this trend and introduce some interesting trust-minimized models for importing existing assets to the Liquid Network.”

He suggested that the primary use case for these additional tokens would be for trading on exchanges, similar to how it works for BTC.

Nevertheless, the library’s potential seems to go beyond simply transferring tokens. While Liquid is positioned as a settlement layer, many of its features support use cases similar to smart contract platforms. However, some criticize Liquid’s approach given the network’s high degree of centralization.

Tags
Related Posts
Finance Redefined: The $20,000 Bitcoin special, Dec. 9–16
Finance Redefined is Cointelegraph's DeFi-centric newsletter, delivered to subscribers every Wednesday. Today the crypto world is celebrating Bitcoin’s new all-time high. We did it guys! We’re back to $20,000 after three grueling years. So for this reason, this will be a bit of a Bitcoin-themed newsletter. How is Bitcoin related to DeFi, you ask? Well, for one thing, DeFi’s total value locked has a delta of about 0.2 to Bitcoin’s price. This means that for each 1% that BTC price goes higher or lower, DeFi TVL changes by 0.2%. Most of that relationship is due to the peculiar accounting choice …
Technology / Dec. 16, 2020
Anomaly on Bitcoin Sidechain Results in Brief Security Lapse
A malfunction in Blockstream’s Liquid bridge for Bitcoin (BTC) resulted in a Blockstream-owned 2-of-3 multisig contract briefly controlling over 870 BTC, worth $8 million. This was discovered on June 26 by James Prestwich, founder of blockchain software development company Summa, which contributed to the tBTC project. According to his findings, the spending script for the transaction was configured so as to transfer control to a simple 2-of-3 multisig contract after 2,015 blocks, or about two weeks. While this is intended behavior, this is only meant to be triggered as a last resort if the Liquid network were to collapse, as …
Technology / June 26, 2020
Satoshi Didn’t Sign Craig Wright Message, Says Crypto Researcher
On Monday, a Bitcoin (BTC) miner — or multiple Bitcoin miners — signed a message calling Craig Wright a fraud. One of the addresses used had been previously attributed to the creator of Bitcoin, Satoshi Nakamoto. The message was signed with 145 signatures belonging to the 145 corresponding addresses, and one of those addresses — 12CTHhyJtr49LgoUShbWgebLBviLAFj6nj — was a coinbase address for the Bitcoin mined in block 30169. Previous research conducted by Sergio Demian Lerner identified this block as one mined by Satoshi. Block 30169 Part of “Patoshi” Pattern. Source. SatoshiBlocks. Experts disagree However, Lerner told Cointelegraph that this is …
Technology / May 26, 2020
Is Blockstream’s Liquid Network an Attempt to Compete for Tokens with Ethereum?
At Consensus Distributed on May 12, Blockstream presented Lightnite, a Fortnite-like game that uses the Liquid Network for storing non-fungible tokens (NFT) representing game items. While the game is developed by independent company Satoshi’s Games, Blockstream has sponsored the game by running a token giveaway. The announcement has garnered a considerable amount of criticism from Ethereum (ETH) fans, given the longstanding rivalry with the Bitcoin (BTC) “maximalists.” Non-fungible tokens are traditionally associated with Ethereum and other smart contract blockchains, and received constant criticism from Bitcoin community members as part of that association. Benjamin DiFrancesco, an Ethereum contributor and founder of …
Technology / May 25, 2020
Bitcoin moves $500K around the globe every second, says Samson Mow
Blockstream’s Samson Mow wants to move the conversation away from Bitcoin’s (BTC) performance in transactions per second and toward its role in ushering in “a new financial paradigm,” that is, serving as a permissionless medium for the store and transfer of value. #Bitcoin moves nearly half a million dollars in value around the globe permissionlessly every second. It was never about transactions per second and coffee. It's all about value transacted per second and a new financial paradigm. #VTPS not #TPS. Nothing comes close to @BTC. pic.twitter.com/aXfDauPx9b — Samson Mow (@Excellion) December 2, 2020 Mow’s argument is that “VPTS [value …
Technology / Dec. 2, 2020