    <!DOCTYPE html>
        <html lang="en" dir="ltr" prefix="og: ogp.me/ns#" class="theme-light">
        <head>
          <script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
            <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9245916885225528"
                    crossorigin="anonymous"></script>            <link rel="preconnect" href="https://www.google-analytics.com">
            <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5">
            <meta charset="utf-8" />
<meta name="description" content="Pioneering L2 exchange ecosystem on Ethereum (ETH), ZKSwap, has shared an updated version of its technical whitepaper" />
<link rel="canonical" href="https://u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1" />
<meta property="og:site_name" content="U.Today" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1" />
<meta property="og:title" content="ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM - U.Today" />
<meta property="og:description" content="Pioneering L2 exchange ecosystem on Ethereum (ETH), ZKSwap, has shared an updated version of its technical whitepaper" />
<meta property="og:image" content="https://u.today/sites/default/files/styles/twitterwithoutlogo/public/2022-07/21868.jpg" />
<meta property="og:image:url" content="https://u.today/sites/default/files/styles/twitterwithoutlogo/public/2022-07/21868.jpg" />
<meta property="og:image:secure_url" content="https://u.today/sites/default/files/styles/twitterwithoutlogo/public/2022-07/21868.jpg" />
<meta property="og:image:width" content="1600" />
<meta property="og:image:height" content="900" />
<meta property="og:locale" content="en" />
<meta property="article:section" content="Partnership material,Use case,Reviews" />
<meta property="article:tag" content="Cryptocurrency exchange" />
<meta property="article:tag" content="Ethereum News" />
<meta property="article:tag" content="" />
<meta property="article:published_time" content="2021-08-18T15:00:00+0000" />
<meta property="article:modified_time" content="2022-11-22T04:38:35+0000" />
<meta property="fb:app_id" content="2560796210663191" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM - U.Today" />
<meta name="twitter:site" content="@Utoday_en" />
<meta name="twitter:description" content="Pioneering L2 exchange ecosystem on Ethereum (ETH), ZKSwap, has shared an updated version of its technical whitepaper" />
<meta name="twitter:creator:id" content="@https://x.com/Utoday_en" />
<meta name="twitter:image:alt" content="ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM" />
<meta name="twitter:image" content="https://u.today/sites/default/files/styles/twitterwithoutlogo/public/2022-07/21868.jpg" />
<meta name="Generator" content="Drupal 10 (https://www.drupal.org)" />
<meta name="MobileOptimized" content="width" />
<meta name="HandheldFriendly" content="true" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script type="application/ld+json">{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "NewsArticle",
            "headline": "ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM",
            "name": "ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM",
            "description": "Pioneering L2 exchange ecosystem on Ethereum (ETH), ZKSwap, has shared an updated version of its technical whitepaper",
            "image": {
                "@type": "ImageObject",
                "representativeOfPage": "True",
                "url": "https://u.today/sites/default/files/styles/twitterwithoutlogo/public/2022-07/21868.jpg"
            },
            "datePublished": "2021-08-18T15:00:00+0000",
            "isAccessibleForFree": "True",
            "dateModified": "2022-11-22T04:38:35+0000",
            "speakable": {
                "@type": "SpeakableSpecification",
                "cssSelector": [
                    ".article__title",
                    ".article__content"
                ]
            },
            "author": {
                "@type": "Person",
                "name": "Vladislav Sopov",
                "url": "https://u.today/vladislav-sopov"
            },
            "publisher": {
                "@type": "Organization",
                "@id": "u.today",
                "name": "u.today",
                "url": "https://u.today/"
            },
            "mainEntityOfPage": "https://u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1"
        },
        {
            "@type": "Organization",
            "@id": "u.today",
            "url": "https://u.today/",
            "name": "u.today",
            "image": {
                "@type": "ImageObject",
                "url": "https://u.today/img/logo-utoday.png",
                "width": "393",
                "height": "60"
            },
            "logo": {
                "@type": "ImageObject",
                "url": "https://u.today/img/logo-utoday.png",
                "width": "393",
                "height": "60"
            }
        }
    ]
}</script>
<link rel="alternate" hreflang="en" href="https://u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1" />
<link rel="amphtml" href="https://u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1?amp" />

                                <!-- end: separate google analytics code -->
                

    <!-- Google Tag Manager -->
    <!-- End Google Tag Manager -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-2PE2QV2V0X"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag('js', new Date());

        gtag('config', 'G-2PE2QV2V0X');
    </script>
                <link rel="mask-icon" href="/img/favicon/safari-pinned-tab.svg" color="#263238">
                <link rel="apple-touch-icon" sizes="57x57" href="/img/favicon/apple-icon-57x57.png">
                <link rel="apple-touch-icon" sizes="60x60" href="/img/favicon/apple-icon-60x60.png">
                <link rel="apple-touch-icon" sizes="72x72" href="/img/favicon/apple-icon-72x72.png">
                <link rel="apple-touch-icon" sizes="76x76" href="/img/favicon/apple-icon-76x76.png">
                <link rel="apple-touch-icon" sizes="114x114" href="/img/favicon/apple-icon-114x114.png">
                <link rel="apple-touch-icon" sizes="120x120" href="/img/favicon/apple-icon-120x120.png">
                <link rel="apple-touch-icon" sizes="144x144" href="/img/favicon/apple-icon-144x144.png">
                <link rel="apple-touch-icon" sizes="152x152" href="/img/favicon/apple-icon-152x152.png">
                <link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-icon-180x180.png">
                <link rel="icon" type="image/png" sizes="192x192" href="/img/favicon/android-icon-192x192.png">
                <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon/favicon-32x32.png">
                <link rel="icon" type="image/png" sizes="96x96" href="/img/favicon/favicon-96x96.png">
                <link rel="icon" type="image/png" sizes="16x16" href="/img/favicon/favicon-16x16.png">

                <link rel="manifest" href="/site.webmanifest">
                <link rel="mask-icon" href="/img/favicon/safari-pinned-tab.svg" color="#263238">
                <link rel="shortcut icon" href="/img/favicon/favicon.ico">
                <meta name="msapplication-TileColor" content="#263238">
                <meta name="msapplication-config" content="/img/favicon/browserconfig.xml">
                <meta name="theme-color" content="#263238">
                                <meta name="msvalidate.01" content="2E6EDC1D9A57E69FC6232E905A08CBFA"/>
                <link rel="manifest" href="/manifest.json"/>
                <meta property="fb:pages" content="266789420636465"/>
                <link rel="stylesheet" media="all" href="/themes/cryptod/styles/common.css?tl53ms" />
<link rel="stylesheet" media="all" href="/themes/cryptod/styles/app.css?tl53ms" />

                    <style>.ccc-widget.ccc-list .header-div a img {
                            width: 26px;
                            height: 26px;
                        }
                    </style>
                                                                <title>ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM - U.Today</title>
                                        <script async src="https://cdn.onesignal.com/sdks/OneSignalSDK.js"></script>
                    <script>
                        function copyToClipboard(e) {
                            let input = document.body.appendChild(document.createElement("input"));
                            input.value = window.location.href;
                            input.select();
                            document.execCommand('copy');
                            input.parentNode.removeChild(input);

                            let tooltip = document.createElement('div');
                            tooltip.className = 'copy-tooltip';
                            tooltip.innerHTML = 'Copied!';

                            if (!e.querySelector('.copy-tooltip')) {
                                e.append(tooltip);

                                setTimeout(() => {
                                    e.querySelector('.copy-tooltip').remove();
                                }, 2000);
                            }
                        }
                    </script>
                    <style>
                        @media (max-width: 849px) {
                            body #onesignal-slidedown-container.slide-up {
                                bottom: 60px
                            }
                        }
                    </style>




            <link rel="preload" href="/themes/cryptod/styles/slick-theme.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
            <link rel="preload" href="/themes/cryptod/styles/push.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
            <link rel="preload" href="/themes/cryptod/libs/air-datepicker/air-datepicker.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
            <noscript>
                <link rel="stylesheet" href="/themes/cryptod/styles/slick-theme.css">
                <link rel="stylesheet" href="/themes/cryptod/styles/push.css">
                <link rel="stylesheet" href="/themes/cryptod/libs/air-datepicker/air-datepicker.css">
            </noscript>
        </head>

        
        <body class=" not_logged_in ">
                    <!-- START progress-bar -->
            <div class="progress-bar--wrap">
                <div class="progress-bar"></div>
            </div><!-- END progress-bar -->
                

    <!-- Google Tag Manager (noscript) -->
    <!-- End Google Tag Manager (noscript) -->


                
                    <div class="something--upper">
                                <div class="something">
      <div class="something__title">Advertisement</div>
      <div class="something__nav">
                  <div class="something__label">AD</div>
                <button class="btn btn--light something__close"
                aria-label="Close ad"></button>
      </div>
      <div class="something__content">
        <div class="something__content--long" data-slotid="block_1">
              
                                                                                <!-- Wideheader Fixed Desktop 1150x60 [async] -->
<script type="text/javascript">
if (document.documentElement.clientWidth > 768) {
if (!window.AdButler){(function(){var s = document.createElement("script"); s.async = true; s.type = "text/javascript"; s.src = 'https://servedbyadbutler.com/app.js'; var n = document.getElementsByTagName("script")[0]; n.parentNode.insertBefore(s, n);}());}
}
</script>
<script type="text/javascript">
if (document.documentElement.clientWidth > 768) {
var AdButler = AdButler || {};
AdButler.ads = AdButler.ads || [];
var abkw = window.abkw || '';
var plc602403 = window.plc602403 || 0;
document.write('<'+'div id="placement_602403_'+plc602403+'"></'+'div>');
AdButler.ads.push({handler: function(opt){ AdButler.register(183269, 602403, [1150,60], 'placement_602403_'+opt.place, opt); }, opt: { place: plc602403++, keywords: abkw, domain: 'servedbyadbutler.com', click: 'CLICK_MACRO_PLACEHOLDER' }});
}
</script>
                                    
            

        </div>
                  <div class="something__content--square" data-slotid="block_2">
                
                                                                                <!-- Wideheader Fixed Mobile 336x60 [async] -->
<script type="text/javascript">
if (document.documentElement.clientWidth < 768) {
if (!window.AdButler){(function(){var s = document.createElement("script"); s.async = true; s.type = "text/javascript"; s.src = 'https://servedbyadbutler.com/app.js'; var n = document.getElementsByTagName("script")[0]; n.parentNode.insertBefore(s, n);}());}
}
</script>
<script type="text/javascript">
if (document.documentElement.clientWidth < 768) {
var AdButler = AdButler || {};
AdButler.ads = AdButler.ads || [];
var abkw = window.abkw || '';
var plc551690 = window.plc551690 || 0;
document.write('<'+'div id="placement_551690_'+plc551690+'"></'+'div>');
AdButler.ads.push({handler: function(opt){ AdButler.register(183269, 551690, [336,60], 'placement_551690_'+opt.place, opt); }, opt: { place: plc551690++, keywords: abkw, domain: 'servedbyadbutler.com', click: 'CLICK_MACRO_PLACEHOLDER' }});
}
</script>
                                    
            

          </div>
              </div>
          </div>
                </div>
                        <header class="header">
            <div class="container header__container">
                <div class="header__row">
                    <div class="header__panel">
                        <button class="btn btn--light header__burger" aria-label="Toggle menu"></button>
                    </div>
                    <a class="header__logo" href="/" title="U.TODAY"><img class="header__logo-img" src="/themes/cryptod/img/icons/logo.svg" width="188" height="30" alt="U.TODAY"></a>
                    <div class="header__panel">
                        <div class="header__adv"><a class="header__adv-btn" href="/advertise"> <span class="hide-sm-down">Request media kit</span><span class="hide-sm-only">Media kit</span></a></div>
                    </div>
                </div>
                <div class="header__menu">
                    <button class="btn btn--light header__menu-close" aria-label="Close menu"></button>
                    <div class="header__menu-inner">
                        <div class="header__search">
                            <form class="header__search-form" action="/search/node" method="get">
                                <input class="input__elem header__search-input" type="text" placeholder="Search" name="keys">
                                <button class="btn btn--light btn--search header__search-submit" type="submit" aria-label="Send form"></button>
                            </form>
                        </div>
                        
            
 
  

        
