Saturday, October 23, 2021
Home Crypto News Market Hooks Add Smart Contract Functionality To XRP Ledger

Hooks Add Smart Contract Functionality To XRP Ledger

- Advertisement -

Hooks add smart contract functionality to the XRP Ledger: ‘layer one’ custom code to influence the behavior and flow of transactions. Hooks are small, efficient pieces of code being defined on an XRPL account, allowing logic to be executed before and/or after XRPL transactions.


The XRP ledger is known and is being appreciated for its transaction throughput, speed and the low fees. Combined with available advanced transaction types like multi sign, escrows, payment channels and even a decentralized exchange (all on ledger, out of the box, without requiring smart contracts) the XRPL has a lot to offer businesses and (creative) developers.

Hooks add smart contract functionality to the XRP Ledger: ‘layer one’ custom code to influence the behavior and flow of transactions. Hooks are small, efficient pieces of code being defined on an XRPL account, allowing logic to be executed before and/or after XRPL transactions. These hooks can be really simple, like: “reject payments < 10 XRP”, or “for all outgoing payments, send 10% to my savings account” or more advanced.

By allowing hooks to not only execute efficient logic but also to store small, simple data objects, one could define a hook like: “for incoming payments transactions, check if the sending account is in a list maintained by another hook, and if present: reject the transaction”.

Hooks are deliberately not Turing-Complete. While often touted as the holy grail of smart contracts, Turing-Completeness is actually inappropriate for smart contracts.

Hooks are currently live on a public testnet. It’s time for testing, coding, having fun & breaking things, so a future amendment to add Hooks to the XRP Ledger livenet can be drafted with confidence, hopefully at the end of 2021.

- Advertisement -
Mark Brennanhttps://thecryptobasic.com/
Mark is 27, holds a Master degree in Business Administration, and works as a content Creator at TheCryptoBasic mostly on Crypto Market Updates. Since 2014 he has been active in the crypto sector. Thanks to the Business College in which other than Business subjects, he was taught about the disruptive potential of Blockchain. His interests include Blockchain technology and Crypto Market innovations. He also founded a small startup in which he gives lectures on cryptocurrencies.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -

Recent News & Articles

The Bank Of Israel Aims To Launch Its CBDC On Ethereum

For now, central banks around the world are still working on developing and testing their own CBDCs, but there are new ones that are...

Russian Central Bank Head Says Russia Is Not Ready To Launch Crypto ETFs

The head of the Bank of Russia, Elvira Nabiullina gave a negative answer to the question about the possibility of trading cryptocurrency ETFs in...

Spanish Banks Anxiously Waiting For Central Bank Approval To Work With Cryptocurrencies

Spanish banks are interested in providing cryptocurrency services directly to clients and expect the Spanish Central Bank will bring regulatory clarity for crypto.

Reddit Intend To Bring Its Non Fungible Token (NFT) Platform

Reddit is looking to hire people for what could become a new platform for non-fungible tokens (NFTs) and digital goods. ...

Second Bitcoin ETF, Valkyrie Bitcoin Strategy ETF (BTF) Started Trading On Nasdaq

On the Nasdaq Stock Exchange under the ticker BTF, a Bitcoin futures ETF from Valkyrie Investments began trading at a price of $25.5.

Transient Raises $1.2 Million in IDO Public Sale to Build the Amazon of Smart Contracts

Tortola, British Virgin Islands, 22nd October, 2021, Transient Network, a Smart Contract Global Marketplace, is thrilled to announce that it has raised $1.2 million...

Binance Smart Chain Is Bringing Fee-Burning Mechanism Like Ethereum

The Binance Smart Chain (BSC) has published a proposal to improve the BEP-95 ecosystem, This new mechanism will be similar to the Ethereum chain...

Subscribe To Our Newsletter

Get Updated with All The latest Crypto News, Articles, Reviews, Analysis and much more. Delivered Every Monday.