TheDinarian
News • Business • Investing & Finance
🌐Hooks: Smart Contracts for the XRP Ledger🌐
January 17, 2023
post photo preview

One of the key features that sets the XRP Ledger (XRPL) apart from other blockchains is its ability to do things natively, such as token issuing, escrows, and decentralized trading.

Other chains require smart contracts to do those same things. All these and more are built into the XRPL, making it efficient and well-documented.

Adding Hooks to the XRPL increases its functionality and expands the range of potential services on offer for retail and enterprise users.

What are Hooks?

Hooks allow the creation of customized logic and automation within the XRPL, making transactions smarter and more convenient.

These small, efficient modules add custom on-ledger functionality, such as creating custom triggers for specific events on the ledger. These triggers can be used to send on-ledger actions or execute other actions in response to the specified event.

Hooks are currently only available on the XRPL Labs public Hooks testnet, as the feature is under development.

There is a Hooks Builder site where you can develop, test, debug, and deploy your own Hooks on testnet in your browser, using our examples or building your own from scratch.

Why are Hooks a big deal?

Simply put, Hooks add smart contract functionality to the XRPL. They give you the freedom to build and deploy your applications with functionality tailored to your specific needs and requirements. They can be used to implement most business logic and smart contract ideas.

Once a hook is set up on an account, it can allow you to:

  • Block or allow transactions to and from the account.
  • Change and keep track of the hook’s internal state and logic to inform programmatic choices.
  • Send out new transactions on the account’s behalf.

Hooks can be written in C or any other language and then compiled into WebAssembly.

Some examples of specific Hooks

Auto-Savings Hook

Automatically transfer a set amount of XRP into a separate savings account on the ledger. This could be done regularly, such as daily, weekly, or monthly, to help the person save a portion of their XRP and build up their savings.

Carbon-Offset Hook

When sending funds, an extra transaction is sent out for 1% of the amount spent. This transaction is sent to a carbon offset account run by a non-governmental organization (NGO), which will use the money to plant trees.

Firewall Hook

Malicious small transactions containing memos or outgoing payments to confirmed scam accounts are blocked. The hook can retrieve a blocklist from a different hook installed on a different account. This means the user does not need to update their firewall to remain safe. Additionally, the user can impose spending limits to prevent high amounts from being withdrawn.

How do Hooks differ from an Ethereum Virtual Machine (EVM)?

XRPL Hooks and the EVM both allow developers to build and deploy custom logic and automation within their respective platforms. However, some key differences between these two technologies set them apart.

One of the main differences between Hooks and EVM is the platform they are designed to work with. Hooks are specifically designed to work within the XRP Ledger, while EVM smart contracts only work with Ethereum-based blockchains.

Hooks are more efficient because they use WebAssembly (WASM), which is faster and more efficient than the bytecode used by the Ethereum Virtual Machine.

Additionally, XRPL Hooks use guards to ensure that maximum execution time is well-bounded and known ahead of time, which helps to improve efficiency.

Alternatives to Hooks on the XRPL

Ripple and Peersyst announced that an EVM-compatible sidechain is now live on the company’s devnet.

A sidechain is an independent ledger with its own consensus algorithm and transaction types and rules. It acts as its own blockchain.

The EVM sidechain is an alternative to Hooks that adds a type of smart contract functionality to the ecosystem.

However, sidechains operate on Layer 2, so any smart contracts running on the sidechain are not directly integrated into the XRPL.

In order to use the smart contract functionality of the sidechain, XRP first has to be swapped onto the sidechain, then later swapped back. This means the transaction essentially gets processed twice. Once on the sidechain, then again on the XRPL, meaning Layer 2 smart contracts cannot influence the flow.

Hooks can decide if a transaction is allowed in the first place. Layer 2 can make a retroactive decision, but the initial transaction has already happened.

Hooks are more closely integrated with XRPL, operating directly on Layer 1 of the XRPL, so they are more tightly integrated with the underlying blockchain technology than the EVM-Compatible Sidechain to take advantage of the specific features and capabilities of the XRPL platform.

Hooks are implemented using WebAssembly, designed for high-performance environments such as edge computing.

Hooks will expand the on-ledger functionality and help XRPL grow

Hooks will bring native smart contract functionality to the XRPL, allowing the development of custom applications tailored to the specific needs and requirements of the account holder, opening up whole new domains of functionality, as the possibilities with Hooks are almost unlimited.

As the XRPL continues to grow, there is no doubt that Hooks will play a significant role in driving further innovation and adoption of the platform by retail and enterprise users.

Link

community logo
Join the TheDinarian Community
To read more articles like this, sign up and join my community today
0
What else you may like…
Videos
Podcasts
Posts
Articles
⚠️ Ripple appearance at the Headquarters of the Bank of Spain

