Urgent.News

What's breaking now, across thousands of outlets.

Tech

Measuring Order Book vs AMM Share on the XRP Ledger

When the AMM amendment activated on the XRP Ledger in 2024, the expectation was that liquidity would migrate into pools the way it did on every smart-contract chain before it. You do not have to speculate about whether that happened. The ledger publishes both numbers. Getting the split const { H24 } = await ( await fetch ( ' https://api.xrpl.to/v1/stats ' ) ). json (); const ob = H24 .…

The XRP Ledger's AMM amendment in 2024 saw liquidity migrate into pools, but the data shows the order book still dominates. By examining the share of the order book and Automated Market Maker (AMM) volume, we can see that 88.2% of the trade activity occurs on the order book. While the number of trades in the pool is larger, the average trade size in the order book is significantly higher.

This indicates that large orders are routed through the order book, while smaller ones prefer the pools. The XRPL's on-chain central limit order book, which has been in place since 2012, is still viable due to the low cost of canceling orders and the speed of confirmation. This demonstrates how transaction economics can impact market structure, defying the general belief that AMMs have taken over.

By analyzing the ratio of order book to AMM volume and considering the trade dynamics, users can make more informed decisions when routing orders on the XRP Ledger.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

A Debugging Mindset That Actually Works

Most debugging advice is a list of tools. console.log , breakpoints, strace . Tools matter, but the thing that actually cuts my debugging time in half is a mindset: treat every bug as a wrong belief…

  • View bugs as flawed beliefs, not broken systems
  • Document expected vs actual outcomes and code behavior
  • Apply binary search to isolate bugs in code sections

Automatically Deploy Your App to a VPS with GitHub Actions

If your deploy process is "SSH into the server, cd to the app, git pull , restart something, hope" — this post replaces it with git push .

  • GitHub Actions automates VPS deployment via GitHub push
  • Requires app in GitHub repo, SSH-accessible VPS, dedicated deploy user
  • Store private SSH key as GitHub repository secret

More from Friday 11 September →