Ripple’s blockchain implements new features for smart contracts

[ad_2][ad_1]

Main aspects:

The new function, called Hooks, allows you to manage the basic functions of a smart contract.

Hooks anticipates XRP project with Flare Networks to execute ETH smart contracts.

A new function is introduced on the Ripple blockchain that allows the execution of smart contracts (XRP Ledger or XRPL). This is “Hooks”, a code that from November 18 is available for developers and operators of nodes on the platform.

In an information published on Twitter by Wietse Wind, Head of Development at XRP Labs, it is explained that the new feature will be launched after having tried the alpha version last October. The manager adds that with this new functionality, the implementation of new use cases for the Ripple blockchain is expected, as well as attracting more users.

In his message, the developer share the new code along with a number of different commands for Docker, an application to be used to run smart contract software packages on the XRP ledger. It also provides a Github link with all the necessary instructions for implementation.

Among some of the instructions, it is indicated that to execute smart contracts on the Ripple blockchain, developers must follow two basic steps: operate a node to view the logs and another to implement the commands.

The wind ensures it they will be making further updates and adjustments to the Hooks soon, starting with the current version, which is initially a collection of basic functions for executing smart contracts.

Unfinished Smart Contracts in Turing

blockchain cryptocurrency smart contracts

blockchain cryptocurrency smart contracts

Hooks is a new code that allows the execution of smart contracts on the Ripple blockchain. Source: xresch / pixabay.com

Hooks consists of a series of small band assembly modules, designed specifically for XRPL, which runs on the Ripple register at level 1 (on the chain). “This means that they have the ability to control, with atomicity and purpose, the logical flow and execution of transactions in the accounts for which they are configured,” according to the developer.

Wind adds that these modules can be written in any language (fillable in WebAssembly binary code format). This makes it possible to implement most of the business logic and smart contract concepts in a hook.

The hooks they are deliberately written in the language of Turing not completed. “Although often touted as the Holy Grail of smart contracts, Turing-Completeness is actually inappropriate for smart contracts,” says the developer, alluding to the language used to encode smart contracts in Ethereum. .

The stopping problem describes the mathematical impossibility of predicting whether an arbitrary program will stop or run forever on a complete Turing system. Obviously, this is not desirable as we need to be able to determine in advance when the execution of a smart contract will be completed.

Wietse Wind, Head of Development at XRP Labs.

In general, the release of Hooks becomes the first proprietary feature which allows you to run smart contracts in the Ripple ecosystem. This is one of the most anticipated implementations by the community that revolves around this project, depending on how far some digital media is limited.

In this sense, Ripple has partnered with the new Flare Networks platform team for about a year to enable running Ethereum smart contracts on XRPL. As posted on CryptoNews, the plan is being implemented through Xpring, Ripple’s investment wing and technology incubator.

As part of this idea, Ripple made a strategic investment in Flare Networks in 2019, which already released its white paper last August. It details how XRPL will be added to the Flare ecosystem. This network will integrate the Ethereum virtual machine, allowing public and private networks to use and execute smart contracts.

The project is currently underway at the launch of its native cryptocurrency (Spark), for next December 12th. The new token will be distributed among the holders of the XRP cryptocurrency participating in the assignment.

[ad_2]Source link