⚠️ Ripple appearance at the Headquarters of the Bank of Spain, Co-organised by the Reinventing BRETTON WOODS Committee⚠️
September 10 and 11, 2019

Full video: https://youtu.be/kUx1pJ9wadQ?si=FrqIfoeWJHtgBZXa

00:07:08
📽️ One of the most important things we’ve done at Pyth is help bring U.S. GDP onchain 🏛️

Working with the U.S. Department of Commerce to publish official economic data on a public blockchain is a powerful signal of where global market infrastructure is headed. When core economic indicators become cryptographically verifiable, composable, and accessible in real time, it opens the door to a more transparent and more efficient financial system for everyone.

Thanks to Roundtable and Jackson Hinkle for hosting a thoughtful conversation on how this came together and what it means for the future of market data.

In a conversation with Jackson Hinkle

Full interview link: https://www.thestreet.com/crypto/policy/why-washington-is-experimenting-with-public-blockchains-for-economic-data

00:04:14
Patent US10144532B2 | Craft using an inertial mass reduction device

🚀 The Mind-Blowing Patent That Could Revolutionize Space Travel: US Navy's Anti-Gravity Craft! 🛸

December 4, 2018 - The day physics got weird

🤯 What If I Told You...

The US Navy patented a spacecraft that could bend the laws of physics as we know them? No, this isn't science fiction or the latest Marvel movie – this is US Patent US10144532B2, and it's about to blow your mind! 💥

🎯 The Patent That Made Physicists Go "Wait, WHAT?!"

Filed on April 28, 2016, and granted on December 4, 2018, this patent describes a "Craft Using an Inertial Mass Reduction Device" – which is fancy talk for "spaceship that can make itself lighter than physics allows."

Invented by Salvatore Cezar Pais and assigned to the US Department of Navy, this isn't your average paper airplane design. We're talking about technology that could theoretically allow spacecraft to travel at extreme speeds by literally manipulating the fabric of spacetime itself! ⚡

🔬 The Science Behind the Magic✨

👉Here's where it gets really wild:

🌀 The ...

00:05:23
👉 Coinbase just launched an AI agent for Crypto Trading

Custom AI assistants that print money in your sleep? 🔜

The future of Crypto x AI is about to go crazy.

👉 Here’s what you need to know:

💠 'Based Agent' enables creation of custom AI agents
💠 Users set up personalized agents in < 3 minutes
💠 Equipped w/ crypto wallet and on-chain functions
💠 Capable of completing trades, swaps, and staking
💠 Integrates with Coinbase’s SDK, OpenAI, & Replit

👉 What this means for the future of Crypto:

1. Open Access: Democratized access to advanced trading
2. Automated Txns: Complex trades + streamlined on-chain activity
3. AI Dominance: Est ~80% of crypto 👉txns done by AI agents by 2025

🚨 I personally wouldn't bet against Brian Armstrong and Jesse Pollak.

👉 Coinbase just launched an AI agent for Crypto Trading

🚨 Ripple Drops $2.7 B Cash-and-Stock Deal for Full-Stack Financial Platform 🚨

Ripple has agreed to buy (subject to CFIUS and EC clearance) a yet-unnamed “full-stack” payments, FX and treasury-suite provider—valued at $2.7 B, its largest acquisition to date—to fold fiat rails, card issuing and 200+ country licenses directly into the XRP Ledger ecosystem, according to Crypto Threads’ unnamed sources close to the board.

🔑 Key points

🔹 Target profile:

  • 1,100 employees, 42 offices; owns EMI licenses in EU/UK, MSB registrations in 47 U.S. states, PI/PF licenses in Singapore, HK, UAE; processes $48 B annual payments volume, 65 % B2B cross-border.

  • Proprietary FX engine aggregates 450+ correspondent-bank routes plus four CSD access points (Fedwire, TARGET2, BOJ-NET, CHATS); average FX markup 18 bps vs Ripple ODL’s current 60 bps.

  • White-label card platform (Visa Fintech Fast-Track member) with 3.2 M virtual cards issued; instant push-to-debit rails in 70 countries.

🔹 Deal ...

post photo preview

JUST IN - Trump announces 10% tariffs for Denmark, Norway, Sweden, France, Germany, UK, Netherlands and Finland from Feb 1st, 👉 increasing to 25% on June 1st, until "a Deal is reached for the Complete and Total purchase of Greenland."

post photo preview

Bank of England must plan for financial crisis sparked by aliens 👽

A former analyst at the central bank has urged governor Andrew Bailey to put contingencies in place to prevent collapse if alien life is confirmed

https://www.thetimes.com/uk/scotland/article/bank-of-england-must-prepare-for-ufo-announcement-f3mh8l9vh

