Krippenreiter Profile picture
Dec 26, 2022 19 tweets 22 min read Read on X
[1/🧵] I've been reading a lot about #XRPL #scalability recently.

Let me quickly go through how #XRPL performs and #scales on these metrics:

▶️ Scale up "vertically"
▶️ Scale out "horizontally"
▶️ High volume & High value TX
▶️ High value & Low speed Source: https://ripple.com/insights/building-a-more-sustaina
[2/17] 👉 Asynchronous TX speed—Scale up "vertically"

In contrast to #DAG-based systems, which operate in "chaotic order" and execute transactions in parallel, the #XRPL validates transactions in canonical transaction order—one Ledger at a time.

🔗 bitcoin.stackexchange.com/questions/7857…
. . .
[3/17] . . .

❓ The approach for #DLT/#Blockchain-based systems such as #XRPL:
☑️ "Payment Channels"

🧐 It's a sophisticated feature for transmitting "asynchronous" #XRP #payments that may be broken into extremely small amounts and paid in total order afterwards.
. . . Source: https://ripple.com/insights/amendments-ensuring-sens
[4/17] . . .

Because it's #Christmas, consider the following #analogy: 🎅🎄

1⃣ Without "#PaymentChannels":
Alice sends a package (Ledger) to @bob_way every ~3 seconds, each containing a few toys (#transactions)
. . . Source: https://www.istockphoto.com/photos/christmas-package
[5/17] . . .

2⃣ With "#PaymentChannels":
Alice is continually wrapping up new toys (#TX) and NOT delivering them over to @bob_way (async. authorized claim with a single validated #TX), while also reminding him:

"They are yours whenever you want them 😉" (redeem a claim)
. . . Source: https://unsplash.com/s/photos/christmas-gift
[6/17] . . .

🤨 What are the constraints of the solution?

#PaymentChannels enable #transactions to be carried out at a rate that is only limited by the participants' capacity to produce and validate #digital #signatures for those Claims.
. . . Source: https://blog.signaturit.com/en/what-is-a-digital-sig
[7/17] . . .

This restriction is mostly determined by the speed of the participants' #hardware and the complexity of the #signature #algorithms.
. . . Source: https://www.unixtutorial.org/generating-ed25519-ssh-
[8/17] . . .

In 2011, research proved the capacity to produce over #Ed25519 100,000 #signatures per second and verify over 70,000 per second on commodity #hardware.

🔗 ed25519.cr.yp.to/ed25519-201109…
. . . Source: https://ed25519.cr.yp.to/ed25519-20110926.pdf
[9/17] . . .

The most recent numbers are always available here:
🔗 bench.cr.yp.to/results-sign.h…

The most recent paper I could find was as follows:
🔗 eprint.iacr.org/2021/471.pdf

Numbers interpretation (4 years ago):
🔗 crypto.stackexchange.com/questions/6025…
[10/17] 👉 Scale out "horizontally"

We defined how to #scale up "vertically" by increasing capacity by adding more resources (#CPU, #storage), for example:

🔄 Improved/optimized CPUs / Servers ▶️ More signatures ▶️ Larger Payment Channels ▶️ Faster #XRPLedger
. . . Source: https://www.startpage.com/av/proxy-image?piurl=https
[11/17] . . .

The next step is to learn about the #technical characteristics that the #XRPL can provide in order to #scale horizontally.

➡️ Add #servers to a #cluster that operate as a logical unit to improve capacity.

In #XRPL jargon:
▶️ "Federated #Sidechains"
. . . Source: https://xrpl.org/federated-sidechains.html
[12/17] . . .

If adding #servers isn't enough to #scale out enough to handle all of the #transactions on the #XRPL itself, there's always the possibility of spinning up a new #sidechain with purpose-fit rules if the #mainchain becomes overloaded.

🔗 ripple.com/insights/a-vis…
[13/17] 👉 High volume & High value TX

❓ We've prev. addressed how the #XRPL will manage large volume load, but how will it handle liquidity issues for high value #TX when the trading-pair is not liquid enough?

The solution proposed for this specific problem:
▶️ #AMM
. . . Source: https://github.com/XRPLF/XRPL-Standards/discussions/
[14/17] . . .

The [A]utomated[M]arket[M]aker (#XLS30d) liquidity pools enable #liquidity provisioning without the need of smart-contracts, further enhancing the #CLOB-based #XRPL #DEX.

🔗 dev.to/ripplexdev/xrp…
[15/17] 👉 High value & Low speed

For high-value #XRP TX where speed is unimportant, one may utilize #escrows, which are well-known owing to @Ripple's significant usage of them.

The following conditions apply:
• Time-based
• "crypto-conditions"

🔗 datatracker.ietf.org/doc/html/draft…
[16/17] ☑️ As you can see, there are numerous methods to scale up and out, including adding #servers, boosting #CPU power, adding #sidechains, or leveraging #XRPL features such as #escrows and #payment-channels to meet transaction demand without overburdening the #XRPLedger. Source: https://res.cloudinary.com/practicaldev/image/fetch/
[17/17] Thank you to everyone who took the time to read this lengthy topic ❤️

If you enjoyed the thread, please follow me:
@krippenreiter

Please feel free to contribute by sharing here 👇
@WKahneman @digitalassetbuy @Fame21Moore @sentosumosaba @BCBacker @XRPcryptowolf @X__Anderson @stedas 👋
— My most recent article [🧵] explores #XRPL's scalability options and approaches to meet global demand if necessary by growing horizontally and vertically with ease.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Krippenreiter

Krippenreiter Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @krippenreiter

May 22
[1/🧵] Bonjour 🇪🇺 and Bom dia 🇧🇷!

Two new stablecoins just launched on the XRP Ledger:
🔸 EURØP (EUR-backed by Schuman Financial)
🔸 USDB (USD-backed by Braza Group)

A quick peek behind the curtain. 👇 Source: @Krippenreiter
[2/14] — 🇪🇺 Overview —

EURØP ✖ Schuman Financial
🔸 MiCA-compliant regulated e-money token
🔸 Fully backed by €-denominated assets
🔸 Held in segregated accounts, separate from their corporate accounts
🔸 Supervised by Autorité de Contrôle Prudentiel et de Résolution (ACPR) Source: https://schuman.io/europ/
[3/14] — 🇧🇷 Overview —

USDB ✖ Braza Group
🔸 Expected to be MiCA regulated in 2025
🔸 Fully backed by $-denominated assets
🔸 Reserves held by Braza Bank Banco de Câmbio S.A.
🔸 A bank licensed and regulated by the Brazilian Central Bank Source: https://brazabank.com.br/conteudo/usdb-stablecoin-braza/
Read 15 tweets
May 10
[1/🧵] There are alot of usecases for on-chain verifiable credentials. 🧐

Most of them are far more powerful than you can imagine.

(long read ahead of you) 👇 Source: https://ec.europa.eu/digital-building-blocks/sites/display/EBSI/EBSI+Verifiable+Credentials
[2/16] — Digital ID & Authentication Council of Canada (DIACC) — Source: https://diacc.ca/wp-content/uploads/2023/05/Perspectives-on-the-Adoption-of-Verifiable-Credentials-1.pdf
[3/16] — European Blockchain Services Infrastructure (EBSI) — Source: https://ec.europa.eu/digital-building-blocks/sites/display/EBSI/Spain+plans+to+use+W3C+Verifiable+Credentials+to+protect+minors+online
Read 17 tweets
May 3
[1/🧵] There's a new site from @Satish_nl that you should definitely check out! 🧐

It's @xpert_page and from what I've seen so far, it's a mix of a "mini-CV" + donation functionality via XRPL and XAHL for your online (project-) presence. 😀

Let's take a look at what's inside 👇 Source: https://x.com/xpert_page/header_photo
[2/9] — Featured Creators —

It's all brand new, so there're only a few personal pages & project pages active right now.

Later the idea is to have a complete XRPL & XAHL-based project directory that you can browse through & donate to if you want to support the guys behind it 🔥 Source: https://xpert.page/#features
[3/9] — 1⃣ First Steps —

The moment I logged in with my gmail account and paid the simple price of 20 XRP that's valid for 5 years I had to set a profile pic, a banner and create a bio. Source: https://xpert.page/pro/profile
Read 10 tweets
Apr 8
[1/🧵] Tokenization, Ripple, Hidden Road & XRP!

A lot has happened in the last few days, and I feel like people don't really grasp the magnitude of what this means for the XRP Ledger. 🤨

Let's take a look at some numbers & address the topic from my beloved "1%" perspective. 👇 Source: @Krippenreiter
[2/16] — 1⃣ Status Quo —

The XRP Ledger as it stands now handles around ~100 transactions per ledger.

If we assume a ledger to continuously close and finalize every ~4 seconds, this brings us to ~25 TPS on average. Source: https://xrpscan.com/metrics
[3/16] — 2⃣ Status Quo —

Besides TPS, there is also TVL and $-Volume that we can measure and take a look at.

TVL:
🔸 ~52,000,000 USD

24h USD-Volume (CLOB+AMM):
🔸 ~13,000,000 USD Source: https://metrics.tequ.dev
Read 17 tweets
Mar 29
[1/🧵] Over the last few days, many newcomers have asked me one question, and one question only:

“What do I need to keep in mind if I want to hold my keys in self-custody on the XRP Ledger?”

My Answer?

“It depends...” and here's why. 👇 Source: https://map.xrpl-commons.org
[2/16] — 1⃣ Background —

Self-Custody doesn't simply mean holding your own private keys to control your own account on the XRPL.

There's also the psychological effect that is about personal responsibility for all that happens. Source: https://www.theexceptionalskills.com/take-personal-responsibility/
[3/16] — 2⃣ Background —

If something goes terribly wrong, chances are very low that anyone will be able to help you, at least as things stand today. (I'll try though 🤗)

👉 "Be your own bank" also has its drawbacks. Source: https://www.listenmoneymatters.com/infinite-banking-concept/
Read 17 tweets
Mar 24
[1/🧵] XRP Ledger Vocabulary Overview ‼️

The greater the XRPL becomes and the more features are introduced, the more I feel that a dictionary is needed.

Let's start with 10 words you NEED to know. 👇 Source: https://www.youtube.com/watch?v=sVTybJ3cNyo&t=19s
[2/14] — XRP —

Digital currency that is secured by cryptography and supported by the XRP Ledger.

Also used for:
🔸 Transactions
🔸 Fees
🔸 Reserves
🔸 Bridging trades
🔸 Cross-border (Peer-2-peer) payments Source: https://xrpl.org/docs/introduction/what-is-xrp
[3/14] — XRP Ledger —

A decentralized blockchain that enables fast and cost-efficient transactions for processing and recording financial data.

Most important feature:
🔸 There is no single central authority Source: https://xrpl.org/docs/introduction/what-is-the-xrp-ledger
Read 15 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(