<nav class="header__nav" aria-label="Main navigation">
                
    <ul class="header__nav-list">
        <li class="header__nav-item">
            <div class="header__nav-name"><a class="header__nav-link" href="/hot-stories">Hot Stories</a>
            </div>
        </li>

                                                            
                    <li class="header__nav-item">
                                                                <div class="header__nav-name">
                                        <a href="/latest-cryptocurrency-news?from=main-menu" class="header__nav-link">
                        News
                    </a>
                    <button class="btn btn--light btn--chevron-down header__nav-toggle" aria-label="Toggle submenu"></button>
                </div>
                                                                    
        
        <ul class="header__nav-child-list">
                                                                            <li class="header__nav-child-item">
                                                                    <a href="/bitcoin-news" class="header__nav-child-link" data-category="Bitcoin(BTC)News" data-drupal-link-system-path="taxonomy/term/2462">Bitcoin (BTC) News</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/ethereum-news" class="header__nav-child-link" data-category="Ethereum(ETH)News" data-drupal-link-system-path="taxonomy/term/2463">Ethereum (ETH) News</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/cardano-ada-coin-news" class="header__nav-child-link" data-category="Cardano(ADA)News">Cardano (ADA) News</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/ripple-news" class="header__nav-child-link" data-category="RippleandXRPNews" data-drupal-link-system-path="taxonomy/term/2465">Ripple and XRP News</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/shiba-inu-shib-news" class="header__nav-child-link" data-category="ShibaInu(SHIB)News">Shiba Inu (SHIB) News</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/dogecoin-doge-coin-news-today" class="header__nav-child-link" data-category="Dogecoin(DOGE)News">Dogecoin (DOGE) News</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/meme-cryptocurrencies" class="header__nav-child-link" data-category="MemeCryptocurrencies">Meme Cryptocurrencies</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/nft-news" class="header__nav-child-link" data-category="NFTNews">NFT News</a>
                                                </li>
                    </ul>
                
                                </li>
                                            
                    <li class="header__nav-item">
                                                                <div class="header__nav-name">
                                        <a href="/stories?from=main-menu" class="header__nav-link">
                        Stories
                    </a>
                    <button class="btn btn--light btn--chevron-down header__nav-toggle" aria-label="Toggle submenu"></button>
                </div>
                                                                    
        
        <ul class="header__nav-child-list">
                                                                            <li class="header__nav-child-item">
                                                                    <a href="/interviews" class="header__nav-child-link" data-category="Interviews" data-drupal-link-system-path="taxonomy/term/1831">Interviews</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/opinions" class="header__nav-child-link" data-category="Opinions" data-drupal-link-system-path="taxonomy/term/30">Opinions</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/reviews" class="header__nav-child-link" data-category="Reviews">Reviews</a>
                                                </li>
                    </ul>
                
                                </li>
                                            
                    <li class="header__nav-item">
                                                                <div class="header__nav-name">
                                        <a href="/crypto-coins-prices-predictions?from=main-menu" class="header__nav-link">
                        Price Analysis
                    </a>
                    <button class="btn btn--light btn--chevron-down header__nav-toggle" aria-label="Toggle submenu"></button>
                </div>
                                                                    
        
        <ul class="header__nav-child-list">
                                                                            <li class="header__nav-child-item">
                                                                    <a href="/bitcoin-price-prediction" class="header__nav-child-link" data-category="Bitcoin(BTC)PriceAnalysis" data-drupal-link-system-path="taxonomy/term/2491">Bitcoin (BTC) Price Analysis</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/ethereum-price-prediction" class="header__nav-child-link" data-category="Ethereum(ETH)PriceAnalysis" data-drupal-link-system-path="taxonomy/term/2492">Ethereum (ETH) Price Analysis</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/xrp-price-analysis" class="header__nav-child-link" data-category="XRPPriceAnalysis" data-drupal-link-system-path="taxonomy/term/2494">XRP Price Analysis</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/cardano-price-predictions-and-ada-forecasts" class="header__nav-child-link" data-category="Cardano(ADA)PriceAnalysis">Cardano (ADA) Price Analysis</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/dogecoin-price-prediction" class="header__nav-child-link" data-category="Dogecoin(DOGE)PriceAnalysis">Dogecoin (DOGE) Price Analysis</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/shiba-inu-shib-price-prediction" class="header__nav-child-link" data-category="ShibaInu(SHIB)PriceAnalysis">Shiba Inu (SHIB) Price Analysis</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/tron-price-prediction" class="header__nav-child-link" data-category="TRON(TRX)PriceAnalysis">TRON (TRX) Price Analysis</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/matic-price-prediction" class="header__nav-child-link" data-category="Polygon(MATIC)PriceAnalysis">Polygon (MATIC) Price Analysis</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/litecoin-price-predictions-and-ltc-forecasts" class="header__nav-child-link" data-category="Litecoin(LTC)PriceAnalysis">Litecoin (LTC) Price Analysis</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/solana-price-prediction" class="header__nav-child-link" data-category="Solana(SOL)PriceAnalysis">Solana (SOL) Price Analysis</a>
                                                </li>
                    </ul>
                
                                </li>
                                            
                    <li class="header__nav-item">
                                                                <div class="header__nav-name">
                                        <a href="https://u.today/guides?from=main-menu" class="header__nav-link">
                        Guides
                    </a>
                    <button class="btn btn--light btn--chevron-down header__nav-toggle" aria-label="Toggle submenu"></button>
                </div>
                                                                    
        
        <ul class="header__nav-child-list">
                                                                            <li class="header__nav-child-item">
                                                                    <a href="/guides/blockchain" class="header__nav-child-link" data-category="Blockchain" data-drupal-link-system-path="taxonomy/term/2582">Blockchain</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/guides/ethereum" title="Ethereum (ETH) Guide" class="header__nav-child-link" data-category="Ethereum">Ethereum</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/guides/cardano" title="Cardano (ADA) Guide" class="header__nav-child-link" data-category="Cardano">Cardano</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/guides/polygon" title="Polygon (MATIC) Guide" class="header__nav-child-link" data-category="Polygon">Polygon</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/guides/meme-coins" title="All Stablecoins in One Place: Dogecoin (DOGE), Shiba Inu (SHIB) and Others" class="header__nav-child-link" data-category="MemeCoins">Meme Coins</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/guides/stablecoins" title="USDT, USDC, USDD, EUROC, BUSD Guides" class="header__nav-child-link" data-category="Stablecoins">Stablecoins</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/guides/NFT" title="NFT Guides" class="header__nav-child-link" data-category="NFT">NFT</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/guides/crypto-wallets" class="header__nav-child-link" data-category="Wallets" data-drupal-link-system-path="taxonomy/term/2617">Wallets</a>
                                                </li>
                    </ul>
                
                                </li>
                                            
                    <li class="header__nav-item">
                                                                <div class="header__nav-name">
                                        <a href="https://u.today/advertise?from=main-menu" class="header__nav-link">
                        Advertise
                    </a>
                    <button class="btn btn--light btn--chevron-down header__nav-toggle" aria-label="Toggle submenu"></button>
                </div>
                                                                    
        
        <ul class="header__nav-child-list">
                                                                            <li class="header__nav-child-item">
                                                                    <a href="/press-releases/submit" class="header__nav-child-link" data-category="SubmitPressRelease" data-drupal-link-system-path="node/48213">Submit Press Release</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/crypto-rewards/submit" title="Submit Crypto Rewards on U.Today" class="header__nav-child-link" data-category="SubmitCryptoRewards">Submit Crypto Rewards</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/event/submit" class="header__nav-child-link" data-category="SubmitEventsCalendar" data-drupal-link-system-path="node/14953">Submit Events Calendar</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/request-an-interview" class="header__nav-child-link" data-category="RequestanInterview" data-drupal-link-system-path="node/17640">Request an Interview</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/press-releases" class="header__nav-child-link" data-category="Pressreleases" data-drupal-link-system-path="press-releases">Press releases</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/crypto-rewards" title="Crypto Rewards list" class="header__nav-child-link" data-category="CryptoRewards">Crypto Rewards</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/sponsored" class="header__nav-child-link" data-category="Sponsored">Sponsored</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/partners" class="header__nav-child-link" data-category="Partners" data-drupal-link-system-path="partners">Partners</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/events" title="Cryptocurrency, Blockchain, Web 3.0, GameFi, DeFi Events Calendar" class="header__nav-child-link" data-category="EventsCalendar">Events Calendar</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/mentions" class="header__nav-child-link" data-category="Mentions" data-drupal-link-system-path="mentions">Mentions</a>
                                                </li>
                    </ul>
                
                                </li>
                                            
                    <li class="header__nav-item">
                                                                <div class="header__nav-name">
                                        <a href="/about?from=main-menu" class="header__nav-link">
                        About
                    </a>
                    <button class="btn btn--light btn--chevron-down header__nav-toggle" aria-label="Toggle submenu"></button>
                </div>
                                                                    
        
        <ul class="header__nav-child-list">
                                                                            <li class="header__nav-child-item">
                                                                    <a href="/about" class="header__nav-child-link" data-category="Contacts" data-drupal-link-system-path="node/64">Contacts</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/terms-and-conditions" class="header__nav-child-link" data-category="Termsandconditions" data-drupal-link-system-path="node/687">Terms and conditions</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/privacy-policy" class="header__nav-child-link" data-category="Privacypolicy" data-drupal-link-system-path="node/16134">Privacy policy</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/consent-settings" class="header__nav-child-link" data-category="Consentsettings" data-drupal-link-system-path="node/21317">Consent settings</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/privacy-policy#cookie" class="header__nav-child-link" data-category="Cookiespolicy" data-drupal-link-system-path="node/16134">Cookies policy</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/editorial-policy" class="header__nav-child-link" data-category="EditorialPolicy" data-drupal-link-system-path="node/17108">Editorial Policy</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/franchise" class="header__nav-child-link" data-category="OurFranchise">Our Franchise</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="/jobs" class="header__nav-child-link" data-category="Jobs" data-drupal-link-system-path="node/2761">Jobs</a>
                                                </li>
                                                                <li class="header__nav-child-item">
                                                                    <a href="https://u.today/rss.php" title="U.Today RSS Feed" class="header__nav-child-link" data-category="RSS">RSS</a>
                                                </li>
                    </ul>
                
                                </li>
                    </ul>
                

    </nav>

  

                        <div class="follow-us header__follow-us">
                            <div class="follow-us__title h3">Our social media</div>
                            <div class="follow-us__desc">There's a lot to see there, too</div>
                            <div class="social follow-us__social"><a class="social__link social__link--tw" href="https://twitter.com" target="_blank" title="Go to X"></a><a class="social__link social__link--fb" href="https://facebook.com/" target="_blank" title="Go to Facebook"></a><a class="social__link social__link--tg" href="https://web.telegram.org/" target="_blank" title="Go to Telegram"></a><a class="social__link social__link--yb" href="https://www.youtube.com/" target="_blank" title="Go to YouTube"></a></div>
                        </div>
                    </div>
                </div>

            </div>
        </header>
        <div class="mobile-menu-cover"></div>
            <div class="page-container container">
                                <div class="something--leaderboard">
                            <div class="something">
      <div class="something__title">Advertisement</div>
      <div class="something__nav">
                  <div class="something__label">AD</div>
                <button class="btn btn--light something__close"
                aria-label="Close ad"></button>
      </div>
      <div class="something__content">
        <div class="something__content--long" data-slotid="block_17">
              
                                                                                <!-- Leaderboard Desktop 1150x90 [async] -->
<script type="text/javascript">
if (document.documentElement.clientWidth > 768) {
if (!window.AdButler){(function(){var s = document.createElement("script"); s.async = true; s.type = "text/javascript"; s.src = 'https://servedbyadbutler.com/app.js'; var n = document.getElementsByTagName("script")[0]; n.parentNode.insertBefore(s, n);}());}
}
</script>
<script type="text/javascript">
if (document.documentElement.clientWidth > 768) {
var AdButler = AdButler || {};
AdButler.ads = AdButler.ads || [];
var abkw = window.abkw || '';
var plc828210 = window.plc828210 || 0;
document.write('<'+'div id="placement_828210_'+plc828210+'"></'+'div>');
AdButler.ads.push({handler: function(opt){ AdButler.register(183269, 828210, [1150,90], 'placement_828210_'+opt.place, opt); }, opt: { place: plc828210++, keywords: abkw, domain: 'servedbyadbutler.com', click: 'CLICK_MACRO_PLACEHOLDER' }});
}
</script>
                                    
            

        </div>
                  <div class="something__content--square" data-slotid="block_18">
                
                                                                                <!-- Leaderboard Mobile 336x90 [async] -->