post photo preview
🚨David Grusch on The Megyn Kelly Show🚨

Earlier this week, UFO/UAP whistleblower David Grusch appeared on The Megyn Kelly Show for a brief but revealing interview. During the conversation, Grusch named individuals he claimed were involved in managing the alleged UFO/UAP Legacy crash retrieval program, statements that immediately drew attention across the disclosure community.

Most notably, Grusch asserted that former Vice President Dick Cheney played a central role in overseeing the program. Cheney’s name has circulated within UFO/UAP research circles for years, but this marks the first time it has been spoken publicly by a former intelligence official who claims direct knowledge of the issue. It is also notable that just weeks ago, journalist Ross Coulthart independently referenced Cheney in a similar context, lending additional weight to the consistency of these claims.

Grusch also named former Director of National Intelligence James Clapper, stating that Clapper was not only aware of the crash retrieval issue, but managed it and helped place individuals into key roles, both publicly and behind the scenes. These are serious assertions that warrant scrutiny and further investigation, given their potential implications for disclosure.

Please watch the full interview and consider its significance within the broader context of the disclosure conversation. Please note that the interview concludes with a paid promotional pitch, and Grusch does not provide any additional comments after the pitch.

 

  🙏 Donations Accepted, Thank You For Your Support 🙏

If you find value in my content, consider showing your support via:

💳 Stripe:
1) or visit http://thedinarian.locals.com/donate

💳 PayPal: 
2) Simply scan the QR code below 📲 or Click Here: https://www.paypal.com/donate/?business=8K3TZ2YFZ7SMU&no_recurring=0&item_name=Support+Crypto+Michael+%E2%9A%A1+Dinarian+on+Locals+Blog&currency_code=USD


🔗 Crypto Donations Graciously Accepted👇
XRP: r9pid4yrQgs6XSFWhMZ8NkxW3gkydWNyQX
XLM: GDMJF2OCHN3NNNX4T4F6POPBTXK23GTNSNQWUMIVKESTHMQM7XDYAIZT
XDC: xdcc2C02203C4f91375889d7AfADB09E207Edf809A6

 

Read full Article
post photo preview
Stellar CEO Reveals Where Real Opportunity Lies in Crypto Market: Details

In a recent tweet, Stellar Development Foundation (SDF) CEO and Executive Director Denelle Dixon defines what "real opportunity" is in blockchain as a new financial future beckons.

The SDF CEO was reacting to a recent Bloomberg report on Bank of New York Mellon Corp (BNY), Nasdaq, S&P Global and iCapital participation in a new $50 million investment round by Digital Asset Holdings. This comes as some of Wall Street’s biggest names embrace the technology that underpins cryptocurrencies to handle traditional assets.

Reacting to this development, Stellar Foundation CEO Denelle Dixon stated that every blockchain investment is a bet on a different financial future. Dixon added that seeing banks explore blockchain technology validates what has been known over the years.

Real opportunity defined

While Wall Street’s biggest names betting on blockchain might be one of the most significant adoption milestones in the digital asset market, Dixon defines what real opportunity is and what it is not.

According to the SDF executive director, real opportunity is not replicating old systems on new rails but rather building open networks that fundamentally expand global finance participation.

"But the real opportunity isn’t replicating old systems on new rails—it’s building open networks that fundamentally expand who gets to participate in global finance. That’s the opportunity," Dixon tweeted.

At the Meridian 2025 event, Stellar outlined its long-term privacy strategy, committing to investing in critical privacy infrastructure and building foundational cryptographic capabilities.

Stellar eyes privacy upgrade

A new protocol upgrade is on the horizon for the Stellar network: X-Ray, which lays the groundwork for developers to build privacy applications on Stellar using zero-knowledge (ZK) cryptography.

The protocol timeline testnet vote is anticipated for Jan. 7, 2026, while the mainnet vote is expected for Jan. 22, 2026.

Source

  🙏 Donations Accepted, Thank You For Your Support 🙏

If you find value in my content, consider showing your support via:

💳 Stripe:
1) Visit http://thedinarian.locals.com/donate

💳 PayPal: 
2) Simply scan the QR code below 📲 or Click Here

🔗 Crypto Donations Graciously Accepted👇
XRP: r9pid4yrQgs6XSFWhMZ8NkxW3gkydWNyQX
XLM: GDMJF2OCHN3NNNX4T4F6POPBTXK23GTNSNQWUMIVKESTHMQM7XDYAIZT
XDC: xdcc2C02203C4f91375889d7AfADB09E207Edf809A6

Read full Article
post photo preview
XDC Network's acquisition of Contour Network

