By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: What Happens When You Swap 1 Million Euros in CBDCs? | HackerNoon
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > What Happens When You Swap 1 Million Euros in CBDCs? | HackerNoon
Computing

What Happens When You Swap 1 Million Euros in CBDCs? | HackerNoon

News Room
Last updated: 2025/04/15 at 3:32 PM
News Room Published 15 April 2025
Share
SHARE

Table of Links

Abstract and 1. Introduction

  1. Background

    2.1 Layer-2 Blockchains

    2.2 Project Mariana

  2. Related Work and Contribution

  3. System Architecture

  4. Model

    5.1 Automated Market Makers

    5.2 Price Impact

  5. Simulation

    6.1 Data and Parameters

    6.2 Results

  6. Discussion

  7. Conclusions, Acknowledgements, and References

Graphs and Tables

6 Simulation

To ensure comparability with L1-Mariana , we consider three CBDCs: Swiss Franc (CHF), Euro (EUR), and Singaporean Dollar (SGD) and back-test the total costs of CBDCs swaps in L1-Mariana and L2-L3-Exchange systems. We consider the buy transaction of EUR for CHF for volumes ranging from 1 EUR to 1mn EUR. The price impact for CLMMs are calculated based on Eq. 8, and the Newton-Raphson method is applied for Cryptoswap Invariants, both for n = 2 and n = 3. The implementation of all methods is available in a public GitHub repository [17] and was based on the smart contract code of Curve v2.

6.1 Data and Parameters

The analysis uses the historical exchange rates of CHF-EUR and CHF-SGD for the last three years (daily closing values from Yahoo Finance). We assume that arbitrageurs maintain prices aligned between CBDCs in AMMs and the FX market, which allows us to calculate the historical AMM pools’ compositions based on these FX rates.

Liquidity pools. We assume 100mn CHF is provided to each system for liquidity provisions. As L1-Mariana operates Cryptoswap Invariant with one 3-token pool CHF-EUR-SGD, the pool’s value is 100mn CHF. In L2-L3-Exchange, we consider three L3 operators, each running AMM-DEX setup. The 100mn CHF liquidity is equally divided among the L3 operators. The first L3 operator uses a Cryptoswap Invariant with CHF-EUR-SGD pool (like in L1-Mariana), and the pool is valued 100/3 mn CHF. The second L3 also employs Cryptoswap Invariant, but with two 2-token pools: CHF-EUR and CHF-SGD, each valued 100/6 mn CHF. The third L3 operator utilizes CLMM with CHF-EUR and CHF-SGD pools, each valued 100/6 mn CHF. The L2-L3-Exchange pool architecture is illustrated in Fig. 7 in the appendix.

Swap fees. Each liquidity pool charges swap fee of 1bp (i.e., 0.0001) of transaction volume.

Gas costs. Gas fees for swaps on Ethereum, referred to in the Project Mariana, oscillated between 5 EUR and 50 EUR over the last three years [6]. The gas costs on L2s are, on average, 50 times lower compared to the underlying L1 [16], [32]. Based on these facts, we consider 15 EUR gas fees for a swap on L1 and 15EUR/50 on the L2-L3 network.

Authors:

(1) Krzysztof Gogol, University of Zurich ([email protected]);

(2) Johnnatan Messias, Matter Labs;

(3) Malte Schlosser, University of Zurich;

(4) Benjamin Kraner, University of Zurich;

(5) Claudio Tessone, University of Zurich.


Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Nvidia says it will build up to $500bn of US AI infrastructure as chip tariff looms
Next Article Block Ads on Up to 9 Devices for Just $15.97
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Eve Aqua is still the easiest way to automate outdoor watering
News
Bonding Curves Might Be the Most Transparent Token Launch Mechanism Yet | HackerNoon
Computing
6 new Nintendo Switch 2 games launching in July 2025
News
Digital Workplace Analytics: Optimize Your Workflows With Insights
Computing

You Might also Like

Computing

Bonding Curves Might Be the Most Transparent Token Launch Mechanism Yet | HackerNoon

6 Min Read
Computing

Digital Workplace Analytics: Optimize Your Workflows With Insights

25 Min Read
Computing

Wazuh 101: How I Got My SIEM Setup Working in One Afternoon | HackerNoon

8 Min Read
Computing

Free Professional Social Media Proposal Templates to Win Clients

24 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?