<script type="text/javascript">
if (document.documentElement.clientWidth < 768) {
if (!window.AdButler){(function(){var s = document.createElement("script"); s.async = true; s.type = "text/javascript"; s.src = 'https://servedbyadbutler.com/app.js'; var n = document.getElementsByTagName("script")[0]; n.parentNode.insertBefore(s, n);}());}
}
</script>
<script type="text/javascript">
if (document.documentElement.clientWidth < 768) {
var AdButler = AdButler || {};
AdButler.ads = AdButler.ads || [];
var abkw = window.abkw || '';
var plc1358911 = window.plc1358911 || 0;
document.write('<'+'div id="placement_1358911_'+plc1358911+'"></'+'div>');
AdButler.ads.push({handler: function(opt){ AdButler.register(183269, 1358911, [336,90], 'placement_1358911_'+opt.place, opt); }, opt: { place: plc1358911++, keywords: abkw, domain: 'servedbyadbutler.com', click: 'CLICK_MACRO_PLACEHOLDER' }});
}
</script>
                                    
            

          </div>
              </div>
          </div>
            </div>
    <div class="breadcrumbs">
    <div class="breadcrumbs__hidden">
        <button class="btn--light breadcrumbs__btn" aria-label="Toggle breadcrumbs menu"
                style="display: none;">...
        </button>
        <ul class="breadcrumbs__hidden-nav"></ul>
    </div>
    <ul class="breadcrumbs__list" itemscope itemtype="https://schema.org/BreadcrumbList">
        <li itemprop="itemListElement" itemscope
            itemtype="https://schema.org/ListItem" class="breadcrumbs__item">
            <a itemprop="item" class="breadcrumbs__link" href="/">
                <span itemprop="name">Home</span>
            </a>
            <meta itemprop="position" content="1"/>
        </li>
        <li itemprop="itemListElement" itemscope
      itemtype="https://schema.org/ListItem" class="breadcrumbs__item">
                <a itemprop="item" class="breadcrumbs__link" href="/taxonomy/term/2755"><span itemprop="name">Partnership material</span></a><meta itemprop="position" content="2" />
                </li><li itemprop="itemListElement" itemscope
      itemtype="https://schema.org/ListItem" class="breadcrumbs__item">
                <a itemprop="item" class="breadcrumbs__link" href="/use-case"><span itemprop="name">Use case</span></a><meta itemprop="position" content="3" />
                </li><li itemprop="itemListElement" itemscope
      itemtype="https://schema.org/ListItem" class="breadcrumbs__item">
                <a itemprop="item" class="breadcrumbs__link" href="/cryptocurrency-exchange"><span itemprop="name">Cryptocurrency exchange</span></a><meta itemprop="position" content="4" />
                </li>
    </ul>
</div>
    <div class="main-aside-container">
        <main class="main-block">
            
  
    
                              <?xml encoding="UTF-8"><style>
        .drupal-nav{
            display: block !important;
        }
    </style>

            
  <div data-drupal-views-infinite-scroll-content-wrapper="" class="views-infinite-scroll-content-wrapper clearfix">
                <style>.something__content--long{width:100%}.something__content--long>.adsbygoogle{width:100%}</style>
<div class="views-row">
  <div class="article">
    
            
      <h1 class="article__title"
          data-title='ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM , Category: Partnership material ,Author: Vladislav Sopov , Date: 18 Aug 2021 , Week: 33'
          data-url="/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1">ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM</h1>
      <div class="article__short">
        <div class="article__short-col">
          <div class="article__short-group">

                          <div
                class="article__short-tags humble--tags ">
                
      <div>
             <a href="/taxonomy/term/2755" hreflang="en">Partnership material</a>
             <a href="/use-case" hreflang="en">Use case</a>
             <a href="/reviews" hreflang="en">Reviews</a>
          </div>
  
              </div>
            
                                                            <div class="author-brief">
                    <div class="author-brief__name">
                      By
                      <a
                        href="/vladislav-sopov">Vladislav Sopov</a>
                    </div>
                  </div>
                                                    </div>
          <div class="article__short-date">
                          Wed, 18/08/2021 - 15:00
                        </span>
            </span>
          </div>
        </div>
        <div class="article__short-col">
          <div class="controls controls--dark">
            <a
              onclick='window.open("https://twitter.com/intent/tweet?url=https://u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1&text=ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM", "X Sharing", "width=1200,height=600");gevent("X Sharing");return false;'
              class="controls__elem controls__elem--x" href="#x"
              title="Share to X"></a>
            <button class="btn btn--light controls__toggle -share-"
                    aria-label="Control button"></button>
            <div class="controls__popup">
              <a class="controls__elem controls__elem--fb" href="#"
                 title="Share to Facebook"
                 onclick='window.open("http://www.facebook.com/sharer/sharer.php?u=https://u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1&text=ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM", "Facebook Sharing", "width=1200,height=600");gevent("Facebook Sharing");return false;'></a>
              <a class="controls__elem controls__elem--rd" href="#"
                 title="Share to Reddit"
                 onclick='window.open("http://www.reddit.com/submit?url=u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1&text=ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM", "Reddit Sharing", "width=1200,height=600");gevent("Reddit Sharing");return false;'></a>

              <button onclick="gevent('Sharing link');"
                      class="btn--light controls__elem controls__elem--copy"
                      data-copy-href="" aria-label="Copy link"></button>
            </div>

          </div>
        </div>
      </div>
      <div class="article__annonce">Pioneering L2 exchange ecosystem on Ethereum (ETH), ZKSwap, has shared an updated version of its technical whitepaper</div>
                              <div class="something">
      <div class="something__title">Advertisement</div>
      <div class="something__nav">
                <button class="btn btn--light something__close"
                aria-label="Close ad"></button>
      </div>
      <div class="something__content">
        <div class="something__content--long" data-slotid="block_9">
              
                                <div style="width:728px;height:250px;">                                                <!-- Article Title Desktop 728x250 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:250px"
     data-ad-client="ca-pub-9245916885225528"
     data-ad-slot="4543979731"></ins>
                                    </div>
            

        </div>
                  <div class="something__content--square" data-slotid="block_10">
                
                                <div  style="width:336px;height:280px;">                            <!-- Article Title Mobile 336x280 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:336px;height:280px"
     data-ad-client="ca-pub-9245916885225528"
     data-ad-slot="4924563859"></ins>
                    </div>
            

          </div>
              </div>
          </div>
                                  <div class="article__wrap">
        <div class="article__body">
          <div class="article__main">
                        <div class="article__img--wrap">
                              <img class="article__img"
                     src="https://u.today/sites/default/files/styles/1200x/public/2022-07/21868.jpg.webp" alt="ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM">
                                <div class="promoted__mark">Partnership material</div>
            </div>
                          <figcaption>Cover image via <a href="/">U.Today</a></figcaption>
            
                                                            <div class="article__google-badge google-badge"><a
                onclick="gevent('Google_preferences');"
                class="google-badge__link"
                href="https://www.google.com/preferences/source?q=u.today"
                title="Go to Google News">
                <img class="google-badge__img"
                     src="/themes/cryptod/img/content/google-badge/badge_light.png"
                     width="200" height="63" alt="Google"></a>
            </div>
          </div>

          


                              <div class="article__content">

                                                <?xml encoding="UTF-8"><div class="article__contents">
                    <ul class="article__contents-list"><li class="article__contents-item"><a class="article__contents-link link-pseudo" href="#h226115">ZKSwap (ZKS) releases updated whitepaper: What&acirc;&#128;&#153;s new in v2?</a></li><li class="article__contents-item"><a class="article__contents-link link-pseudo" href="#h326115">ZKSWap v2 (ZKS) design basics: accounts, commands, tokens</a></li><li class="article__contents-item"><a class="article__contents-link link-pseudo" href="#h426115">ZKSwap v2 instruments: &acirc;&#128;&#156;Who&acirc;&#128;&#153;s who&acirc;&#128;&#157; in ZKSwap</a></li><li class="article__contents-item"><a class="article__contents-link link-pseudo" href="#h526115">ZKSwap v2 optimizes L1/L2 interaction</a></li><li class="article__contents-item"><a class="article__contents-link link-pseudo" href="#h626115">New use cases for ZKSwap v2</a></li><li class="article__contents-item"><a class="article__contents-link link-pseudo" href="#h726115">Bottom line</a></li></ul></div><div class="something">
    <div class="something__title">Advertisement</div>
    <div class="something__nav">
        <button class="btn btn--light something__close" aria-label="Close ad"></button>
    </div>
   <div class="something__content">
        <div class="something__content--long">
                
                                <div class="something__content-long" style="width:728px;height:250px;">                                                <!-- Article Central Desktop 728x250 -->
<ins class="adsbygoogle" style="display:inline-block;width:728px;height:250px" data-ad-client="ca-pub-9245916885225528" data-ad-slot="4479834855"></ins>
                                    </div>
            

        </div>
        <div class="something__content--square">
                
                                <div class="something__content something__content-square" style="width:336px;height:280px;">                                                <!-- Article Central Mobile 336x280 -->
<ins class="adsbygoogle" style="display:inline-block;width:336px;height:280px" data-ad-client="ca-pub-9245916885225528" data-ad-slot="5638879723"></ins>
                                    </div>
            

        </div>
    </div>
</div><p>Singapore-based <a rel="nofollow sponsored" target="_blank" href="https://zks.org/en">ZKSwap (ZKS)</a> is a pioneering decentralized exchange with the option of seamless token transfer between Ethereum&rsquo;s Layer 1 and Layer 2. This unparalleled opportunity is possible due to zk-rollups, a cutting edge Ethereum (ETH) scaling practice that rolls up multiple transactions into a single one and broadcasts them to Ethereum&rsquo;s (ETH) mainnet, saving on gas and bandwidth.</p><p>In early Q3, 2021, ZKSwap (ZKS) unveiled the second iteration of its technical whitepaper. It covers plenty of new functions added in ZKSwap (ZKS) v2 and provides a detailed explanation of all available instruments.</p><h2>ZKSwap (ZKS) releases updated whitepaper: What&rsquo;s new in v2?</h2><p>ZKSwap v2 is expanding on its V1, which is among the top mainstream DeFi platforms on the Layer 2 basis. At the same time, ZKSwap v2 has a number of crucial additions compared to its previous iteration:</p><div class="article__hot">
    <div class="article__hot-head">
        <div class="article__hot-title">HOT Stories</div>
        <a rel="nofollow sponsored" target="_blank" class="btn btn--light article__hot-btn" href="/hot-stories" title="Go to Hot stories"> </a>
    </div>
    <div class="article__hot-body">
        <a href="https://u.today/shiba-inu-shib-hyperliquid-hype-binance-coin-bnb-and-zcash-zec-price-analysis-for-september-12?from=hot-stories" class="article__hot-link">
    Shiba Inu (SHIB), Hyperliquid (HYPE), Binance Coin (BNB) and Zcash (ZEC) Price Analysis for September 12: Sudden Surge
</a>


<a href="https://u.today/bitcoins-weirdest-trader-yet-fly-brain-makes-a-profit?from=hot-stories" class="article__hot-link">
    Bitcoin's Weirdest Trader Yet? Fly Brain Makes a Profit
</a>



    </div>
</div><ul>
	<li>Unlimited token listing, i.e., users&rsquo; ability to add new tokens to the trading suite;</li>
	<li>Optimized circuit efficiency: logics of balances and accounts are reconsidered;</li>
	<li>Optimized withdrawal process, i.e., simplified and advanced design of the interaction between Layer 1 and Layer 2;</li>
	<li>Multi-chain support: ZKSwap will have its architecture deployed to all mainstream EVM-compatible public blockchains: Binance Smart Chain (BSC), Huobi ECO Chain (HECO), OKEx Chain and so on.</li>
</ul><h2 id="h326115">ZKSWap v2 (ZKS) design basics: accounts, commands, tokens</h2><p>Different types of tokens, accounts and in-app commands represent the backbone elements of ZKSwap v2&rsquo;s (ZKS) innovative technical design.</p><div class="something">
    <div class="something__title">Advertisement</div>
    <div class="something__nav">
        <button class="btn btn--light something__close" aria-label="Close ad"></button>
    </div>
    <div class="something__content">
        <div class="something__content--long">
                
                                                                                <!-- Article Middle Desktop 728x200 -->