XDC Network's acquisition of Contour Network marks a silent shift to connect the digital trade infrastructure to real-time, tokenized settlement rails.

In a world where cross-border payments still take days and trap trillions in idle liquidity, integrating Contour’s trade workflows with XDC Network Blockchains' ISO 20022 financial messaging standard to bridge TradFi and Web3 in Trade Finance.

The Current State of Cross-Border Trade Settlements

Cross-border payments remain one of the most inefficient parts of global finance. For decades, companies have inter-dependency with banks and their correspondent banks across the world, forcing them to maintain trillions of dollars in pre-funded nostro and vostro balances — the capital that sits idle while transactions crawl across borders.

Traditional settlement is slow, often 1–5 days, and often with ~2-3% in FX and conversion fees. For every hour a corporation can’t access its own cash increases the cost of financing, tightens liquidity that could be used for other purposes, which in turn slows economic activity.

Before SWIFT, payments were fully manual. Intermediary banks maintained ledgers, and reconciliation across multiple institutions limited speed and volume.

SWIFT reshaped global payments by introducing a secure, standardized messaging infrastructure through ISO 20022 - which quickly became the language of money for 11,000+ institutions in 200 countries.

But SWIFT only fixed the messaging — not the movement. Actual value still moves through slow, capital-intensive correspondent chains.

Regulated and Compliant Stablecoin such as USDC (Circle) solves the part SWIFT never could: instant, on-chain settlement.

Stablecoin Settlement revamping Trade and Tokenization

Stablecoin such as USDC is a digital token pegged to the US Dollar, still the most widely used currency for trade, enabling the movement of funds instantly 24*7 globally - transparently, instantly, and without the need for any intermediaries and the need to lock in trillions of dollars of idle cash.

Tokenized settlement replaces multi-day reconciliation with on-chain finality, reducing:

  • Dependency on intermediaries
  • Operational friction
  • Trillions locked in idle liquidity

For corporates trapped in long working capital cycles, this is transformative.

Digital dollars like USDC make the process simple:

Fiat → Stablecoin → On-Chain Transfer → Fiat

This hybrid model is already widely used across remittances, payouts, and treasury flows.

But one critical piece of global commerce is still lagging:

👉 Trade finance.

The Missing link is still Trade Finance Infrastructure.

While payments innovation has raced ahead, trade finance infrastructure hasn’t kept up. Document flows, letters of credit, and supply-chain financing remain siloed, paper-heavy, and operationally outdated.

This is exactly where the next breakthrough will happen - and why the recent XDC Network acquisition of Contour is a silent revolution.

It transforms to a new era of trade-driven liquidity through an end-to-end digital trade from shipping docs to payment confirmation – one infrastructure that powers all.

The breakthrough won’t come from payments alone — it will come from connecting trade finance to real-time settlement rails.

The XDC + Contour Shift: A Silent Revolution

  • Contour already connects global banks and corporates through digital LCs and digitized trade workflows.
  • XDC Blockchain brings a settlement layer built for speed, tokenization, and institutional-grade interoperability and ISO 20022 messaging compatibility

Contour’s digital letter of credit workflows will be integrated with XDC’s blockchain network to streamline trade documentation and settlement.

Together, they form the first end-to-end digital trade finance network linking:

Documentation → Validation → Settlement all under a single infrastructure.

XDC Ventures (XVC.TECH) is launching a Stable-Coin Lab to work with financial institutions on regulated stablecoin pilots for trade to deepen institutional trade-finance integration through launch of pilots with banks and corporates for regulated stable-coin issuance and settlement.

The Bottom Line

Payments alone won’t transform Global Trade Finance — Trade finance + Tokenized Settlement will.

This is the shift happening underway XDC Network's acquisition of Contour is the quiet catalyst.

Learn how trade finance is being revolutionised:

https://www.reuters.com/press-releases/xdc-ventures-acquires-contour-network-launches-stablecoin-lab-trade-finance-2025-10-22/

Source

🙏 Donations Accepted, Thank You For Your Support 🙏

If you find value in my content, consider showing your support via:

💳 Stripe:
1) or visit http://thedinarian.locals.com/donate

💳 PayPal
2) Simply scan the QR code below 📲 or Click Here

🔗 Crypto Donations Graciously Accepted👇
XRP: r9pid4yrQgs6XSFWhMZ8NkxW3gkydWNyQX
XLM: GDMJF2OCHN3NNNX4T4F6POPBTXK23GTNSNQWUMIVKESTHMQM7XDYAIZT
XDC: xdcc2C02203C4f91375889d7AfADB09E207Edf809A6

 

Read full Article
See More
Available on mobile and TV devices
google store google store app store app store
google store google store app tv store app tv store amazon store amazon store roku store roku store
Powered by Locals