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 21
[1/🧡] Did you know that there is scientific research on the optimal fees for geometric mean market makers (G3M), one of which is the XRPL-AMM?

πŸ’‘ We are doing it all wrong, and here's everything you need to know to revive the AMM. πŸ‘‡ Source: @krippenreiter
[2/20] β€” Basics β€”

First of all, among every complaint about the XRPL-AMM, trading fees are something over which we have power.

The voting mechanism of the design passes control to the top eight largest LP-Token holders in each pool, allowing them to regulate trading fees. Source: https://xpmarket.com/amm/pool/USDC-rcEGREd8NmkKRE8GE424sksyt1tJVFZwu/XRP/voting
[3/20] β€” Facts β€”

Fees
πŸ”Έ Charged for swapping
πŸ”Έ Range: 0% - 1%
πŸ”Έ Smallest reasonable value: 0.001%

Weight
πŸ”Έ Percentage ownership of a pool
πŸ”Έ Range: 0% - 100%
πŸ”Έ Smallest reasonable value: 0.001%

β†ͺ️ The trading fee comes from the weighted mean of the largest 8 active votes Source: https://xpmarket.com/amm/pool/USDC-rcEGREd8NmkKRE8GE424sksyt1tJVFZwu/XRP/voting
Read 21 tweets
May 6
[1/🧡] The XRP Ledger is about to level up! πŸ”₯

With all of the proposals, discussions, and development going on right now, here is a thorough, high-level summary of what is in the pipeline πŸ‘‡ Source: @krippenreiter
[2/18] β€” DID β€”

Status: 🟒 Voting (new bugfix in v2.2.0)

DID is for sharing & controlling your own individual digital identity on the XRPL, while the personal data that your ID links to is held off-chain.

Use Cases:
β€’ Reusable KYC
β€’ Permissioned, regulated, and compliant DEX Source: https://www.w3.org/TR/did-use-cases/#uc
[3/18] β€” XChainBridge β€”

Status: 🟒 Voting (new bugfix in v2.2.0)

Allows for cross-chain asset transfers across distinct independent ledgers, such as a mainchain (e.g. XRPL) and a sidechain (e.g. EVM-Sidechain).

Use Cases:
β€’ (w)XRP to be the native asset on a sidechain
β€’ EVM-InteroperabilitySource: https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0038d-cross-chain-bridge
Read 19 tweets
Apr 5
[1/🧡] @Ripple announced today that they will introduce a new stablecoin pegged 1:1 to the US dollar.

πŸ”Έ Does this imply that XRP is doomed? 🀨

Let's learn together to fully understand the bigger picture. πŸ‘‡ Source: @krippenreiter
[2/22] β€” Outline β€”

πŸ”Έ Ripple News
πŸ”Έ Stablecoin Basics
πŸ”Έ Key Differences - XRP
πŸ”Έ Facts and Figures
πŸ”Έ XRPL-AMM
πŸ”Έ Summary Source: https://www.gagan.pl/crypto/xrpl-funkcja-sprawdzania-na-horyzoncie/
[3/22] β€” 1⃣ Ripple News β€”

Ripple has announced plans to launch an enterprise-grade, compliant, multichain-compatible, 100%-backed USD stablecoin, marking a significant milestone in their expansion into new verticals.

Runs on...
πŸ”Έ XRPLedger
πŸ”Έ Ethereum

Read 23 tweets
Mar 21
[1/🧡] It's always exciting to see @jazzicoop talk about the XRPL and DeFi! πŸ”₯

If you don't have time to see the entire clip, here's a quick summary of what was said. πŸ‘‡
[2/13] β€” Why was @Ripple at @EthereumDenver? β€”

@RippleXDev is collaborating with @Peersyst to develop a fully EVM-compatible XRPL sidechain

Devs may tap into XRPL's amazing attributes:
πŸ”Έ Durability
πŸ”Έ Longevity
πŸ”Έ Regulatory clarity on the asset (XRP) Source: https://bridge.devnet.xrpl.org/
[3/13] β€” Biggest misconceptions about XRPL β€”

Myths:
❌ Closed Source
❌ No Public Development
❌ Can't build things on XRPL

Reality:
βœ… Open Source
βœ… No SCs, but "primitives" to build on
βœ… NFTs, fungible Tokens, Layer1 DEX
βœ… Accessible via API callsSource: https://xrpl.org/docs/references/client-libraries/
Read 14 tweets
Mar 14
[1/🧡] The crypto bullrun has begun, but fraud is on the rise again, so I've curated a list of all the ways you're likely to fall victim to it.

Here's how they'll steal your money in the next cycle. πŸ‘‡ Source: @krippenreiter
[2/16] β€” Advance Fee Fraud β€”

πŸ”Έ A scheme that demands an upfront payment after establishing trust.

One example is a seemingly legitimate loan offered to the victim in exchange for a minor advance payment. Source: https://www.financestrategists.com/uploads/How_Advance_Fee_Fraud_Schemes_Operate.png
[3/16] β€” Affinity Fraud β€”

πŸ”Έ Fraud that targets certain groups by offering an investment opportunity within the community to legitimate it.

Is your most beloved influencer promoting a new fancy meme coin? 🀨

He is probably a victim of affinity fraud and lures you in. Source: https://www.financestrategists.com/wealth-management/investments/affinity-fraud/
Read 17 tweets
Mar 3
[1/🧡] $XRP Ledger AMM is still not live on the mainnet, and you might be asking:

Why? 🀨

πŸ”Έ Why do we care about amendment-blocking?
πŸ”Έ Why does updating nodes take so long?
πŸ”Έ What is the real issue, & what should we do next?

Allow me to explain what this is all about πŸ‘‡Source: @krippenreiter
[2/17] β€” 1⃣ The Basics β€” Why?

Before we go into the details, it's important to understand the basics of why things take so long

Beginning with the fact that amendments represent new features or changes to TX processing

This also holds true when considering simple bug fixes Source: https://xrpl.org/resources/contribute-code/#amendment-implementation
[3/17] β€” 2⃣ The Basics β€” When?

New amendments, such as the AMM, are regularly proposed w/ new server software versions, which we track w/ each "rippled" release.

So when we talk about upgrading nodes and versions, keep in mind which amendments were introduced w/ what version. Source: https://github.com/XRPLF/rippled/releases
Read 18 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!

:(