<ins class="adsbygoogle" style="display:inline-block;width:728px;height:200px" data-ad-client="ca-pub-9245916885225528" data-ad-slot="3561648781"></ins>
                                    
            

        </div>
        <div class="something__content--square">
                
                                                                                <!-- Article Middle Mobile 300x600 -->
<ins class="adsbygoogle" style="display:inline-block;width:300px;height:600px" data-ad-client="ca-pub-9245916885225528" data-ad-slot="2056995427"></ins>
                                    
            

        </div>
    </div>
</div><h3>Tokens</h3><p>First of all, the new whitepaper introduces different types of tokens involved in <a rel="nofollow sponsored" target="_blank" href="https://zks.org/en">ZKSwap v2 (ZKS)</a> design: fee tokens, user tokens and liquidity providers&rsquo; tokens (LP tokens).</p><p>Fee tokens can be added by the &ldquo;Governor,&rdquo; a team&rsquo;s smart-contract-based instrument that allows them to introduce crucial changes to the protocol. Ethers (ETH), Wrapped Bitcoins (WBTC), U.S. Dollar Tethers (USDT) and ZKS, core native assets of ZKSwap v2, are utilized as fee tokens as of Q3, 2021. Fee tokens should be considered an internal payment method in ZKSwap v2: users can designate one of them as the preferred fee token.</p><p>The user token is essential for a brand-new function, &ldquo;Unlimited Token Listing.&rdquo; Every user can deploy his own ERC-20 token to ZKSwap v2. The listing procedure is user-friendly and charges a reasonable flat fee.</p><div class="something">
    <div class="something__title">Advertisement</div>
    <div class="something__nav">
        <button class="btn btn--light something__close" aria-label="Close ad"></button>
    </div>
    <div class="something__content">
        <div class="something__content--long">
                
                                                                                <!-- Articlem Desktop Middle 2 Responsive -->
<ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-9245916885225528" data-ad-slot="4360006237" data-ad-format="auto" data-full-width-responsive="true"></ins>
                                    
            

        </div>
        <div class="something__content--square">
                
                                                                                <!-- AMP Middle Mobile 2 -->
<ins class="adsbygoogle" style="display:inline-block;width:300px;height:600px" data-ad-client="ca-pub-9245916885225528" data-ad-slot="3948654727"></ins>
                                    
            

        </div>
    </div>
</div><p>Liquidity providers&rsquo; tokens are released on ZKSwap v2 automatically once a new user token is added by a client.</p><h3>Accounts</h3><p>In total, ZKSwap v2 (ZKS) is capable of supporting 2^28 accounts. Account &ldquo;Zero&rdquo; is appointed as the Validator account.<br>
&ldquo;Governor&rdquo; is a specific account authorized to conduct some extra functions. Namely, it can set the fee rates and modify the creation of trading (liquidity-providing) pairs.</p><h3>Commands</h3><p>In its &ldquo;Architecture Optimization&rdquo; section, ZKSwap v2 (ZKS) has specified 12 types of commands supported by the system (&ldquo;OP&rdquo; types). Namely, these are: &ldquo;<em>Noop</em>,&rdquo; &ldquo;<em>Deposit</em>,&rdquo; &ldquo;<em>TransferToNew</em>,&rdquo; &ldquo;<em>Withdraw</em>,&rdquo; &ldquo;<em>Close</em>,&rdquo; &ldquo;<em>Transfer</em>,&rdquo; &ldquo;<em>FullExit</em>,&rdquo; &ldquo;<em>ChangePubKey</em>,&rdquo; &ldquo;<em>CreatePair</em>,&rdquo; &ldquo;<em>AddLiquidity</em>,&rdquo; &ldquo;<em>RemoveLiquidity</em>&rdquo; and &ldquo;<em>Swap</em>&rdquo; OPs.</p><figure><img alt="Article image" data-entity-type="file" data-entity-uuid="0217cc13-0257-4b7d-a778-3a8bed7e10ff" src="/sites/default/files/inline-images/9168_1.png"><figcaption><em>Image via <a rel="nofollow sponsored" target="_blank" href="https://zks.org/en">ZKSwap</a></em></figcaption></figure><p>Transfers, withdrawals and the addition/removal of liquidity are charged with fee tokens, while swaps are also charged with an extra 0.25% fee from the liquidity taker.</p><p>Fees collected from transfers, withdrawals and liquidity operations are sent to the validator, while fees from swap operations are partially distributed between liquidity providers - just like on SushiSwap (SUSHI) and Uniswap (UNI) on-chain DEXes.</p><h2>ZKSwap v2 instruments: &ldquo;Who&rsquo;s who&rdquo; in ZKSwap</h2><p>All transactions on <a rel="nofollow sponsored" target="_blank" href="https://zks.org/">ZKSwap V2</a>, including token transfers between Layer 1 and Layer 2 infrastructures, are broadcast as &ldquo;Pub Data&rdquo; to Layer 1, with a chunk the size of 11 bytes to ensure maximum resource-efficiency.</p><p>The &ldquo;<em>Noop</em>&rdquo; command allows for the sending of empty transactions to Layer 2 blocks. With its one byte size, this is the smallest possible command on ZKSwap v2.</p><p>The &ldquo;<em>Deposit</em>&rdquo; command refers to a process of depositing assets from Ethereum&rsquo;s Layer 1 (mainnet) to ZKSwap v2 smart contract infrastructure. The system transfers tokens from Layer 1 to Layer 2 automatically.</p><p>In this step, Layer 2 account identification data (account ID) is not verified by Layer 1. The &ldquo;Pub Data&rdquo; of the transaction includes account ID, token address, token amount and target address. In total, it consists of four chunks of 43 bytes.</p><p>The &ldquo;<em>Transfer</em>&rdquo; command is responsible for moving assets across ZKSwap v2 Layer 2 accounts. Compared to previous &ldquo;Deposit&rdquo; steps, this command also considers the amount of fees and the type of token they are paid with. &ldquo;Pub Data&rdquo; for this transaction includes two chunks, or 19 bytes in total.</p><p>The &ldquo;<em>TransferToNew</em>&rdquo; command is interesting: it allows token transfer on Layer 2 with no need for the recipient to create his/her account in advance. This command broadcasts four chunks as &ldquo;Pub Data,&rdquo; which is equal to 39 bytes.</p><p>The &ldquo;<em>Withdraw</em>&rdquo; command is of paramount importance for systems like ZKSwap v2, as it is responsible for the interaction between L1 and L2, i.e., the core &ldquo;killing feature&rdquo; of such platforms. With &ldquo;Withdraw,&rdquo; a user can move his/her assets out of ZKSwap v2 to Layer 1 contracts of Ethereum (ETH) or EVM-compatible blockchains. This command broadcasts five chunks of data, or 46 bytes in total.</p><p>The &ldquo;<em>FullExit</em>&rdquo; command allows the withdrawal of assets directly from the Layer 1 segment of ZKSwap v2 (ZKS). This operation, in turn, needs to be verified by Layer 2 mechanisms. The authorization of this operation takes four chunks (43 bytes net).</p><p>With the &ldquo;<em>ChangePubKey</em>&rdquo; option, a user can withdraw his/her assets from Layer 1 to Layer 2 of ZKSwap v2 (ZKS). This is the largest operation in ZKSwap&rsquo;s design: it takes five chunks of 43 bytes due to the fact that it utilizes a public key hash of 20 bytes in length.</p><p>The &ldquo;<em>CreatePair</em>&rdquo; command is designed to allow users to create their own transactional (liquidity) pools. With this command, pools are created once the corresponding smart contract (associated with the LP token) goes live on Layer 1. This operation is 32 bytes long and consists of three chunks.</p><p>The &ldquo;<em>AddLiquidity</em>&rdquo; and &ldquo;<em>RemoveLiquidity</em>&rdquo; commands are responsible for manipulations of liquidity in transactional (liquidity) pools. As the interaction between the two layers is optimized with <a rel="nofollow sponsored" target="_blank" href="https://zks.org/en">ZKSwap v2 (ZKS)</a> design, liquidity operations on Layer 2 do not need authorization on Layer 1. The addition and removal of liquidity include three chunks, each taking 31 and 32 bytes of memory, respectively.</p><p>Finally, the &ldquo;<em>Swap</em>&rdquo; command is attributed to the decentralized on-chain peer-to-peer exchange of ERC-20 assets. It takes two chunks of data with a net volume of 22 bytes.</p><h2 id="h526115">ZKSwap v2 optimizes L1/L2 interaction</h2><p>In ZKSwap v2 (ZKS), a number of improvements were implemented in the sphere of interaction between the two layers of Ethereum-based smart contracts architecture.</p><p>To start with, in v2, the fee token balance and the user token balance are applied to a single account. It makes all operations with automated market makers far more resource efficient as the data size transferred to the blockchain is reduced significantly.</p><figure><img alt="Article image" data-entity-type="file" data-entity-uuid="a763daf1-a89c-436d-8dbd-2386d9023e5e" src="/sites/default/files/inline-images/9168_2.png"><figcaption><em>Image via <a rel="nofollow sponsored" target="_blank" href="https://zks.org/en">ZKSwap</a></em></figcaption></figure><p>Also, ZKSwap v2 engineers optimized the process of token withdrawal from Layer 2. Previously, all such operations were verified from Layer 1 infrastructure. Once the transaction is verified by Layer 1, the updated hash tree is confirmed within the next block. As such, the procedure of token withdrawal was really bumpy: the number of withdrawals per block was limited to four operations.</p><p>In the new iteration of ZKSwap v2 (ZKS), withdrawal and verification operations are separated from each other. Once the block is verified, pending withdrawals are created and completed via the &ldquo;CheckWithdrawls&rdquo; and &ldquo;CompleteWithdrawals&rdquo; functions. Therefore, block verification is optimized for multi-block aggregation. In the second iteration of ZKSwap (ZKS), the maximum number of withdrawals per block spiked to 174.</p><h2 id="h626115">New use cases for ZKSwap v2</h2><p>With all these optimizations, ZKSwap v2 Layer 1/Layer 2 infrastructure is opened up for a number of completely novel use cases previously unexplored by the system. ZKSwap v2 engineers from veteran Ethereum-focused studio L2 Labs are seasoned advocates of the "Layer 2 for all" multi-chain ecosystem strategy.</p><p>Within this strategy, any token of any EVM-compatible chain (ERC-20 for Ethereum blockchain, BEP tokens for Binance Smart Chain and so on) can be included into ZKSwap&rsquo;s liquidity architecture.</p><p>Also, ZKSwap v2 is laser-focused on addressing another red-hot segment of Ethereum&rsquo;s metaverse: non-fungible tokens (digital collectibles or NFTs). ZKSwap teases the launch of an Ethereum Layer 2 NFT protocol that will significantly improve the user experience and the cost-efficiency of NFT operations on Ethereum. Thus, NFT-centric instruments will coexist with AMM functionality: such a concept will be game-changing for the entire Ethereum economy.</p><h2 id="h726115">Bottom line</h2><p><a rel="nofollow sponsored" target="_blank" href="https://zks.org/en">ZKSwap v2 (ZKS)</a>, a pioneering Ethereum-based decentralized cryptocurrencies exchange powered by an automated market making engine and ZK-rollups Layer 2 solutions, has released its second whitepaper.</p><p>In this document, its engineers specified the basics of ZKSwap v2&rsquo;s technical design, such as account structure, command types, supported tokens and so on.</p><p>In particular, the second whitepaper of ZKSwap (ZKS) emphasized the improvements in its freshest version; namely, unlimited token listing, reshaped cost-efficient interaction between Layer 1 and Layer 2, etc.</p><p>Finally, ZKSwap (ZKS) indicated a number of new use cases for its updated structure, including an AMM-powered NFT protocol on Ethereum&rsquo;s second-layer platforms. This combination of the DeFi and NFT concepts will open up a new avenue for innovative business schemes on Ethereum (ETH) and related blockchains.</p>

            
                                  </div>

          
          

          

                      <div class="article__panel">
              <div class="article__tags btns-spacer">
                        <a class="btn btn--hash-tag" href="/cryptocurrency-exchange?from=article-tags">#Cryptocurrency exchange</a>
        <a class="btn btn--hash-tag" href="/ethereum-news?from=article-tags">#Ethereum News</a>

              </div>
            </div>


          

                  </div>


      </div>
              <div class="toolbar">
          <div class="toolbar__group">


            <div class="contents toolbar__contents">
            <button class="btn btn--light contents__btn" aria-label="Toggle contents"></button>
            <div class="contents__nav"><ul class="contents__list"><li class="contents__nav-item"><a class="contents__nav-link link-pseudo" href="#h226115">ZKSwap (ZKS) releases updated whitepaper: Whatâs new in v2?</a></li><li class="contents__nav-item"><a class="contents__nav-link link-pseudo" href="#h326115">ZKSWap v2 (ZKS) design basics: accounts, commands, tokens</a></li><li class="contents__nav-item"><a class="contents__nav-link link-pseudo" href="#h426115">ZKSwap v2 instruments: âWhoâs whoâ in ZKSwap</a></li><li class="contents__nav-item"><a class="contents__nav-link link-pseudo" href="#h526115">ZKSwap v2 optimizes L1/L2 interaction</a></li><li class="contents__nav-item"><a class="contents__nav-link link-pseudo" href="#h626115">New use cases for ZKSwap v2</a></li><li class="contents__nav-item"><a class="contents__nav-link link-pseudo" href="#h726115">Bottom line</a></li></ul>     </div></div>

            <div class="toolbar__readmode">
              <button class="btn btn--light toolbar__readmode-btn"
                      aria-label="Reading mode"></button>
            </div>

            <div class="controls toolbar__controls">
              <button class="btn btn--light controls__toggle -fontsize-"
                      aria-label="Control button"></button>
              <div class="controls__popup">
                <button class="btn--light controls__elem controls__elem--size"
                        data-size="fontsize-s"></button>
                <button class="btn--light controls__elem controls__elem--size"
                        data-size="fontsize-m"></button>
                <button class="btn--light controls__elem controls__elem--size"
                        data-size="fontsize-l"></button>
              </div>
            </div>
            <div class="controls toolbar__controls">
              <button class="btn btn--light controls__toggle -share-"
                      aria-label="Control button"></button>
              <div class="controls__popup">
                <a class="controls__elem controls__elem--x" href="#"
                   title="Share to X"
                   onclick='window.open("https://twitter.com/intent/tweet?url=https://u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1&text=ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM", "Twtitter Sharing", "width=1200,height=600");return false;'></a>
                <a class="controls__elem controls__elem--fb" href="#"
                   title="Share to Facebook"
                   onclick='window.open("http://www.facebook.com/sharer/sharer.php?u=https://u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1&text=ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM", "Facebook Sharing", "width=1200,height=600");return false;'></a>
                <a class="controls__elem controls__elem--rd" href="#"
                   title="Share to Reddit"
                   onclick='window.open("http://www.reddit.com/submit?url=u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1&text=ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM", "Reddit Sharing", "width=1200,height=600");return false;'></a>

                <button onclick="gevent('Sharing link');"
                        class="btn--light controls__elem controls__elem--copy"
                        data-copy-href="" aria-label="Copy link"></button>
              </div>
            </div>
          </div>
        </div>

            

                      <div class="something">
      <div class="something__title">Advertisement</div>
      <div class="something__nav">
                <button class="btn btn--light something__close"
                aria-label="Close ad"></button>
      </div>
      <div class="something__content">
        <div class="something__content--long" data-slotid="block_22">
              
                                                                                <!-- Article Related Desktop Infinite 2 728x250 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:250px"
     data-ad-client="ca-pub-9245916885225528"
     data-ad-slot="4113317397"></ins>
                                    
            

        </div>
                  <div class="something__content--square" data-slotid="block_23">
                
                                                                                <!-- Article Related Mobile Infinite 3 336x280 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:336px;height:280px"
     data-ad-client="ca-pub-9245916885225528"
     data-ad-slot="6451706125"></ins>
                                    
            

          </div>
              </div>
          </div>
    

                                    <div class="brick">
              <div class="brick__head">
                <h2 class="brick__title">Related articles</h2>
              </div>
              <div class="brick__body">
                <div class="news__group">
                  <div class="news__item">
    <div class="news__item-head humble__row"><a href="/latest-cryptocurrency-news" hreflang="en">News</a>
        <div class="humble">Sep 12, 2026 - 4:00</div>
    </div>
    <a class="news__item-body"
       href="/last-time-xrp-was-anti-volatile-like-this-it-went-on-a-240-day-sideways-drift?from=related">
        <div class="news__item-title">Last Time XRP Was &#039;Anti-Volatile&#039; Like This, It Went on a 240-Day Sideways Drift</div>
    </a>
    <div class="author-brief">
        <div class="author-brief__name">By<a
                    href="/gamza-khanzadaev">Gamza Khanzadaev</a>
        </div>
    </div>
