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
šŸš€ Bitcoin Hits New All-Time High – What’s Next?

Bitcoin reached a new peak of $118,254 on July 11, 2025, driven by institutional demand, favorable macro conditions, and supportive crypto regulations. With a 100%+ year-over-year surge, what's next for BTC?

šŸ”® Bitcoin Outlook

šŸ“† Short Term (6–12 Months)

  • Expect volatility post-ATH
  • Spot BTC ETFs attract significant capital
  • Potential range: $95K–$135K

šŸ•° Medium Term (1–3 Years)

  • 2024 halving impact continues
  • More institutions may adopt BTC as reserve/collateral
  • Global regulatory clarity boosts confidence
  • Potential range: $120K–$200K+

🌐 Long Term (5–10+ Years)

  • BTC may solidify as digital gold
  • Used in cross-border settlements and emerging markets
  • Scarcity (21M cap) drives value
  • Bullish case: $250K–$1M+
  • Bearish case: $20K–$50K (if tech/regulatory risks rise)

šŸ“Œ Key Drivers

  • Institutional adoption
  • Spot ETF flows
  • Crypto regulations
  • Fed interest rate policy
  • Lightning Network & Layer 2 scaling
  • Geopolitical uncertainty

šŸ’¬ TL;DR:
Bitcoin’s $118K breakout ...

00:00:07
Ripple CEO on partnership with BNY to serve as custodian of stablecoin
00:01:12
Brad Garlinghouse In Washington šŸš€

It’s time for a fair and open level playing field.

Under Gary Gensler it was quite the opposite.

  • Brad Garlinghouse
    July 9, 2025
00:01:56
šŸ‘‰ 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
🚨 BREAKING NEWS: Ripple National Trust Bank! šŸ¦ šŸ‡ŗšŸ‡ø

Ripple has officially filed an application to become a national trust bank, aiming to launch what would be called Ripple National Trust Bank.

This move is designed to bring Ripple’s crypto and stablecoin operations under direct federal regulation and marks a major step toward mainstream integration with the U.S. financial system.

šŸ¤” What This Means:

šŸ”¹ If approved by the Office of the Comptroller of the Currency (OCC), Ripple would be able to operate nationwide under federal oversight, expanding its crypto services and allowing it to settle payments faster and more efficiently—without relying on intermediary banks.

šŸ”¹ Ripple’s RLUSD stablecoin would be regulated at both the state and federal level, setting a new benchmark for transparency and compliance in the stablecoin market.

šŸ”¹ Ripple has also applied for a Federal Reserve master account, which would let it hold reserves directly at the Fed and issue or redeem stablecoins outside normal banking hours, further strengthening ...

post photo preview
PERSISTENCE Q2 SUMMARY & WHATS TO COME IN Q3 šŸ‘€

Q2’25 was a significant one as we laid the groundwork for multiple initiatives on our orange-themed road to BTCFi šŸ›£ļøšŸ§”

From being one of the first DEXs to deploy on Babylon, to going live with the beta-mainnet & onboarding new Persisters.

Read more šŸ‘‰ https://blog.persistence.one/2025/07/10/persistence-one-a-look-back-on-q2-2025-and-an-overview-of-whats-to-come-in-q3/

BTC Interop beta mainnet is back 🧔
post photo preview
Musk Turns On Starlink to Save Iranians from Regime’s Internet Crackdown

Elon Musk, the world’s richest man and a visionary behind SpaceX, has flipped the switch on Starlink, delivering internet to Iranians amid a brutal regime crackdown.

This move comes on the heels of Israeli strikes targeting Iran’s nuclear facilities, as the Islamic Republic cuts off online access.

The former Department of Government Efficiency chief activated Starlink satellite internet service for Iranians on Saturday following the Islamic Republic's decision to impose nationwide internet restrictions.

As the Jerusalem PostĀ reports, that the Islamic Republic’s Communications Ministry announced the move, stating, "In view of the special conditions of the country, temporary restrictions have been imposed on the country’s internet."

This action followed a series of Israeli attacks on Iranian targets.

Starlink, a SpaceX-developed satellite constellation, provides high-speed internet to regions with limited connectivity, such as remote areas or conflict zones.

