Ripple ledger gets a new smart contract feature — “Hooks”

Ripple, a Californian crypto startup, managed to make impressive progress when it comes to partnering up with banks and financial institutions and getting them to use its coin for international transactions. However, when it comes to the coin, XRP, itself, it actually seems to lack when it comes to useful applications.
This is something that Ripple is hoping to change by bringing smart contracts to the XRP ledger.
Hooks finally becomes available for use
Ripple has been collaborating with Flare Networks to allow the execution of Ethereum’s smart contract on XRP Ledger for a long time now. The new interface will open up a variety of new functions for XRP. However, the most important recent development is the introduction of smart contracts with “Hooks.”
Hooks was originally introduced in the alpha version for XRP Ledger back in October, and it comes as one of the most anticipated additions to the Ledger in quite a while.
Hooks has brought the first proprietary smart contract functionality that the XRP exosystem has ever experienced. It was announced on Twitter two days ago, November 18th, by the chief developer, Wietse Wind, who noted that the code is now available to everyone.
Time to spin up your own local XRP ledger with the Hooks amendment enabled ;)
— WietseWind { 𝚡𝚛𝚙𝚕𝙳𝚎𝚟: 𝚝𝚛𝚞𝚎 } (@WietseWind) November 18, 2020
After months of discussing, tinkering, designing, discussing some more, building (99% Richard, hats off to him!), testing, etc. it's super exciting to publish this 😎🍻https://t.co/dfOK5KVgy3
There is more work to be done
In addition to announcing this, Wind also shared a number of different commands for the app that executes this software — Docker. The released code and commands are necessary in order to use smart contracts on XRP Ledger.
Furthermore, he also provided a Github link that comes with all the instructions.
Example hooks in C: https://t.co/990GZ19fP4
— WietseWind { 𝚡𝚛𝚙𝚕𝙳𝚎𝚟: 𝚝𝚛𝚞𝚎 } (@WietseWind) November 18, 2020
More info in the blog (Tweet above) and the README the blog links to.
Source code for rippled (xrpld) with the Hooks amendment included: https://t.co/6h3ASLRZ9l
Discussions & questions: https://t.co/eebVF0Jr3E
Simply put, there are two steps that developers need to follow. The first one is that one node must be operated in order to see the logs, while the other is that another node needs to implement the smart contract-executing commands. Of course, there is still work to be done, so further adjustments and updates are to be expected.
The post Ripple ledger gets a new smart contract feature — “Hooks” appeared first on Invezz.
from Cryptocurrency – Invezz