</div>

<div class="news__item">
    <div class="news__item-head humble__row"><a href="/latest-cryptocurrency-news" hreflang="en">News</a>
        <div class="humble">Sep 12, 2026 - 3:00</div>
    </div>
    <a class="news__item-body"
       href="/463-billion-shiba-inu-in-24-hours-can-bulls-save-shibs-price?from=related">
        <div class="news__item-title">+463 Billion Shiba Inu in 24 Hours: Can Bulls Save SHIB&#039;s Price?</div>
    </a>
    <div class="author-brief">
        <div class="author-brief__name">By<a
                    href="/arman-shirinyan">Arman Shirinyan</a>
        </div>
    </div>
</div>


                </div>
              </div>
            </div>
                                    <script>
        function gevent(eventName) {
          gtag('event', eventName, { eventName: 'click' });
        }
      </script>
        </div>


            
            
        </main>
        <div class="aside-menu-block">
      <div class="card">
                        <div class="card">
            <div class="something">
      <div class="something__title">Advertisement</div>
      <div class="something__nav">
                <button class="btn btn--light something__close"
                aria-label="Close ad"></button>
      </div>
      <div class="something__content">
        <div class="something__content--long" data-slotid="block_5">
              
                                <div class="card--something-md" style="width:340px;height:280px;">                                                <!-- Sidebar-1 336x280 [async] -->
<script type="text/javascript">
if (window.innerWidth > 768) {
if (!window.AdButler){(function(){var s = document.createElement("script"); s.async = true; s.type = "text/javascript";s.src = 'https://servedbyadbutler.com/app.js';var n = document.getElementsByTagName("script")[0]; n.parentNode.insertBefore(s, n);}());}
}
</script>
<script type="text/javascript">
if (window.innerWidth > 768) {
var AdButler = AdButler || {}; AdButler.ads = AdButler.ads || [];
var abkw = window.abkw || '';
var plc537202 = window.plc537202 || 0;
document.write('<'+'div id="placement_537202_'+plc537202+'"></'+'div>');
AdButler.ads.push({handler: function(opt){ AdButler.register(183269, 537202, [336,280], 'placement_537202_'+opt.place, opt); }, opt: { place: plc537202++, keywords: abkw, domain: 'servedbyadbutler.com', click:'CLICK_MACRO_PLACEHOLDER' }});
}
</script>
                                    </div>
            

        </div>
              </div>
          </div>
          </div>
        </div>
    <div class="card">
                        <div class="card">
            <div class="something">
      <div class="something__title">Advertisement</div>
      <div class="something__nav">
                <button class="btn btn--light something__close"
                aria-label="Close ad"></button>
      </div>
      <div class="something__content">
        <div class="something__content--long" data-slotid="block_6">
              
                                <div style="width:336px;height:280px;">                                                <!-- Sidebar 2 336x280 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:336px;height:280px"
     data-ad-client="ca-pub-9245916885225528"
     data-ad-slot="3492499702"></ins>
                                    </div>
            

        </div>
              </div>
          </div>
          </div>
        </div>

    <div class="card">
    <div class="brick brick--light">
      <div class="brick__head">
        <div class="brick__title h3">Latest Press releases</div>
      </div>
      <div class="brick__body">
        <div class="news__item"><a class="news__item-body" href="https://u.today/press-releases/crypto-payments-arrive-at-neighborhood-stores-wowmycity-brings-to-spain-a-trend">
        <div class="news__item-title">Crypto Payments Arrive at Neighborhood Stores: WowMyCity Brings to Spain a Trend Already Growing in Asia and the US</div>
    </a></div>
<div class="news__item"><a class="news__item-body" href="https://u.today/press-releases/tag-markets-names-craig-lund-chief-executive-officer">
        <div class="news__item-title">Tag Markets Names Craig Lund Chief Executive Officer</div>
    </a></div>
<div class="news__item"><a class="news__item-body" href="https://u.today/press-releases/zamanat-targets-gccs-250-billion-sme-financing-gap-with-up-to-100-million-tokenized">
        <div class="news__item-title">Zamanat Targets GCC’s $250 Billion SME Financing Gap With Up to $100 Million Tokenized Private Credit Fund</div>
    </a></div>

      </div>
    </div>
  </div>
  <div class="card--widget" id="cc-widget-container">
    <script type="text/javascript">
      (function () {
        var container = document.getElementById('cc-widget-container');
        var loaded = false;
        var observer = new IntersectionObserver(function (entries) {
          if (entries[0].isIntersecting && !loaded) {
            loaded = true;
            observer.disconnect();
            var appName = encodeURIComponent(window.location.hostname) || 'local';
            var s = document.createElement('script');
            s.type = 'text/javascript';
            s.async = true;
            var theUrl = 'https://widgets.cryptocompare.com/serve/v1/coin/chart?fsym=BTC&tsym=USD';
            s.src = theUrl + '&app=' + appName;
            container.appendChild(s);
          }
        }, { rootMargin: '200px' });
        observer.observe(container);
      })();
    </script>
  </div>
  <div class="card">
                      <div class="card">
            <div class="something">
      <div class="something__title">Advertisement</div>
      <div class="something__nav">
                <button class="btn btn--light something__close"
                aria-label="Close ad"></button>
      </div>
      <div class="something__content">
        <div class="something__content--long" data-slotid="block_7">
              
                                <div style="width:336px;height:280px;">                            <!-- Main Page Sidebar3 Desktop 336x280 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:336px;height:280px"
     data-ad-client="ca-pub-9245916885225528"
     data-ad-slot="1668738026"></ins>
                    </div>
            

        </div>
              </div>
          </div>
          </div>
      </div>

  <section class="card card--light">
    <h4 class="card__title">Recommended articles</h4>
    <div class="card__body">
        <div class="news__item">
    <div class="news__item-head humble__row"><a href="/reviews" hreflang="en">Reviews</a>
        <div class="humble">Sep 11, 2026 - 12:20</div>
    </div><a class="news__item-body" href="https://u.today/reviews/qorechain-review-post-quantum-security-with-triple-vm-blockchain">
        <div class="news__item-title">QoreChain Review: Post-Quantum Security With Triple-VM Blockchain</div></a>
    <div class="news__item-footer"><a class="humble humble--author"
                                      href="/dan-burgin">
            <img width="224" height="140" alt="article image" src="https://u.today/sites/default/files/2024-02/45425.jpg"  class="humble__img" />
            Dan Burgin</a></div>
</div>

<div class="news__item">
    <div class="news__item-head humble__row"><a href="/guides" hreflang="en">Guides</a><a href="/guides/meme-coins" hreflang="en">Meme Coins</a>
        <div class="humble">Sep 9, 2026 - 10:14</div>
    </div><a class="news__item-body" href="https://u.today/guides/top-meme-coins-in-september-2026-guide">
        <div class="news__item-title">Top Meme Coins in September 2026: Guide</div></a>
    <div class="news__item-footer"><a class="humble humble--author"
                                      href="/utoday-editorial-team">
            <img width="224" height="140" alt="article image" src="https://u.today/sites/default/files/2024-02/44733%20%282%29_1.jpg"  class="humble__img" />
            U.Today Editorial Team</a></div>
</div>

<div class="news__item">
    <div class="news__item-head humble__row"><a href="/reviews" hreflang="en">Reviews</a>
        <div class="humble">Sep 9, 2026 - 10:00</div>
    </div><a class="news__item-body" href="https://u.today/reviews/zmo-review-how-1-click-trading-simplifies-crypto">
        <div class="news__item-title">ZMO Review: How 1-Click Trading Simplifies Crypto</div></a>
    <div class="news__item-footer"><a class="humble humble--author"
                                      href="/dan-burgin">
            <img width="224" height="140" alt="article image" src="https://u.today/sites/default/files/2024-02/45425.jpg"  class="humble__img" />
            Dan Burgin</a></div>
</div>