Elizabeth MacDonald, a Fox News contributor, highlighted its impact, noting, "Elon Musk turning on Starlink for Iran in 2022 was a game changer. Starlink connects directly to SpaceX satellites, bypassing Iran’s ground infrastructure. That means even during government-imposed shutdowns or censorship, users can still get online, and reportedly more than 100,000 inside Iran are doing that."

During the 2022 "Woman, Life, Freedom" protests, Starlink enabled Iranians to communicate and share footage globally despite network blackouts," she added.

MacDonald also mentioned ongoing tests of "direct-to-cell" capabilities, which could allow smartphone connections without a dish, potentially expanding access and supporting free expression and protest coordination.

Musk confirmed the activation, noting on Saturday, "The beams are on."

This follows the regime’s internet shutdowns, which were triggered by Israeli military actions.

Adding to the tension, Israeli Prime Minister Benjamin Netanyahu addressed the Iranian people on Friday, urging resistance against the regime.

"Israel's fight is not against the Iranian people. Our fight is against the murderous Islamic regime that oppresses and impoverishes you,ā€ he said.

Meanwhile, Reza Pahlavi, the exiled son of Iran’s last monarch,Ā called onĀ military and security forces to abandon the regime, accusing Supreme Leader Ayatollah Ali Khamenei in a Persian-language social mediaĀ postĀ of forcing Iranians into an unwanted war.

Starlink has been a beacon in other crises. Beyond Iran, Musk has leveraged Starlink to assist people during natural disasters and conflicts.

In the wake of hurricanes and earthquakes, Starlink has provided critical internet access to affected communities, enabling emergency communications and coordination.

Similarly, during the Ukraine-Russia conflict, Musk activated Starlink to support Ukrainian forces and civilians, ensuring they could maintain contact and access vital information under dire circumstances.

The genius entrepreneur, is throwing a lifeline to the oppressed in Iran, and the libs can’t stand it.

Conservative talk show host Mark Levin praised Musk’s action,Ā repostingĀ a message stating that Starlink would "reconnect the Iranian people with the internet and put the final nail in the coffin of the Iranian regime."

"God bless you, Elon. The Starlink beams are on in Iran!" LevinĀ wrote.

Musk, who recently stepped down from leading the DOGE in the Trump administration, has apologized to President Trump for past criticisms, including his stance on the One Big Beautiful Bill.

Source

šŸ™ Donations Accepted šŸ™

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

šŸ’³ PayPal:Ā 
1) Simply scan the QR code below šŸ“²
2) or visit https://www.paypal.me/thedinarian

šŸ”— Crypto – Support via Coinbase Wallet to: [email protected]

Or Buy me a coffee: https://buymeacoffee.com/thedinarian

Your generosity keeps this mission alive, for all! NamastĆ© šŸ™ Crypto Michael ⚔ Ā The Dinarian

Read full Article
post photo preview
GENIUS Act lets State banks conduct some business nationwide. Regulators object

The Senate passed the GENIUS Act for stablecoins last week, but significant work remains before it becomes law. The House has a different bill, the STABLE Act, with notable differences that must be reconciled. State banking regulators have raised strong objections to a provision in the GENIUS Act that would allow state banks to operate nationwide without authorization from host states or a federal regulator.

The controversial clause permits a state bank with a regulated stablecoin subsidiary to provide money transmitter and custodial services in any other state. While host states can impose consumer protection laws, they cannot require the usual authorization and oversight typically needed for out-of-state banking operations.

The Conference of State Bank Supervisors welcomed some changes in the GENIUS Act but remains adamantly opposed to this particular provision. In a statement, CSBS said:

ā€œCritical changes must be made during House consideration of the legislation to prevent unintended consequences and further mitigate financial stability risks. CSBS remains concerned with the dramatic and unsupported expansion of the authority of uninsured banks to conduct money transmission or custody activities nationwide without the approval or oversight of host state supervisors (Sec. 16(d)).ā€

The National Conference of State Legislatures expressed similar concerns in early June, stating:

ā€œWe urge you to oppose Section 16(d) and support state authority to regulate financial services in a manner that reflects local conditions, priorities and risk tolerances. Preserving the dual banking system and respecting state autonomy is essential to the safety, soundness and diversity of our nation’s financial sector.ā€

Evolution of nationwide authorization

Section 16 addresses several issues beyond stablecoins, including preventing a recurrence of the SEC’s SAB 121, which forced crypto assets held in custody onto balance sheets. However, the nationwide authorization subsection was added after the legislation cleared the Senate Banking Committee, with two significant modifications since then.