<div class="news__item">
    <div class="news__item-head humble__row"><a href="/crypto-news-digest" hreflang="en">Crypto News Digest</a>
        <div class="humble">Sep 2, 2026 - 14:36</div>
    </div><a class="news__item-body" href="https://u.today/top-5-crypto-news-in-august-ripple-xrp-bitcoin-ethereum-and-shiba-inu">
        <div class="news__item-title">Top 5 Crypto News in August: Ripple, XRP, Bitcoin, Ethereum and Shiba Inu</div></a>
    <div class="news__item-footer"><a class="humble humble--author"
                                      href="/dan-burgin">
            <img width="224" height="140" alt="article image" src="https://u.today/sites/default/files/2024-02/45425.jpg"  class="humble__img" />
            Dan Burgin</a></div>
</div>

<div class="news__item">
    <div class="news__item-head humble__row"><a href="/reviews" hreflang="en">Reviews</a>
        <div class="humble">Aug 12, 2026 - 7:58</div>
    </div><a class="news__item-body" href="https://u.today/reviews/binance-crypto-exchange-review-2026">
        <div class="news__item-title">Binance 2026: Crypto Exchange Review</div></a>
    <div class="news__item-footer"><a class="humble humble--author"
                                      href="/utoday-editorial-team">
            <img width="224" height="140" alt="article image" src="https://u.today/sites/default/files/2024-02/44733%20%282%29_1.jpg"  class="humble__img" />
            U.Today Editorial Team</a></div>
</div>


    </div>
</section>

            <div class="card">
            <div class="card__title">Price Index</div>
            <div class="card__body">
<a class="aside-coin" href="https://u.today/priceindex/bitcoin">

                <div class="aside-coin__name">Bitcoin (BTC) Price Index</div>
   <div class="btn--reset aside-coin__btn"></div>
</a>
<a class="aside-coin" href="https://u.today/priceindex/ethereum">

                <div class="aside-coin__name">Ethereum (ETH) Price Index</div>
   <div class="btn--reset aside-coin__btn"></div>
</a>
<a class="aside-coin" href="https://u.today/priceindex/xrp">

                <div class="aside-coin__name">XRP Price Index</div>
   <div class="btn--reset aside-coin__btn"></div>
</a>
<a class="aside-coin" href="https://u.today/priceindex/cardano">

                <div class="aside-coin__name">Cardano (ADA) Price Index</div>
   <div class="btn--reset aside-coin__btn"></div>
</a>
<a class="aside-coin" href="https://u.today/priceindex/Dogecoin">

                <div class="aside-coin__name">Dogecoin (DOGE) Price Index</div>
   <div class="btn--reset aside-coin__btn"></div>
</a>
<a class="aside-coin" href="https://u.today/priceindex/Shiba">

                <div class="aside-coin__name">Shiba Inu (SHIB) Price Index</div>
   <div class="btn--reset aside-coin__btn"></div>
</a>
<a class="aside-coin" href="https://u.today/priceindex/Tron">

                <div class="aside-coin__name">Tron (TRX) Price Index</div>
   <div class="btn--reset aside-coin__btn"></div>
</a>
<a class="aside-coin" href="https://u.today/priceindex/Polygon">

                <div class="aside-coin__name">Polygon (POL) Price Index</div>
   <div class="btn--reset aside-coin__btn"></div>
</a>
<a class="aside-coin" href="https://u.today/priceindex/Litecoin">

                <div class="aside-coin__name">Litecoin (LTC) Price Index</div>
   <div class="btn--reset aside-coin__btn"></div>
</a>
<a class="aside-coin" href="https://u.today/priceindex/Solana">

                <div class="aside-coin__name">Solana (SOL) Price Index</div>
   <div class="btn--reset aside-coin__btn"></div>
</a>
<a class="aside-coin" href="https://u.today/priceindex/zec">

                <div class="aside-coin__name">Zcash (ZEC) Price Index</div>
   <div class="btn--reset aside-coin__btn"></div>
</a>
<a class="aside-coin" href="https://u.today/priceindex/hyper">

                <div class="aside-coin__name">Hyperliquid (HYPE) Price Index</div>
   <div class="btn--reset aside-coin__btn"></div>
</a>

<div class="card__footer">
    <button class="btn btn--border-accent aside-coin__toggle" aria-label="Toggle coins">Show all</button>
</div>
</div></div>
<div class="card card--grey">
  <div class="card__wrap">

    <div class="card__title">Our social media</div>
    <div class="card__desc">There's a lot to see there, too</div>
    <div class="card__body">
      <div class="social">

        <a class="social__link social__link--tw"
           href="https://twitter.com/Utoday_en" target="_blank"
           title="Go to X"></a>
        <a class="social__link social__link--fb"
           href="https://facebook.com/utoday.en/" target="_blank"
           title="Go to Facebook"></a>
        <a class="social__link social__link--tg" href="https://t.me/utoday_en"
           target="_blank" title="Go to Telegram"></a>
        <a class="social__link social__link--yb"
           href="https://www.youtube.com/c/UToday" target="_blank"
           title="Go to YouTube"></a></div>
      <div class="card__google-badge google-badge"><a class="google-badge__link"
                                                      href="https://www.google.com/preferences/source?q=u.today"
                                                      title="Go to Google News">
          <img class="google-badge__img"
               src="/themes/cryptod/img/content/google-badge/badge_dark.png"
               width="185" height="58" alt="Google"></a></div>
    </div>
  </div>

</div>
<div class="card">
  <div class="brick brick--light">
    <div class="brick__head">
      <a class="brick__title h3" href="/stories">Popular articles</a>
    </div>
    <div class="brick__body">
      <div class="news__item">
    <div class="news__item-head humble__row"><a href="/latest-cryptocurrency-news" hreflang="en">News</a>
        <div class="humble">Sep 12, 2026 - 4:00</div>
    </div>
    <a class="news__item-body" href="https://u.today/last-time-xrp-was-anti-volatile-like-this-it-went-on-a-240-day-sideways-drift">
        <div class="news__item-title">Last Time XRP Was &#039;Anti-Volatile&#039; Like This, It Went on a 240-Day Sideways Drift</div>
    </a>
    <div class="news__item-tags"><a href="/xrp-price-analysis" hreflang="en">XRP Price Analysis</a> <a href="/xrp" hreflang="en">XRP</a> <a href="/ripple-news" hreflang="en">Ripple News</a></div>
    <div class="news__item-footer"><a class="humble humble--author"
                                      href="/gamza-khanzadaev">Gamza Khanzadaev</a>
    </div>
</div>

<div class="news__item">
    <div class="news__item-head humble__row"><a href="/latest-cryptocurrency-news" hreflang="en">News</a>
        <div class="humble">Sep 12, 2026 - 3:00</div>
    </div>
    <a class="news__item-body" href="https://u.today/463-billion-shiba-inu-in-24-hours-can-bulls-save-shibs-price">
        <div class="news__item-title">+463 Billion Shiba Inu in 24 Hours: Can Bulls Save SHIB&#039;s Price?</div>
    </a>
    <div class="news__item-tags"><a href="/shiba-inu" hreflang="en">Shiba Inu</a> <a href="/shiba-inu-shib-price-prediction" hreflang="en">Shiba Inu (SHIB) Price Prediction</a></div>
    <div class="news__item-footer"><a class="humble humble--author"
                                      href="/arman-shirinyan">Arman Shirinyan</a>
    </div>
</div>

<div class="news__item">
    <div class="news__item-head humble__row"><a href="/crypto-coins-prices-predictions" hreflang="en">Price Analysis</a>
        <div class="humble">Sep 12, 2026 - 0:01</div>
    </div>
    <a class="news__item-body" href="https://u.today/shiba-inu-shib-hyperliquid-hype-binance-coin-bnb-and-zcash-zec-price-analysis-for-september-12">
        <div class="news__item-title">Shiba Inu (SHIB), Hyperliquid (HYPE), Binance Coin (BNB) and Zcash (ZEC) Price Analysis for September 12: Sudden Surge</div>
    </a>
    <div class="news__item-tags"><a href="/shiba-inu" hreflang="en">Shiba Inu</a> <a href="/zcash" hreflang="en">Zcash</a> <a href="/hyperliquid" hreflang="en">Hyperliquid</a> <a href="/binance-chain" hreflang="en">Binance chain</a></div>
    <div class="news__item-footer"><a class="humble humble--author"
                                      href="/arman-shirinyan">Arman Shirinyan</a>
    </div>
</div>


      <div class="card__footer"><a class="btn btn--border-accent"
                                   href="/stories">Show all</a></div>
    </div>
  </div>
</div>

<script src="/themes/cryptod/libs/air-datepicker/air-datepicker.js"></script>
<script src="/themes/cryptod/libs/loadHotNews.js"></script>


                    <div class="card">
            <div class="something">
      <div class="something__title">Advertisement</div>
      <div class="something__nav">
                <button class="btn btn--light something__close"
                aria-label="Close ad"></button>
      </div>
      <div class="something__content">
        <div class="something__content--long" data-slotid="block_8">
              
                                <div class="card--something-md" style="width:300px;height:600px;">                                                <!-- Sidebar 4 Desktop -->
<ins class="adsbygoogle"
     style="display:inline-block;width:336px;height:280px"
     data-ad-client="ca-pub-9245916885225528"
     data-ad-slot="2019371241"></ins>
                                    </div>
            

        </div>
              </div>
          </div>
          </div>
    </div>
    </div>


            </div>
        <script>
            urlt = 'https://twitter.com/intent/tweet?url=https://u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1&text=ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM - U.Today';
            urlf = 'http://www.facebook.com/sharer/sharer.php?u=https://u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1&text=ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM - U.Today';
            urltg = 'https://t.me/share/url?url=https://u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1&text=ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM - U.Today';
            urlrd = 'http://www.reddit.com/submit?url=u.today/zkswap-v2-whitepaper-review-whats-under-hood-of-layer-2-dex-with-amm-1&title=ZKSwap V2 Whitepaper Review: What’s Under Hood of Layer 2 DEX with AMM - U.Today';
        </script>


        <footer class="footer">
            <div class="container footer__container">
                <div class="footer__panel">
                    <div class="footer__subscribe">
                        <a class="btn btn--accent btn--subscribe footer__subscribe-btn" href="/subscribe">Subscribe</a>
                        <div class="footer__subscribe-title">Subscribe to daily newsletter</div>
                    </div>
                    <div class="footer__social">
                        <div class="footer__social-info">
                            <div class="footer__social-title">Our social media</div>
                            <div class="footer__social-desc">There's a lot to see there, too</div>
                        </div>
                        <div class="social social--light">
                            <a class="social__link social__link--tw" href="https://twitter.com/Utoday_en" target="_blank" title="Go to X"></a>
                            <a class="social__link social__link--fb" href="https://facebook.com/utoday.en/" target="_blank" title="Go to Facebook"></a>
                            <a class="social__link social__link--tg" href="https://t.me/utoday_en" target="_blank" title="Go to Telegram"></a>
                        </div>
                    </div>
                </div>


                <nav class="footer__nav" aria-label="Footer navigation">
                    
            
 
  

        
                            <ul class="footer__nav-list">
                                                        <li class="footer__nav-item footer__nav-item--arrow">
            
                            <div class="footer__nav-item-title">
                    <a href="/latest-cryptocurrency-news" class="footer__nav-link" data-drupal-link-system-path="taxonomy/term/2594">News</a>
                    <button class="btn btn--light btn--chevron-down footer__nav-toggle"
                            aria-label="Toggle submenu"></button>
                </div>
                                                                                <ul class="footer__nav-child-list">
                                            <li class="footer__nav-child-item">
            
                            <a href="/bitcoin-news" class="footer__nav-child-link" data-drupal-link-system-path="taxonomy/term/2462">Bitcoin (BTC) News</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/ethereum-news" class="footer__nav-child-link" data-drupal-link-system-path="taxonomy/term/2463">Ethereum (ETH) News</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/cardano-ada-coin-news" class="footer__nav-child-link">Cardano (ADA) News</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/ripple-news" class="footer__nav-child-link" data-drupal-link-system-path="taxonomy/term/2465">Ripple and XRP News</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/shiba-inu-shib-news" class="footer__nav-child-link">Shiba Inu (SHIB) News</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/dogecoin-doge-coin-news-today" class="footer__nav-child-link">Dogecoin (DOGE) News</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/meme-cryptocurrencies" class="footer__nav-child-link">Meme Cryptocurrencies</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/nft-news" class="footer__nav-child-link">NFT News</a>
                                    </li>
                </ul>
    
                        </li>
                                    <li class="footer__nav-item footer__nav-item--arrow">
            
                            <div class="footer__nav-item-title">
                    <a href="/stories" class="footer__nav-link" data-drupal-link-system-path="stories">Stories</a>
                    <button class="btn btn--light btn--chevron-down footer__nav-toggle"
                            aria-label="Toggle submenu"></button>
                </div>
                                                                                <ul class="footer__nav-child-list">
                                            <li class="footer__nav-child-item">
            
                            <a href="/interviews" class="footer__nav-child-link" data-drupal-link-system-path="taxonomy/term/1831">Interviews</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/opinions" class="footer__nav-child-link" data-drupal-link-system-path="taxonomy/term/30">Opinions</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/reviews" class="footer__nav-child-link">Reviews</a>
                                    </li>
                </ul>
    
                        </li>
                                    <li class="footer__nav-item footer__nav-item--arrow">
            
                            <div class="footer__nav-item-title">
                    <a href="/crypto-coins-prices-predictions" class="footer__nav-link" data-drupal-link-system-path="taxonomy/term/27">Price Analysis</a>
                    <button class="btn btn--light btn--chevron-down footer__nav-toggle"
                            aria-label="Toggle submenu"></button>
                </div>
                                                                                <ul class="footer__nav-child-list">
                                            <li class="footer__nav-child-item">
            
                            <a href="/bitcoin-price-prediction" class="footer__nav-child-link" data-drupal-link-system-path="taxonomy/term/2491">Bitcoin (BTC) Price Analysis</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/ethereum-price-prediction" class="footer__nav-child-link" data-drupal-link-system-path="taxonomy/term/2492">Ethereum (ETH) Price Analysis</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/xrp-price-analysis" class="footer__nav-child-link" data-drupal-link-system-path="taxonomy/term/2494">XRP Price Analysis</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/cardano-price-predictions-and-ada-forecasts" class="footer__nav-child-link">Cardano (ADA) Price Analysis</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/dogecoin-price-prediction" class="footer__nav-child-link">Dogecoin (DOGE) Price Analysis</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/shiba-inu-shib-price-prediction" class="footer__nav-child-link">Shiba Inu (SHIB) Price Analysis</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/tron-price-prediction" class="footer__nav-child-link">TRON (TRX) Price Analysis</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/matic-price-prediction" class="footer__nav-child-link">Polygon (MATIC) Price Analysis</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/litecoin-price-predictions-and-ltc-forecasts" class="footer__nav-child-link">Litecoin (LTC) Price Analysis</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/solana-price-prediction" class="footer__nav-child-link">Solana (SOL) Price Analysis</a>
                                    </li>
                </ul>
    
                        </li>
                                    <li class="footer__nav-item footer__nav-item--arrow">
            
                            <div class="footer__nav-item-title">
                    <a href="https://u.today/guides" class="footer__nav-link">Guides</a>
                    <button class="btn btn--light btn--chevron-down footer__nav-toggle"
                            aria-label="Toggle submenu"></button>
                </div>
                                                                                <ul class="footer__nav-child-list">
                                            <li class="footer__nav-child-item">
            
                            <a href="/guides/blockchain" class="footer__nav-child-link" data-drupal-link-system-path="taxonomy/term/2582">Blockchain</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/guides/ethereum" title="Ethereum (ETH) Guide" class="footer__nav-child-link">Ethereum</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/guides/cardano" title="Cardano (ADA) Guide" class="footer__nav-child-link">Cardano</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/guides/polygon" title="Polygon (MATIC) Guide" class="footer__nav-child-link">Polygon</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/guides/meme-coins" title="All Stablecoins in One Place: Dogecoin (DOGE), Shiba Inu (SHIB) and Others" class="footer__nav-child-link">Meme Coins</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/guides/stablecoins" title="USDT, USDC, USDD, EUROC, BUSD Guides" class="footer__nav-child-link">Stablecoins</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/guides/NFT" title="NFT Guides" class="footer__nav-child-link">NFT</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/guides/crypto-wallets" class="footer__nav-child-link" data-drupal-link-system-path="taxonomy/term/2617">Wallets</a>
                                    </li>
                </ul>
    
                        </li>
                                    <li class="footer__nav-item footer__nav-item--arrow">
            
                            <div class="footer__nav-item-title">
                    <a href="https://u.today/advertise" class="footer__nav-link">Advertise</a>
                    <button class="btn btn--light btn--chevron-down footer__nav-toggle"
                            aria-label="Toggle submenu"></button>
                </div>
                                                                                <ul class="footer__nav-child-list">
                                            <li class="footer__nav-child-item">
            
                            <a href="/press-releases/submit" class="footer__nav-child-link" data-drupal-link-system-path="node/48213">Submit Press Release</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/crypto-rewards/submit" title="Submit Crypto Rewards on U.Today" class="footer__nav-child-link">Submit Crypto Rewards</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/event/submit" class="footer__nav-child-link" data-drupal-link-system-path="node/14953">Submit Events Calendar</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/request-an-interview" class="footer__nav-child-link" data-drupal-link-system-path="node/17640">Request an Interview</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/press-releases" class="footer__nav-child-link" data-drupal-link-system-path="press-releases">Press releases</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/crypto-rewards" title="Crypto Rewards list" class="footer__nav-child-link">Crypto Rewards</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/sponsored" class="footer__nav-child-link">Sponsored</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/partners" class="footer__nav-child-link" data-drupal-link-system-path="partners">Partners</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/events" title="Cryptocurrency, Blockchain, Web 3.0, GameFi, DeFi Events Calendar" class="footer__nav-child-link">Events Calendar</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/mentions" class="footer__nav-child-link" data-drupal-link-system-path="mentions">Mentions</a>
                                    </li>
                </ul>
    
                        </li>
                                    <li class="footer__nav-item footer__nav-item--arrow">
            
                            <div class="footer__nav-item-title">
                    <a href="/about" class="footer__nav-link" data-drupal-link-system-path="node/64">About</a>
                    <button class="btn btn--light btn--chevron-down footer__nav-toggle"
                            aria-label="Toggle submenu"></button>
                </div>
                                                                                <ul class="footer__nav-child-list">
                                            <li class="footer__nav-child-item">
            
                            <a href="/about" class="footer__nav-child-link" data-drupal-link-system-path="node/64">Contacts</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/terms-and-conditions" class="footer__nav-child-link" data-drupal-link-system-path="node/687">Terms and conditions</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/privacy-policy" class="footer__nav-child-link" data-drupal-link-system-path="node/16134">Privacy policy</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/consent-settings" class="footer__nav-child-link" data-drupal-link-system-path="node/21317">Consent settings</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/privacy-policy#cookie" class="footer__nav-child-link" data-drupal-link-system-path="node/16134">Cookies policy</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/editorial-policy" class="footer__nav-child-link" data-drupal-link-system-path="node/17108">Editorial Policy</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/franchise" class="footer__nav-child-link">Our Franchise</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="/jobs" class="footer__nav-child-link" data-drupal-link-system-path="node/2761">Jobs</a>
                                    </li>
                                    <li class="footer__nav-child-item">
            
                            <a href="https://u.today/rss.php" title="U.Today RSS Feed" class="footer__nav-child-link">RSS</a>
                                    </li>
                </ul>
    
                        </li>
                </ul>
    


  

                </nav>
                <div class="footer__disclaimer">
                    <p class="footer__disclaimer-text">Disclaimer: The opinions expressed here are not investment advice; they are provided for informational purposes only. The opinions expressed by our writers are their own and do not represent the views of U.Today. Every investment and all trading involves risk, so you should always perform your own research prior to making decisions. U.Today is not liable for any financial losses incurred while trading cryptocurrencies. We do not recommend investing money you cannot afford to lose.</p>
                </div>
                <div class="footer__copy">
                    <div class="footer__copy-text">© 2017-2026 U.Today. All rights reserved.</div>
                    <a class="footer__copy-link" href="https://u.today/terms-and-conditions">Terms and conditions</a><a
                            class="footer__copy-link" href="https://u.today/privacy-policy">Privacy Policy</a>
                </div>

            </div>
        </footer>
        <div class="modal" id="subscribe-form">
            <div class="modal__square modal__square-tiny">
                <button class="modal__close btn btn--light btn--cross" data-close-modal></button>
                <div class="modal__square-content">
                    <h2 class="modal__square-title">Subscribe to daily newsletter</h2>
                    <form class="modal__form" action="#" method="get">

                        <div class="input">
                            <input class="input__elem input--valid" type="email" name="subscribe-email" valid-email="" placeholder="Email" required="">
                        </div>
                        <div class="form__agree text-small">By pressing the “Subscribe button” you agree with our <a href="privacy-policy">Privacy Policy</a></div>
                        <button class="submit-button btn btn--accent modal__square-btn" type="submit" aria-label="Send form" disabled>Subscribe</button>
                    </form>
                </div>

            </div>
        </div>

                                            <div class="something--lowner">
                                <div class="something">
      <div class="something__title">Advertisement</div>
      <div class="something__nav">
                  <div class="something__label">AD</div>
                <button class="btn btn--light something__close"
                aria-label="Close ad"></button>
      </div>
      <div class="something__content">
        <div class="something__content--long" data-slotid="block_3">
              
                                <div style="width:1150px;height:60px;">                                                <!-- Sticky footer 1150x60 [async] -->
<script type="text/javascript">
if (document.documentElement.clientWidth > 768) {
if (!window.AdButler){(function(){var s = document.createElement("script"); s.async = true; s.type = "text/javascript"; s.src = 'https://servedbyadbutler.com/app.js'; var n = document.getElementsByTagName("script")[0]; n.parentNode.insertBefore(s, n);}());}
}
</script>
<script type="text/javascript">
if (document.documentElement.clientWidth > 768) {
var AdButler = AdButler || {};
AdButler.ads = AdButler.ads || [];
var abkw = window.abkw || '';
var plc721352 = window.plc721352 || 0;
document.write('<'+'div id="placement_721352_'+plc721352+'"></'+'div>');
AdButler.ads.push({handler: function(opt){ AdButler.register(183269, 721352, [1150,60], 'placement_721352_'+opt.place, opt); }, opt: { place: plc721352++, keywords: abkw, domain: 'servedbyadbutler.com', click: 'CLICK_MACRO_PLACEHOLDER' }});
}
</script>
                                    </div>
            

        </div>
                  <div class="something__content--square" data-slotid="block_4">
                
                                <div style="width:px;height:px;">                            <!-- Sticky footer 336x60 [async] -->