Originally, the provision applied only to special bank charters like Wyoming’s Special Purpose Depository Institutions or Connecticut’s Innovation Banks. Examples include crypto-focused Custodia Bank and crypto exchange Kraken in Wyoming, plus traditional finance player Fnality US in Connecticut. Recently the scope was expanded to cover most state chartered banks with stablecoin subsidiaries, possibly due to concerns about competitive advantages.

Simultaneously, the clause was substantially tightened. The initial version allowed state chartered banks to provide money transmission and custody services nationwide for any type of asset, which would include cryptocurrencies. Now these activities can only be conducted by the stablecoin subsidiary, and while Section 16(d) doesn’t explicitly limit services to stablecoins, the GENIUS Act currently restricts issuers to stablecoin related activities.

However, the House STABLE Act takes a more permissive approach, allowing regulators to decide which non-stablecoin activities are permitted. If the House version prevails in reconciliation, it could result in a significant expansion of allowed nationwide banking activities beyond stablecoins.

Is it that bad?

As originally drafted, the clause seemed overly permissive.

The amended clause makes sense for stablecoin issuers. They want to have a single regulator and be able to provide the stablecoin services throughout the United States. But it also leans into the perception outside of crypto that this is just another form of regulatory arbitrage.

The controversy over Section 16(d) reflects concerns about creating a regulatory gap that allows banks to operate interstate without the oversight typically required from either federal or state authorities. As the two Congressional chambers work toward reconciliation, lawmakers must decide whether stablecoin legislation should include provisions that effectively reduce traditional banking oversight requirements.

Source

šŸ™ Donations Accepted šŸ™

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

šŸ’³ PayPal:Ā 
1) Simply scan the QR code below šŸ“²
2) or visit https://www.paypal.me/thedinarian

šŸ”— Crypto – Support via Coinbase Wallet to: [email protected]

Or Buy me a coffee: https://buymeacoffee.com/thedinarian

Your generosity keeps this mission alive, for all! NamastĆ© šŸ™ Crypto Michael ⚔ Ā The Dinarian

Read full Article
post photo preview
Dubai regulator VARA classifies RWA issuance as licensed activity
Virtual Asset Regulatory Authority (VARA) leads global regulatory framework - makes RWA issuance licensed activity in Dubai.

Real-world assets (RWAs) issuance is now licensed activity in Dubai.

~ Actual law.
~ Not a legal gray zone.
~ Not a whitepaper fantasy.

RWA issuance and listing on secondary markets is defined under binding crypto regulation.

It’s execution by Dubai.

Irina HeaverĀ explained:

ā€œRWA issuance is no longer theoretical. It’s now a regulatory reality.ā€

VARA defined:

- RWAs are classified as Asset-Referenced Virtual Assets (ARVAs)

- Secondary market trading is permitted under VARA license

- Issuers need capital, audits, and legal disclosures

- Regulated broker-dealers and exchanges can now onboard and trade them

This closes the gap that killed STOs in 2018.

No more tokenization without venues.
No more assets without liquidity.

UAE is doing what Switzerland, Singapore, and Europe still haven’t:

Creating enforceable frameworks for RWA tokenization that actually work.

Matthew White, CEO of VARA, said it perfectly:

ā€œTokenization will redefine global finance in 2025.ā€

He’s not exaggerating.

$500B+ market predicted next year.

And the UAE just gave it legal rails.

~Real estate.
~Private credit.
~Shariah-compliant products.

Everything is in play.

This is how you turn hype into infrastructure.

What Dubai is doing now is 3 years ahead of everyone else.

Founders, investors, ecosystem builders:

You want to build real-world assets onchain.

Don’t waste another year waiting for clarity.

Come to Dubai.

It’s already here.

Ā 

Source

šŸ™ Donations Accepted šŸ™

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

šŸ’³ PayPal:Ā 
1) Simply scan the QR code below šŸ“²
2) or visit https://www.paypal.me/thedinarian

šŸ”— Crypto – Support via Coinbase Wallet to: [email protected]

Or Buy me a coffee: https://buymeacoffee.com/thedinarian

Your generosity keeps this mission alive, for all! NamastĆ© šŸ™ Crypto Michael ⚔ Ā The Dinarian

Ā 

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