<script type="text/javascript">
if (document.documentElement.clientWidth < 768) {
if (!window.AdButler){(function(){var s = document.createElement("script"); s.async = true; s.type = "text/javascript"; s.src = 'https://servedbyadbutler.com/app.js'; var n = document.getElementsByTagName("script")[0]; n.parentNode.insertBefore(s, n);}());}
}
</script>
<script type="text/javascript">
if (document.documentElement.clientWidth < 768) {
var AdButler = AdButler || {};
AdButler.ads = AdButler.ads || [];
var abkw = window.abkw || '';
var plc826055 = window.plc826055 || 0;
document.write('<'+'div id="placement_826055_'+plc826055+'"></'+'div>');
AdButler.ads.push({handler: function(opt){ AdButler.register(183269, 826055, [336,60], 'placement_826055_'+opt.place, opt); }, opt: { place: plc826055++, keywords: abkw, domain: 'servedbyadbutler.com', click: 'CLICK_MACRO_PLACEHOLDER' }});
}
</script>
                    </div>
            

          </div>
              </div>
          </div>
                </div>
                        <div class="modal" id="thank-you">
            <button class="modal__close btn btn--light btn--cross" data-close-modal></button>
            <div class="modal__square modal__square-tiny">
                <div class="modal__square-content"><img class="modal__square-icon" src="/img/icons/form/successful.svg"
                                                        width="48" height="48" alt="Successful">
                    <h2 class="modal__square-title">Successful!</h2>
                    <div class="modal__square-desc text-small text-center">Thank you. We'll contact you shortly.</div>
                    <button class="btn btn--huge btn--wide btn--input modal__square-btn" aria-label="Ok"
                            data-close-modal>Ok
                    </button>
                </div>
            </div>
        </div>
        <script src="/core/assets/vendor/jquery/jquery.min.js"></script>
        

            <link rel="manifest" href="/site.webmanifest">
            <script src="/themes/cryptod/js/infinite-scroll.pkgd.min.js"></script>
            <script src="/themes/cryptod/js/slick.min.js"></script>
            <script src="/themes/cryptod/js/main.js?v=46"></script>
            <script src="/themes/cryptod/js/infinite-scroll-fix.js"></script>
            <script src="/themes/cryptod/libs/isotope.min.js"></script>
            <script type='text/javascript'>
                let isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);

                if (isSafari) {
                    document.body.classList.add('browser-safari');
                }
                const gEvent = function (type, share) {
                    gtag('event', share, {
                        'type': type,
                    });
                };
                let infinitePage = 1;
                jQuery('.main-news-block').on('append.infiniteScroll', function (event, response, path, items) {





                    const btnsCloseBanner = document.getElementsByClassName('something__close');
                    for (let elem of btnsCloseBanner) {
                        elem.addEventListener('click', () => {
                            elem.closest('.something').remove();
                        })
                    }


                    gtag('event', 'infinite', {
                        'infinite': infinitePage,
                    });
                    infinitePage += 1;

                                        [].forEach.call(document.querySelectorAll('.adsbygoogle'), function () {
                        try {
                            (adsbygoogle = window.adsbygoogle || []).push({});
                        } catch (e) {
                            //return null;
                        }
                    });
                });

                //submit event ajax
                jQuery(document).on('submit', '.sevent', function () {
                    var data = new FormData();
                    var file;
                    if (document.getElementById('input__file')) {
                        file = document.getElementById('input__file').files;
                        jQuery.each(file, function (key, value) {
                            data.append(key, value);
                        });
                    }

                    if (document.getElementById('input__file2')) {
                        file = document.getElementById('input__file2').files;
                        jQuery.each(file, function (key, value) {

                            data.append(key, value);
                        });
                    }
                    jQuery.each(this, function (i, val) {
                        var input = jQuery(val);
                        if (input.attr('name') != 'file') data.append(input.attr('name'), input.val());
                    });


                    jQuery.ajax({
                        url: jQuery(this).attr('action'),
                        type: 'POST',
                        dataType: 'json',
                        cache: false,
                        processData: false,
                        contentType: false,
                        data: data,
                        success: function (data) {
                            jQuery('.sevent').html('<h2>Thanks for submit. We will contact you soon.</h2>');
                            return false;
                        },
                        error: function (xhr, err) {

                            alert('Error');
                        }
                    });
                    return false;
                });

                //submit event end
            </script>

            <script type="text/javascript">
                const initBanners = function () {
                    let elements =
                        document.getElementsByClassName('imageBannersContainer');
                    for (let i = 0; i < elements.length; i++) {
                        let bannerElements = elements[i].getElementsByClassName("imageBanner");
                        let bannerIndex = Math.random() * bannerElements.length;
                        let firstDigitStr = String(bannerIndex)[0];
                        bannerElements[firstDigitStr].style.display = 'block';
                    }
                };

                jQuery(document).ready(function () {

                    (function ($) {
                        if (jQuery(window).width() > '850') {
                            jQuery('.press-releases__slider, .upcoming__slider').slick({
                                infinite: false,
                                slidesToShow: 3,
                                slidesToScroll: 1,
                                arrows: true,
                                dots: false
                            });
                        }
                    })(jQuery);


                    initBanners();

                    var OneSignal = window.OneSignal || [];
                    OneSignal.push(function () {
                        OneSignal.init({
                            appId: "8fd8204c-a529-4b35-98be-27f71d473d9a",
                        });
                    });

                    let menus = document.querySelectorAll('.main_page a');
                    menus.forEach(el => el.addEventListener('click', event => {
                        gtag('event', 'header_menu_click', {
                            'header_menu_click': 'click',
                        });
                    }));

                    menus = document.querySelectorAll('.article a[target="_blank"]');
                    menus.forEach(el => el.addEventListener('click', event => {
                        gtag('event', 'article_link_click', {
                            'article_link_click': 'click',
                        });
                    }));
                    menus = document.querySelectorAll('.article__related a');
                    menus.forEach(el => el.addEventListener('click', event => {
                        gtag('event', 'card_click', {
                            'card_click': 'click',
                        });
                    }));
                    menus = document.querySelectorAll('.views-infinite-scroll-content-wrapper .category-item a');
                    menus.forEach(el => el.addEventListener('click', event => {
                        gtag('event', 'related_click', {
                            'related_click': 'click',
                        });
                    }));
                    menus = document.querySelectorAll('.article__listen-audio');
                    menus.forEach(el => el.addEventListener('click', event => {
                        gtag('event', 'tts_click', {
                            'tts_click': 'click',
                        });
                    }));
                    menus = document.querySelectorAll('.header__nav-link');
                    menus.forEach(el => el.addEventListener('click', event => {
                        gtag('event', 'header_menu_click', {
                            'header_menu': 'click',
                        });
                    }));
                    menus = document.querySelectorAll('.footer__nav-child-link');
                    menus.forEach(el => el.addEventListener('click', event => {
                        gtag('event', 'footer_menu_click', {
                            'footer_menu': 'click',
                        });
                    }));
                    menus = document.querySelectorAll('.card__subscribe-item');
                    menus.forEach(el => el.addEventListener('click', event => {
                        gtag('event', 'subscribe', {
                            'subscribe': 'click',
                        });
                    }));





                                        document.querySelector('.article__content').oncopy = addLink;
                                        [].forEach.call(document.querySelectorAll('.adsbygoogle'), function () {
                        try {
                            (adsbygoogle = window.adsbygoogle || []).push({});
                        } catch (e) {
                            //return null;
                        }
                    });
                    jQuery('.ad-feedback__form, .press-releases_form, .event_form, .airdrop_form').submit(function (e) {
                        e.preventDefault();
                        //data = 'subject=' + e.target.querySelector('input[name=subject]').value + '&name=' + e.target.querySelector('input[name=submit-name]').value + '&mail=' + e.target.querySelector('input[name=submit-email]').value + '&desc=' + e.target.querySelector('textarea[name=submit-massage]').value;
                        let fd = new FormData();
                        let other_data = jQuery(e.target).serializeArray();
                        jQuery.each(other_data, function (key, input) {
                            fd.append(input.name, input.value);
                        });
                        if(e.target.querySelector('input[name=submit-file]') != null) {
                            fd.append('file', jQuery(e.target.querySelector('input[name=submit-file]'))[0].files[0]);
                        }
                        jQuery.ajax({
                            url: '/umail',
                            type: 'post',
                            contentType: false,
                            processData: false,
                            data: fd,
                            success: function () {

                            }
                        });
                    });
                  jQuery('.modal__form, .subscribe-page__form, .footer__subscribe-form,.aside-sub,.subscribe-form,.sub-slot__form, .ad-feedback__form').submit(function (e) {
                    e.preventDefault();
                    const form = e.target;
                    const formData = new FormData(form);

                    jQuery.ajax({
                      url: '/getresponse.php',
                      type: 'post',
                      data: formData,
                      processData: false,
                      contentType: false,
                      success: function () {
                        e.target.querySelector('.subscribe-result').innerHTML = '<div class="success">Subscribed</div>';
                        jQuery('.card__subscribe-em .input__status').text('Subscribed');
                        e.target.querySelector('.success').style.display = 'block';
                      }
                    });
                  });


                    


                                        var nextPages = [
                        'https://u.today/last-time-xrp-was-anti-volatile-like-this-it-went-on-a-240-day-sideways-drift',
'https://u.today/463-billion-shiba-inu-in-24-hours-can-bulls-save-shibs-price',
'https://u.today/shiba-inu-shib-hyperliquid-hype-binance-coin-bnb-and-zcash-zec-price-analysis-for-september-12',

                    ];
                    jQuery('.views-row').infiniteScroll({
                        path: function () {
                            return nextPages[this.loadCount];
                        },
                        append: '.article',
                        prefill: true,
                        scrollThreshold: 1200,
                        status: '.scroller-status',
                        hideNav: '.pagination',
                    });
                                                            


                });

                function addLink() {
                    let body = document.getElementsByTagName('body')[0],
                        selection = window.getSelection(),
                        copyright = "<p><br>Read more on U.Today <a href='" + document.location.href + "'>" + document.location.href + "</a></p>",
                        copyrightText = selection + copyright,
                        newdiv = document.createElement('div');

                    newdiv.style.position = 'absolute';
                    body.appendChild(newdiv);
                    newdiv.innerHTML = copyrightText;
                    selection.selectAllChildren(newdiv);

                    window.onclick = function () {
                        body.removeChild(newdiv);
                    };
                }
            </script>

            <script type="text/javascript">
                document.addEventListener("scroll", (event) => {

                    [].forEach.call(document.querySelectorAll('.adsbygoogle'), function () {
                        try {
                            (adsbygoogle = window.adsbygoogle || []).push({});
                        } catch (e) {
                            //return null;
                        }

                    });
                });
                document.addEventListener('DOMContentLoaded', function () {
                    document.querySelectorAll('audio').forEach(function (audio) {
                        let loaded = false;

                        audio.addEventListener('loadedmetadata', function () {
                            loaded = true;
                            checkLoad();
                        });

                        audio.addEventListener('canplaythrough', function () {
                            loaded = true;
                            checkLoad();
                        });

                        function checkLoad() {
                            if (loaded) {
                                const article = audio.closest('.article__listen');
                                const duration = Math.floor(audio.duration);
                                const minutes = Math.floor(duration / 60);
                                const seconds = Math.floor(duration % 60);
                                minutesDisplay.textContent = `${minutes}:${(seconds < 10 ? '0' : '')}${seconds}`;

                                console.log(duration);
                            }
                        }
                    });

                    let currentAudio = null;

                    document.body.addEventListener('click', function (e) {
                        const article = e.target.closest('.article__listen');

                        if (!article) return;

                        const audio = article.querySelector('audio');
                        const playPauseButton = article.querySelector('.article__listen-btn');

                        if (audio && playPauseButton) {
                            if (audio !== currentAudio) {
                                if (currentAudio) {
                                    currentAudio.pause();
                                    const currentPlayPauseButton = currentAudio.parentElement.querySelector('.article__listen-btn');
                                    if (currentPlayPauseButton) {
                                        currentPlayPauseButton.classList.remove('is-play');
                                    }
                                }

                                currentAudio = audio;

                                audio.addEventListener('timeupdate', updateTimer);
                            }

                            if (audio.paused) {
                                audio.play();
                                playPauseButton.classList.add('is-play');
                            } else {
                                audio.pause();
                                playPauseButton.classList.remove('is-play');
                            }

                            function updateTimer() {
                                if (!audio.duration) {
                                    audio.removeEventListener('timeupdate', updateTimer);
                                    audio.addEventListener('timeupdate', updateTimer);
                                    return;
                                }

                                const currentTime = audio.duration - audio.currentTime;
                                const minutes = Math.floor(currentTime / 60);
                                const seconds = Math.floor(currentTime % 60);

                                minutesDisplay.textContent = `${minutes}:${(seconds < 10 ? '0' : '')}${seconds}`;
                            }
                        }
                    });
                });
            </script>
            <div class="modal" id="modal-submit">
                <button class="modal__close btn btn--light btn--cross" data-close-modal></button>
                <div class="modal__square">
                    <div class="modal__square-content">
                        <h2 class="modal__square-title"></h2>
                        <form class="modal__form" action="#" method="post" enctype="multipart/form-data">
                          <div class="cf-turnstile" data-sitekey="0x4AAAAAACvDjKO-GSVj-Ot3"></div>
                            <input type="hidden" name="modal-title">
                            <div class="input">
                                <div class="input__label">Name</div>
                                <input class="input__elem" type="text" name="submit-name" valid-text placeholder="Name" required>
                            </div>
                            <div class="input">
                                <div class="input__label">Email</div>
                                <input class="input__elem" type="text" name="submit-email" valid-email placeholder="Email" required>
                            </div>
                            <div class="input">
                                <div class="input__label">Upload files (Optional)</div>
                                <input class="input__file" id="submit-file-0" type="file" name="submit-file">
                                <label class="input__file-label" for="submit-file-0">
                                    <div class="input__file-name">Upload files</div>
                                    <div class="input__file-icon"></div>
                                </label>
                                <div class="input__file-delete"></div>
                            </div>
                            <div class="input">
                                <div class="input__label">Description (Optional)</div>
                                <textarea class="input__elem" name="submit-message" cols="15" rows="3"> </textarea>
                            </div>
                            <button class="btn btn--accent modal__square-btn" type="submit" aria-label="Send form" disabled>Submit</button>
                        </form>
                    </div>
                </div>
            </div>
        </body>
        </html>
    