<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[YetAnotherDeFi]]></title><description><![CDATA[Multichain swap router]]></description><link>https://yad.finance/blog/</link><image><url>https://yad.finance/blog/favicon.png</url><title>YetAnotherDeFi</title><link>https://yad.finance/blog/</link></image><generator>Ghost 5.55</generator><lastBuildDate>Sun, 05 Apr 2026 08:42:15 GMT</lastBuildDate><atom:link href="https://yad.finance/blog/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[YetAnotherDeFi Security Audit by Scalable Solutions]]></title><description><![CDATA[YAD has successfully completed an in-depth audit by Scalable Solutions. Delve into the smart contract assessments, minor fixes, and YAD's commitment to secure and optimized DEX aggregation.]]></description><link>https://yad.finance/blog/yet-another-defi-smart-contract-audit/</link><guid isPermaLink="false">64e37a97a0a92c0001129506</guid><category><![CDATA[News]]></category><dc:creator><![CDATA[YetAnotherDeFi]]></dc:creator><pubDate>Mon, 21 Aug 2023 15:01:43 GMT</pubDate><media:content url="https://yad.finance/blog/content/images/2023/08/01__1_.jpeg" medium="image"/><content:encoded><![CDATA[<img src="https://yad.finance/blog/content/images/2023/08/01__1_.jpeg" alt="YetAnotherDeFi Security Audit by Scalable Solutions"><p>We&#x2019;re happy to announce that <strong>YAD</strong> has undergone a security audit by Scalable Solutions, a company with deep experience in cryptocurrency technology! Scalable Solutions has been offering services in the cybersecurity space over the past 10 years and has gained a strong reputation developing non-custodial wallets, innovative DeFi protocols, and trading venues &#x2014; and now provides expertise in auditing smart contracts. </p><p>The audit involved a deep dive into all of the router&#x2019;s original smart contracts and resulted in a few minor issues that were fixed afterward. Those fixes included some informational issues, such as no description of certain functions in the code, three low-priority recommendations concerning contracts poking other aggregators, and the contract sending tokens to the right contract after the swap.</p><p>In short, the audit was run on the aggregator&#x2019;s original smart contracts to identify vulnerabilities and provide recommendations on how to address them. The Scalable Solutions team made sure the smart contracts checked were secure and free from potential issues that could be exploited by malicious actors. </p><p>One of the concerns brought into focus by the Scalable Solutions audit team was the Uniswap function on a proxy contract that could be potentially used by an attacker to imitate the swap. However, the YAD team has insisted that the sender&#x2019;s funds are not in danger, since the project&#x2019;s logic doesn&#x2019;t store client funds on this proxy contract, plus, fixing the issue would only result in the increase of the contract&#x2019;s execution costs.</p><p>YAD, or Yet Another DeFi, aims to bridge the gaps in the DEX aggregator niche through a set of mechanics. It scrapes liquidity information from available sources and proposes the most efficient price for the quote, splits orders between available pools to reduce price impact, and allows users to limit acceptable slippage. Additionally, it scans different market prices and depths to offer the most optimized route possible for users&apos; trades.</p><p>Check out <a href="https://docs.yad.finance/~/changes/2RSiZ02fGs3gXznJHipO/security/smart-contract-audit?ref=yad.finance">YAD&apos;s GitBook</a> or read the full <a href="https://main.scalablesolutions.io/security_audit?ref=yad.finance#yad">Scalable Solutions audit report</a>! </p>]]></content:encoded></item><item><title><![CDATA[YAD Introduces Chain-Hopping Swaps Across Ethereum and Layer 2 Blockchains]]></title><description><![CDATA[Experience seamless cross-chain swaps with YAD! Swap ERC-20 tokens between Ethereum, Polygon, Optimism, and Arbitrum in minutes.]]></description><link>https://yad.finance/blog/yad-introduces-chain-hopping-swaps-across-ethereum-and-layer-2-blockchains/</link><guid isPermaLink="false">64c91884a0a92c00011292fa</guid><category><![CDATA[Updates]]></category><dc:creator><![CDATA[YetAnotherDeFi]]></dc:creator><pubDate>Tue, 01 Aug 2023 15:31:25 GMT</pubDate><media:content url="https://yad.finance/blog/content/images/2023/08/1--1---2-.jpeg" medium="image"/><content:encoded><![CDATA[<img src="https://yad.finance/blog/content/images/2023/08/1--1---2-.jpeg" alt="YAD Introduces Chain-Hopping Swaps Across Ethereum and Layer 2 Blockchains"><p>Chain-hopping swaps have now been implemented in YAD! Trade popular ERC-20 tokens on Ethereum to the same tokens on a Layer 2 blockchain, such as Polygon, Optimism, or Arbitrum. Swap any token on Ethereum to a list of other tokens on L2 blockchains when the second phase of the update is completed.</p><h3 id="what-is-a-chain-hopping-swap">What is a chain-hopping swap?</h3><p><strong>Chain-hopping swaps</strong> accumulate liquidity across various blockchains without you, as a user, making any extra effort. Hopping from Ethereum to Polygon, Optimism, or Arbitrum is now as easy as pushing a button. Go to the <a href="https://app.yad.finance/bridge/1/eth/10/eth?ref=yad.finance">Trade tab</a> on our website, choose the chain-hopping swap from the dropdown menu, pick a token on the Ethereum network, click the targeted blockchain, and hit &quot;Swap&quot;. For example, you might want to swap DAI on Ethereum for DAI on Polygon.<br></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://lh5.googleusercontent.com/kRYevnLMOAardkfsoivqldplkelbP1w5cHWYIrCbj49dltulqiZnqxYNx4UClEMr5lCtIlXb6ZjXPWv9L7SwWVmTUWZP7j63El5a3ra4vxkL4RR2RLWq6sx5rbDP5jHPd7G3itj3uHrdqfJTM2mSwZQ" class="kg-image" alt="YAD Introduces Chain-Hopping Swaps Across Ethereum and Layer 2 Blockchains" loading="lazy" width="455" height="436"><figcaption><em>A DAI cross-chain swap</em></figcaption></figure><p>In the second phase of our update, you will be able to choose any ERC-20 token from the list to receive after the swap. Say, a regular swap after the second phase will look like a swap of WBTC on Ethereum for USDC on Arbitrum. </p><p>You might ask, why even hop from one chain to another? Well, there actually might be multiple reasons for this, including speed, liquidity, and some staking options. But the most obvious reason is probably cheaper transaction costs. So, how does the whole magic happen?</p><h3 id="how-cross-chain-hopping-works">How cross-chain hopping works</h3><p>The under-the-hood cross-chain technology at YAD works by using so-called native bridges. Native bridges between Ethereum and L2 blockchains use smart contracts to create a secure and trustless way to transfer assets between the two networks. The bridge smart contracts are deployed on both Ethereum and the L2 network. </p><p>When you want to bridge your assets from Ethereum to an L2 network, you will first need to deposit your assets into the bridge smart contract on Ethereum. The bridge smart contract will then mint a new token on the L2 network that represents your deposited assets. A swap like this will only take about 30 minutes. </p><p>To bridge your assets back to Ethereum, though, the smart contract will either unlock or mint tokens on the L1 network and burn the tokens on the L2 network &#x2014; depending on the smart contract of the token. This kind of swap might take up to seven days.</p><h3 id="why-hop-cross-chain-with-yad">Why hop cross-chain with YAD?</h3><p>YetAnotherDeFi, YAD, is a cutting-edge multichain swap router revolutionizing liquidity aggregation across dominant blockchains. Swap in a matter of seconds, using different modes if you are a regular user. Or install a quick and simple widget with a preconfigured <a href="https://github.com/Yet-Another-Defi/YetAnotherDeFi-Swap-Widget?ref=yad.finance">iFrame</a> on your website if you&#x2019;re running a web3 app.</p><p>Want to partner up? Feel free to reach out to us at partners@yad.finance!</p>]]></content:encoded></item><item><title><![CDATA[YAD Integrates EIP-1559 for Enhanced Gas Cost Calibration & Predictability]]></title><description><![CDATA[EIP-1559 now on YAD.Finance for predictable gas fees, enhanced transaction control, and max base fee setting. Enjoy a stable Ethereum experience.]]></description><link>https://yad.finance/blog/eip-1559-explained/</link><guid isPermaLink="false">64be628f06cec000016bf0b9</guid><category><![CDATA[Updates]]></category><dc:creator><![CDATA[YetAnotherDeFi]]></dc:creator><pubDate>Mon, 24 Jul 2023 11:50:45 GMT</pubDate><media:content url="https://yad.finance/blog/content/images/2023/08/9.jpeg" medium="image"/><content:encoded><![CDATA[<img src="https://yad.finance/blog/content/images/2023/08/9.jpeg" alt="YAD Integrates EIP-1559 for Enhanced Gas Cost Calibration &amp; Predictability"><p>Calibrate your gas costs to a Gwei with EIP-1559 added to <a href="https://app.yad.finance/?ref=yad.finance">YAD.Finance</a>. To start using the improved version of our app, just choose one of the chains: <strong>Ethereum</strong>, <strong>Polygon</strong>, or <strong>Avalanche</strong>, go to the settings, and adjust your gas costs like a pro!</p><p>Implemented into YetAnotherDeFi, a cutting-edge multichain swap router that revolutionizes liquidity aggregation across dominant blockchains, EIP-1559 is a part of the London Hard Fork of Ethereum that brings a few improvements into your swapping experience. Now the gas price is more predictable, and to a great extent, thanks to the <em>max base fee</em> you can predefine to a gwei. Pay in two ways, while using YAD, either by choosing a calculated range: fast, medium, and low, or by setting up custom values, <strong>max</strong> <strong>base fee</strong> and <strong>priority fee</strong>. </p><p>Let&#x2019;s discuss. </p><p>Take a look at YAD&#x2019;s swap box below and see how the settings differ from each other before and after EIP-1559 is implemented. Basically, what has changed in the UI is that there&#x2019;s a range now allowing you to push through different kinds of volatility as well as set up your custom settings.</p><p>This UI reflects two things: With the legacy code, the range was not flexible, meaning you couldn&#x2019;t receive your refund back in case your gas price was higher than the market price. With the EIP-1559 feature implemented, you can make the <em>max base fee</em> range flexible and get your refund back. </p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://yad.finance/blog/content/images/2023/07/Screenshot-2023-07-24-at-1.40.38-PM.png" class="kg-image" alt="YAD Integrates EIP-1559 for Enhanced Gas Cost Calibration &amp; Predictability" loading="lazy" width="494" height="292"><figcaption>YAD&apos;s new UI (left) and the legacy UI (right)</figcaption></figure><p>Here&#x2019;s a couple of reasons why the Ethereum foundation has suggested the EIP-1559 feature: first, to even the volatility spikes when gas prices were dramatically fluctuating, say up to <a href="https://etherscan.io/chart/gasprice?ref=yad.finance">97 gwei</a> in May 2023 on the hype of the PEPE meme coin hysteria. The second reason was to make fees more predictable. And also give users more control over how fast they want their transactions processed as well as specify the tip amount they want to pay to the miners. </p><p>How does the feature help even the fees? Basically, by burning a so-called <em>base fee</em>, which, if you think about it, is a deflationary mechanism that reduces the overall Ether supply. When a user sends a transaction, they pay a gas fee. The gas fee is used to compensate miners for the computational resources that they use to process the transaction. The gas fee is paid in Ether. But after implementing EIP-1559, the<strong> base fee</strong> always gets burned, bringing deflationary mechanics to the system. This can help make gas fees more predictable over time, as the supply of ETH gets reduced. What fees are not getting burned, though? Let&#x2019;s take a look!</p><h2 id="max-base-fee-and-priority-fee">Max base fee and Priority fee</h2><p><em><strong>Max base fee:</strong></em> Users can specify a <em>max base fee</em> they are willing to pay for their transaction in case of volatility spikes. But they will be charged the base fee determined by the current state of the network only. The rest of the fee will be returned to their wallet. </p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://lh4.googleusercontent.com/hka5GeBLz1BE7KhLyCupJn7mWoLlU4NoTjKvQ8lsRsS2bs8ORphRLnQTmEdNZHOeHFQThVTQPvPOVB-ycfVoQBp46SGBhrYq_rYmevNQrLqZL8RA5566Xb-UpS_kENauV8igvB53etGIQT68Aj3gcw4" class="kg-image" alt="YAD Integrates EIP-1559 for Enhanced Gas Cost Calibration &amp; Predictability" loading="lazy" width="405" height="477"><figcaption>YAD&#x2019;s swap box settings, white theme, web version</figcaption></figure><p><strong>Priority fee (miner&#x2019;s tip):</strong> The <em>priority fee</em> you set up is 100% up to you, but the higher the price, the faster your transaction will be broadcasted. Compared to the <em>base fee</em>, it will not be burned. Rather, the miner will receive it for their services. </p><h2 id="eip-1559-in-yad">EIP-1559 in YAD</h2><p>Put simply, the reason why we at YAD have implemented EIP-1559 is that it transforms Ethereum into a more predictable and stable system. With the potential to reduce volatility in gas fees, EIP-1559 reduces miner profiteering, makes gas fees less surprising in times of network congestion, and improves the overall user experience with the network. </p><p>Want to try the improved version of our swap box with the EIP-1559 implemented? It&#x2019;s simple! Just go to <a href="https://app.yad.finance/1/exchange/eth/dai?ref=yad.finance">Yad.Finance</a>, connect your wallet, choose the tokens to swap, hit the settings button in the top right corner, and choose the custom mode. Calibrate your gas costs down to the gwei and enjoy a more stable Ethereum experience! </p>]]></content:encoded></item><item><title><![CDATA[YAD Platform Enhancements: Introducing Transaction History]]></title><description><![CDATA[Improve your trading strategy by gaining insight into all completed, pending, or approved swaps and transactions.]]></description><link>https://yad.finance/blog/yetanotherdefi-feature-transaction-history/</link><guid isPermaLink="false">649c5fd106cec000016bf021</guid><category><![CDATA[Updates]]></category><dc:creator><![CDATA[YetAnotherDeFi]]></dc:creator><pubDate>Wed, 28 Jun 2023 16:49:54 GMT</pubDate><media:content url="https://yad.finance/blog/content/images/2023/08/2--1-.jpeg" medium="image"/><content:encoded><![CDATA[<img src="https://yad.finance/blog/content/images/2023/08/2--1-.jpeg" alt="YAD Platform Enhancements: Introducing Transaction History"><p> </p><ul><li>Visit the <a href="https://app.yad.finance/?ref=yad.finance">YAD.Finance</a> dApp and connect your wallet to experience the updated, user-friendly interface. </li><li>To access your transaction history, simply select a token pair in the swap box and click on the &quot;Current pair&quot; button. The system will display all transactions for that pair.</li></ul><hr><p>If you are already familiar with YAD, our cutting-edge multichain swap router that revolutionizes liquidity aggregation across dominant blockchains, you&apos;re in for an exciting update! On June 15, we launched the transaction history feature, providing all of your wallet&apos;s financial history either on your mobile device or on your desktop! Now, all completed, pending, or approved swaps and transactions from the feature&apos;s launch can be easily tracked. </p><p>The new transaction history feature enhances the user experience when exploring the YAD aggregator, our DeFi tool to swap over 3,500 tokens across seven blockchains at the best rate and with the lowest transaction cost. We&#x2019;re constantly working on improving our platform and your experience with it, which is why we are so excited about the transaction history feature for your wallet.<br></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://lh5.googleusercontent.com/2zFkHh0XbZjuipcIg8Brx2jgyjOODtp6N8tQDVfjNfJjn61xKeawsKimEZazKCNFVeTrUtBTw_tCv0lkW4zGX3Iob_On3aUipinRBAMJbBl3CSmwO-EVZZnqCF3d9d__oaLh3ooH1_m01VOyHIfYT6k" class="kg-image" alt="YAD Platform Enhancements: Introducing Transaction History" loading="lazy" width="624" height="344"><figcaption>YAD.Finance&apos;s transaction history feature (desktop)</figcaption></figure><p>Especially helpful for users who swap on a regular basis, transaction history gives insight into what you&#x2019;re doing by shifting the angle. Choose a pair of tokens in the swap box, then click on the <em>Current pair</em> button in your wallet, and the service will pop out all of your transactions for this pair. </p><p>Want to check the status of your transaction? Easy! Simply hover over a certain pair or a coin in your wallet, and then click on the arrow sign in the top-right corner. The wallet will link you out to the blockchain explorer, such as Etherscan or another explorer if you&#x2019;ve chosen a network other than Ethereum. </p><p>And last but not least, with the new feature release, you can simply sort out all of the transactions and tokens based on their state. Have you approved the token for YAD to swap? If so, it will show up in a separate box so that you will be able to visually distinguish it. Is your transaction pending? You will immediately see, if so &#x2014; as well as all the swaps that have already been completed. </p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://lh5.googleusercontent.com/UcJNIfuwSB-Xt3sWxfJRFU-1pmDhE0PajAuOiijoCIM5kVzwVa1M8C3eD_uS6blV8kNBwCOaHaPcOHZ29L-sUD2DPfxwOC55_AfPk8wyzlmyWDQ9mLtcf7oVUq0y2XnXQU44I_V3PunwUYaEsEwQSJU" class="kg-image" alt="YAD Platform Enhancements: Introducing Transaction History" loading="lazy" width="251" height="409"><figcaption>YAD.Finance&apos;s transaction history feature (mobile)</figcaption></figure><hr><p>Are you interested in integrating the combined DeFi liquidity into your platform? Do it with ease using the YAD widget! Quick and simple to install with a preconfigured <a href="https://github.com/Yet-Another-Defi/YetAnotherDeFi-Swap-Widget?ref=yad.finance">iFrame</a>, you can be up and running in a matter of minutes. Compatible with any tablet or smartphone and allowing dApp developers to avoid the need to modify their code for different devices, the widget automatically adjusts its form to the device that your clients use to access the dApp. It is as easy as it sounds.</p><p>Still have questions? Feel free to reach out to us at partners@yad.finance!<br><br></p>]]></content:encoded></item><item><title><![CDATA[Ethereum Paper Wallets Explained: A Step-by-Step Guide and Calculator]]></title><description><![CDATA[Learn cryptography and create a crypto wallet. Follow our guide to generate private and public keys and validate Ethereum addresses. Connect your wallet to YetAnotherDeFi's platform to unlock DeFi.]]></description><link>https://yad.finance/blog/wallet-off-the-wall/</link><guid isPermaLink="false">64394675e0f6070001e66912</guid><category><![CDATA[Education]]></category><dc:creator><![CDATA[YetAnotherDeFi]]></dc:creator><pubDate>Thu, 04 May 2023 16:12:01 GMT</pubDate><media:content url="https://yad.finance/blog/content/images/2023/08/3--2-.jpeg" medium="image"/><content:encoded><![CDATA[<img src="https://yad.finance/blog/content/images/2023/08/3--2-.jpeg" alt="Ethereum Paper Wallets Explained: A Step-by-Step Guide and Calculator"><p>Learn cryptography and create a crypto wallet. Follow our guide to generate private and public keys and validate Ethereum addresses. Connect your wallet to YetAnotherDeFi&apos;s platform to unlock DeFi.</p><p>Here&apos;s what you&apos;ll do:</p><ol><li>Generate a private key from a single word.</li><li>Create a public address from your private key.</li><li>Import your private key into a wallet client.</li><li>Go to YAD Finance and swap any token that might be in the wallet for the chance to earn more rewards.</li></ol><p>So what are we waiting for? Let&apos;s get started!</p><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">&#x203C;&#xFE0F;</div><div class="kg-callout-text">Disclaimer: The crypto address generation process described in this article is focused solely on an educational experience, which demonstrates how the crypto address technology works, in particular, under the hood. Remember, though, that using a common word or phrase as a seed is never safe, and generating a secure private key should involve some degree of randomization.&#xA0;</div></div><h2 id="step-1-convert-text-to-binary">Step 1: Convert Text to Binary</h2><p>Choose a passphrase and enter it into the text input field &#x2014; or, if you got a clue from YetAnotherDeFi&apos;s Twitter (#WalletOffTheWall). Click &quot;Convert to Binary&quot; to convert the text into binary code.</p><!--kg-card-begin: html--> <div class="monospace">
    <div class="input-container">
      <input id="step1-input" class="input-step w-50" placeholder="Enter your text/clue here" type="text" autocomplete="off">
      <span id="step1-error" class="error"></span>
    </div>
    <button id="step1-btn" class="action-btn">Convert text to binary</button>

    <div id="step1-text" class="mt-3"></div>
    <div id="step1-text-add"></div>
  </div><!--kg-card-end: html--><div class="kg-card kg-toggle-card" data-kg-toggle-state="close"><div class="kg-toggle-heading"><h4 class="kg-toggle-heading-text">[+] Understanding Number Systems: Binary, Hexadecimal, and Decimal in Computing</h4><button class="kg-toggle-card-icon"><svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24"><path class="cls-1" d="M23.25,7.311,12.53,18.03a.749.749,0,0,1-1.06,0L.75,7.311"/></svg></button></div><div class="kg-toggle-content"><p>To embark on our journey, we must convert our selected passphrase, for example, YetAnotherDeFi, into the language of computers: binary.</p><p>Fundamentally, computers comprehend only two states (0 and 1), which represent different binary conditions: on/off, +/-, yes/no, true/false. To communicate effectively with our computer, we must convert our text into this binary language. Let&#x2019;s delve into this conversion process.</p><p>We begin by translating our seed text into binary, a numbering system that utilizes only 0 and 1, also known as bits. The binary system (which can also be thought of as the base-2 numbering system) is the fundamental language of computers. For instance, counting <em>decimals</em> in binary starts at 0 (to represent &apos;0&apos;), then 1 (for &apos;1&apos;), followed by 10 (&apos;2&apos;), 11 (&apos;3&apos;), 100 (&apos;4&apos;), 101 (&apos;5&apos;), 110 (&apos;6&apos;), and so forth.</p><p>To convert our text into binary, we first translate each character into its corresponding decimal based on the ASCII code. ASCII, short for American Standard Code for Information Interchange, started as a 7-bit coding standard that assigns unique numeric values to each character. However, as the need for a greater range of characters became apparent, ASCII was extended to use 8 bits, thereby increasing the number of possible characters from 128 to 256.</p><p>In 8-bit ASCII, each character can be represented by a unique 8-bit binary number. For instance, &quot;Y&quot; is 59, or 01011001; &#x201C;A&#x201D; is 41, or 01000001; and &#x201C;D&#x201D; is 44, or 01000100.</p><p>In binary, you receive the following array: 01011001 01000001 01000100. This binary array is how computers interpret the text &quot;YAD&quot;.</p></div></div><h2 id="step-2-convert-binary-to-hexadecimal">Step 2: <strong>Convert Binary to Hexadecimal</strong></h2><p>Enter the binary code you got from Step 1 into the binary input field. Click &quot;Convert to hex&quot; so that we can hash it properly.</p><!--kg-card-begin: html--> <div class="monospace">
    <div class="input-container">
      <input id="step2-input" class="input-step w-100" placeholder="Enter binary data" type="text" autocomplete="off">
      <span id="step2-error" class="error"></span>
    </div>

    <button id="step2-btn" class="action-btn">Convert to hex</button>
    <div id="step2-text" class="mt-3"></div>
    <div id="step2-text-add"></div>
  </div><!--kg-card-end: html--><div class="kg-card kg-callout-card kg-callout-card-yellow"><div class="kg-callout-emoji">&#x1F4A1;</div><div class="kg-callout-text"><strong>What the hex? Why can&apos;t we just hash the binary?</strong><br><br>We were thinking the same thing! Turns out that, even though Keccak-256 converts hex and text to binary before it runs the algo, there doesn&apos;t appear to be any way to convince it that the input is already in binary! If anyone reading this has some wisdom to share, please tweet at us: @yetanotherdefi<br><br>Wondering why we can&apos;t just hash the original seed text? We could have! Though, it&apos;s so much more interesting to break each step down as much as possible, right? Otherwise, this probably isn&apos;t the article you were hoping for&#x2026;</div></div><h2 id="step-3-generate-private-key">Step 3: Generate Private Key</h2><p>Input the 256-bit binary code from Step 2. Click the &quot;Keccak-256 Hash Button&quot; to generate your private key.</p><!--kg-card-begin: html--> <div class="monospace">
    <div class="input-container">
      <input id="step3-input" class="input-step w-50" placeholder="Enter hex data" type="text" autocomplete="off">
      <span id="step3-error" class="error"></span>
    </div>

    <button id="step3-btn" class="action-btn">Keccak-256 hash</button>
    <div id="step3-text" class="mt-3"></div>
    <div id="step3-text-add"></div>
  </div><!--kg-card-end: html--><div class="kg-card kg-callout-card kg-callout-card-yellow"><div class="kg-callout-emoji">&#x1F4A1;</div><div class="kg-callout-text"><strong>Wait, what is the &quot;Generation Point&quot;?</strong><br><br>And why do we actually need to calculate public key coordinates (x,y)? Well, because when you calculate them, you join them into a larger string, and presto! Here goes your uncompressed public key that can be turned into a public address later! Generation Point helps calculate those coordinates!<br><br>The secp256k1 curve&apos;s generator point (G) is actually already established and widely used. So it&#x2019;s not hard to find. Its coordinates (x, y) are fixed and known. The generator point for secp256k1 is:<br><br>G = (x, y)<br><br>x coordinate: 0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798<br><br>y coordinate: 0x483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8</div></div><div class="kg-card kg-toggle-card" data-kg-toggle-state="close"><div class="kg-toggle-heading"><h4 class="kg-toggle-heading-text">[+] Dive into cryptography: Unraveling Keccak-256 and its role in cryptocurrency</h4><button class="kg-toggle-card-icon"><svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24"><path class="cls-1" d="M23.25,7.311,12.53,18.03a.749.749,0,0,1-1.06,0L.75,7.311"/></svg></button></div><div class="kg-toggle-content"><p>Keccak-256 is a cryptographic hash function that generates a 256-bit (32-byte) hash value. Don&apos;t worry if some of these terms seem confusing at first; we&apos;re going to break them down.</p><p>A hash function is a part of the overall process known as hashing. This process transforms input data (like text or a file) into a fixed-size output, known as a hash. You can think of a hash output as a unique fingerprint of the input data; even a tiny change in the input data will create a significantly different hash.</p><p>Hashing is a vital component of Bitcoin, where it&apos;s used in several ways, such as creating new blocks. In the search for a new block in the blockchain, miners repeatedly alter the nonce value of the candidate block&apos;s headers. They take a few transactions from the transaction pool and the potential block&apos;s data, transform it all into a block header&apos;s hash, and rehash the result until they find a hash that meets the network&apos;s difficulty target. Once this is achieved, a new block is unveiled.</p><p>Another use case for a hashing algorithm in cryptography is Ethereum&#x2019;s Merkle Trees. The Merkle Tree is a data structure within each block on Ethereum used to store and organize the transactions included in that block. Transactions are grouped together in pairs and each pair is hashed together to create a new hash value. This process is repeated until there&apos;s only one hash value left in the block, known as the &quot;root hash&quot;. This root hash is critical because each block on Ethereum is connected to the previous block through its root hash.</p><p>There are many more uses for hashing in cryptography, but for now, knowing that the Keccak-256 hash function is used to generate a private key is enough.</p><p>------</p><p>Now that you understand Keccak-256 as a cryptographic hash function, you might wonder about the part of the definition stating that Keccak-256 produces a 256-bit (32-byte) hash value. What exactly does this mean? What&apos;s the difference between bits and bytes? Let&apos;s delve into this.</p><p>The term Keccak-256 refers to the length of the output of the hash function. Regardless of the input message size, this function produces a fixed-length output of 256 bits, which equals 32 bytes, as there are 8 bits in each byte. Therefore, the generated hash value can be represented as either a 32-byte string or a 256-bit string.</p><p>Professionals like computer hardware engineers, software developers, and system administrators often use bytes as a measure for representing larger amounts of data. When we refer to a 256-bit output, we don&apos;t mean a string that is literally 256 characters long. The actual string is 64 (hexadecimal) characters long, a shorter version of a 256-bit binary equivalent. Each symbol in the 64-character string represents a group of 4 bits. Here&apos;s an example:</p><p>f0ca423e9d024b7f69dcdc98a7b6fbf1d5cf968f08c27ebc06a6a98e4bbdf4e4</p><p>In this hexadecimal string, &quot;f&quot; equals 1111 (4 bits), &quot;0&quot; equals 0000 (4 bits), and &quot;c&quot; equals 1100 (4 bits).</p><p>Each number or letter in this 64-hex string represents a 4-bit group because it&apos;s a base-16 string. In case you missed it, <em>hexadecimal</em> is a numbering system that uses 16 distinct symbols (0-9 and A-F) to represent numbers. For example, &quot;a&quot; represents the number 10, &quot;b&quot; represents 11, and so forth, up to &quot;f&quot; which represents 15. Hexadecimal is often used to abbreviate binary numbers. If we represented the above 64-character string in binary, it would be incredibly lengthy. To simplify:</p><p>1 hexadecimal = 4 bits = 0.5 bytes.</p></div></div><p></p><h2 id="step-4-calculate-public-key-coordinates">Step 4: Calculate Public Key Coordinates</h2><p>Don&apos;t worry. We&apos;ve got the private key memorized and will use it for this step. All you need to do is click &quot;Multiply Private Key with Generation Point&quot; to calculate your public key&apos;s X and Y coordinates.</p><!--kg-card-begin: html--> <div class="monospace">
    <button id="step4-btn" class="action-btn">Multiply private key with generation point</button>
    <div id="step4-text" class="mt-3 monospace wrap-text"></div>
    <div id="step4-text-add" class="monospace wrap-text"></div>
  </div><!--kg-card-end: html--><div class="kg-card kg-toggle-card" data-kg-toggle-state="close"><div class="kg-toggle-heading"><h4 class="kg-toggle-heading-text">[+] Elliptic Curve Cryptography: Securing public and private keys with secp256k1</h4><button class="kg-toggle-card-icon"><svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24"><path class="cls-1" d="M23.25,7.311,12.53,18.03a.749.749,0,0,1-1.06,0L.75,7.311"/></svg></button></div><div class="kg-toggle-content"><p>Wow, this is starting to sound quite technical, isn&apos;t it? No worries, though; we&apos;ve got your back. You&apos;ll understand this in no time.</p><p>Firstly, welcome to the world of asymmetric cryptography. From here on out, we&apos;ll need two distinct keys &#x2014; a private one and a public one &#x2014; to encrypt and decrypt data, or in other words, send and receive transactions. This approach contrasts with symmetric cryptography, where the same key is used for both tasks. But that&apos;s less secure. But why do we need to encrypt and decrypt information when transacting in crypto? Why, specifically, do we need Elliptic Curve Cryptography (ECC) today?</p><p>Let&apos;s break down the term &quot;cryptocurrencies&quot;. They&apos;re named that way because they rely on public-key cryptography to secure transactions and ensure the authenticity of the participants involved. Here&apos;s an analogy: How did monks from a secretive medieval monastic order exchange information? They needed trustworthy couriers. Similarly, the two keys in cryptography are like two experienced couriers ensuring that your crypto funds (analogous to valuable ancient manuscripts) are safely transacted.</p><p>Consider this example: When you want to send ETH to another user, the wallet software creates a unique transaction message. This message includes the recipient&apos;s public address, the amount of ETH to be sent, and other transaction details. The transaction message is then hashed and signed using the ECDSA algorithm, which is based on ECC and involves some math operations on the sender&apos;s private key and the hash of the message.</p><p>On the recipient&apos;s side, they perform a series of operations, including hashing the message (similarly to the sender) and using their public key to verify the signature. If, after a series of mathematical operations, the result matches a certain condition, the signature is considered valid.</p><p>This may be a lot to take in if you&apos;re new to cryptography. However, you don&apos;t need to unravel all the mathematical intricacies to understand that the private and public keys need to correspond with each other in order to send and receive crypto transactions. That&apos;s where public-key cryptography algorithms, such as ECC, come into play.</p><p>While there are other cryptography algorithms like RSA (i.e., Rivest-Shamir-Adleman), blockchains such as Bitcoin and Ethereum use ECC (specifically the secp256k1 curve) to calculate public key coordinates because it&apos;s generally more efficient and secure. It has smaller key sizes, faster performance, and is resistant to quantum computing.</p><p>Why calculate public key coordinates, you may ask? This is necessary to find the corresponding keys, and an elliptic curve serves this purpose excellently.</p><p>So, how do we determine the public and private keys in ECC?</p><p>For encryption or digital signatures using ECC, two parties must agree on an elliptic curve and a base point of that curve &#x2014; Bitcoin and Ethereum use secp256k1. This base point is a fixed point that generates a cyclic subgroup of the elliptic curve&apos;s points. Each party chooses a private key &#x2014; which <em>ought</em> to be a random seed number, though in this guide we are creating nonrandom (i.e., not secure) seed &#x2014; and calculates their public key by multiplying the base point by their private key. This is exactly what you&apos;ve done at this stage... minus the randomness part.</p><p>The result of multiplying the private key by the predetermined generation point is a location on the elliptic curve comprising two coordinates (x,y) that can be used to generate a public key... which is what we are going to do next!</p></div></div><h2 id="step-5-generate-uncompressed-public-key">Step 5: Generate Uncompressed Public Key</h2><p>Input the X and Y coordinates from Step 4. Click &quot;Concatenate&quot; to combine them and generate your uncompressed public key. By the way, &quot;concatenate&quot; is just a fancy word for sticking things together end-to-end &#x2014; kind of like a digital high-five!</p><div class="kg-card kg-toggle-card" data-kg-toggle-state="close"><div class="kg-toggle-heading"><h4 class="kg-toggle-heading-text">[+] Public Keys in Blockchain: Uncompressed vs. Compressed Formats</h4><button class="kg-toggle-card-icon"><svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24"><path class="cls-1" d="M23.25,7.311,12.53,18.03a.749.749,0,0,1-1.06,0L.75,7.311"/></svg></button></div><div class="kg-toggle-content"><p>In the world of blockchain and cryptocurrencies, public keys play a crucial role in ensuring the security and authenticity of transactions. Public keys, as part of the public-key cryptography system, are derived from private keys and are used to verify digital signatures, providing a level of trust and validation for transactions occurring on the blockchain. When it comes to public keys, there are two formats that can be used: uncompressed and compressed. Understanding the differences between these formats is essential for grasping how blockchain networks handle transactions and maintain security.</p><p>Uncompressed public keys are the original format used in many cryptographic applications. In this format, the public key is represented as a pair of coordinates (X, Y) on an elliptic curve, resulting in a larger data size. While the uncompressed format offers compatibility with a wide range of systems, its larger size can lead to increased transaction fees, slower transaction processing times, and higher storage requirements. These factors may not be ideal for resource-constrained devices or environments where efficiency is critical.</p><p>Compressed public keys, on the other hand, offer a more compact representation by only including the X-coordinate and a single bit indicating the Y-coordinate&apos;s parity (whether it is odd or even). This significantly reduces the size of the public key without compromising its functionality. The primary advantage of using compressed public keys in blockchain applications is the reduced data size, which translates to lower transaction fees, faster processing times, and more efficient use of storage resources.</p><p>Many modern blockchain platforms, including Bitcoin and Ethereum, support both uncompressed and compressed public key formats. Users can choose the format that best suits their needs, considering factors such as compatibility, efficiency, and resource usage. As blockchain technology continues to evolve, it is essential to strike a balance between maintaining robust security and optimizing performance.</p><p>In conclusion, public keys in blockchain networks can be represented in both uncompressed and compressed formats, with each offering distinct advantages and disadvantages. Uncompressed public keys provide wider compatibility, while compressed public keys offer a more compact and efficient representation. Choosing the appropriate public key format depends on individual use cases and priorities, such as transaction speed, storage, and compatibility with existing systems. Ultimately, understanding the differences between these formats helps users make informed decisions about how best to secure their digital assets and interact with blockchain networks.</p></div></div><!--kg-card-begin: html--> <div class="monospace">
    <div class="input-container">
      <input id="step5-input-1" class="input-step w-75" placeholder="Enter x coordinate" type="text" autocomplete="off">
      <span id="step5-error-1" class="error"></span>
    </div>
    <div class="input-container">
      <input id="step5-input-2" class="input-step w-75" placeholder="Enter y coordinate" type="text" autocomplete="off">
      <span id="step5-error-2" class="error"></span>
    </div>

    <button id="step5-btn" class="action-btn">Concatenate</button>
    <div id="step5-text" class="mt-3"></div>
    <div id="step5-text-add"></div>
  </div>
<!--kg-card-end: html--><!--kg-card-begin: html--><div class="kg-card kg-toggle-card" data-kg-toggle-state="close">
    <div class="kg-toggle-heading">
      <h4 class="kg-toggle-heading-text">[+] Extra: Generate Compressed Public Key</h4>
      <button class="kg-toggle-card-icon"><svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24"><path class="cls-1" d="M23.25,7.311,12.53,18.03a.749.749,0,0,1-1.06,0L.75,7.311"/></svg></button>
    </div>
    <div class="kg-toggle-content">
      <p>Input the X and Y coordinates from Step 4. Click &quot;Concatenate&quot; to combine them and generate your uncompressed public key. By the way, &quot;concatenate&quot; is just a fancy word for sticking things together end-to-end &#x2014; kind of like a digital high-five!</p>
      <div class="input-container">
        <select id="step5-1-input-1" value="02" class="input-select">
          <option value="02">02 - if Y is even</option>
          <option value="03">03 - if Y is odd</option>
        </select>
      </div>
      <div class="input-container">
        <input id="step5-1-input-2" class="input-step w-75" placeholder="Enter x coordinate" type="text" autocomplete="off">
        <span id="step5-1-error-2" class="error monospace"></span>
      </div>

      <button id="step5-1-btn" class="action-btn">Add prefix</button>
      <div id="step5-1-text" class="mt-3"></div>
      <div id="step5-1-text-add"></div>
    </div>

    <div class="kg-card kg-toggle-card" data-kg-toggle-state="close">
      <div class="kg-toggle-heading">
        <h4 class="kg-toggle-heading-text">[++] How to Tell if a Hexadecimal is Odd or Even</h4>
        <button class="kg-toggle-card-icon"><svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24"><path class="cls-1" d="M23.25,7.311,12.53,18.03a.749.749,0,0,1-1.06,0L.75,7.311"/></svg></button>
      </div>
      <div class="kg-toggle-content">
        <p>When working with hexadecimal numbers, you might sometimes need to determine if a given value is odd or even. Hexadecimal is a base-16 number system, which means it uses 16 unique symbols to represent numbers. The digits 0-9 represent the values 0-9, and the letters A-F represent the values 10-15.</p>
        <p>To tell if a hexadecimal number is odd or even, you only need to examine the least significant digit (the rightmost digit) in the number. If the least significant digit is even (i.e., 0, 2, 4, 6, 8, A, C, or E), the entire hexadecimal number is considered even. Conversely, if the least significant digit is odd (1, 3, 5, 7, 9, B, D, or F), the whole number is considered odd.</p>
        <p>For example, let&apos;s consider the hexadecimal number 3A2F. We only need to look at the least significant digit, which is F. As F represents the value 15, which is odd, the entire hexadecimal number 3A2F is considered odd. Another example is the hexadecimal number 4B8C. The least significant digit is C, which represents the value 12. Since 12 is even, the entire hexadecimal number 4B8C is considered even. By focusing on the least significant digit of a hexadecimal number, it becomes easy to determine whether the number is odd or even without needing to convert the entire number into a different number system.</p>
      </div>
    </div>
  </div><!--kg-card-end: html--><h2 id="step-6-create-unrefined-public-address">Step 6: Create Unrefined Public Address</h2><p>Enter the uncompressed public key from Step 5. Click &quot;Keccak-256 Hash&quot; to generate an unrefined (32-byte) public address.</p><!--kg-card-begin: html--> <div class="monospace">
    <div class="input-container">
      <textarea id="step6-input" class="input-textarea w-100 monospace" placeholder="Enter uncompressed public key" autocomplete="off"></textarea>
      <span id="step6-error" class="error"></span>
    </div>

    <button id="step6-btn" class="action-btn">Keccak-256 hash</button>
    <div id="step6-text" class="mt-3"></div>
    <div id="step6-text-add"></div>
  </div><!--kg-card-end: html--><h2 id="step-7-refine-public-address">Step 7: Refine Public Address</h2><p>This part is on you to figure out! The public address is already contained in the hexadecimal output of Step 6, but it has 12 bytes of unnecessary information in front of it. </p><div class="kg-card kg-callout-card kg-callout-card-yellow"><div class="kg-callout-emoji">&#x1F4A1;</div><div class="kg-callout-text"><strong>Hmm, how am I supposed to subtract bytes from hexes?</strong><br><br>Your unrefined public address at this point is expressed as a hexadecimal string. In bytes, it weighs 32 bytes. To get rid of 12 bytes of unnecessary information in front of the hex string, let&#x2019;s convert bytes into some hex.<br><br>If 1 byte equals 2 hexadecimals, then 12 bytes equal 24 hexadecimals. <br><br>That means 24 hexadecimals is the number of characters we should get rid of in our hex string. That said, if your unrefined public address looks like this:<br><br> 8ffe5279de68586daafd6e27a8f4ca60241bd4676bea90d118b88da38a54f6ba <br><br>...then the refined public address will be 24 symbols shorter, weighing 20 bytes, and will look like this: <br><br>a8f4ca60241bd4676bea90d118b88da38a54f6ba<br></div></div><!--kg-card-begin: html--><div class="monospace">
    <div class="input-container">
      <input id="step7-input" class="input-step w-75" placeholder="Enter public address" type="text" autocomplete="off">
      <span id="step7-error" class="error"></span>
    </div>

    <button id="step7-btn" class="action-btn">Check your math</button>
    <div id="step7-text" class="mt-3"></div>
    <div id="step7-text-add"></div>
  </div><!--kg-card-end: html--><div class="kg-card kg-toggle-card" data-kg-toggle-state="close"><div class="kg-toggle-heading"><h4 class="kg-toggle-heading-text">[+] Hashing Algorithms Explained: Keccak-256 and Its Role in EVM Cryptography</h4><button class="kg-toggle-card-icon"><svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24"><path class="cls-1" d="M23.25,7.311,12.53,18.03a.749.749,0,0,1-1.06,0L.75,7.311"/></svg></button></div><div class="kg-toggle-content"><p>Keccak-256 is a widely-recognized cryptographic hash function that plays a crucial role in securing the Ethereum blockchain. As part of the SHA-3 family, Keccak-256 is based on a sponge construction that provides strong security and excellent performance. It replaced the older SHA-1 and SHA-2 families due to their perceived vulnerabilities and susceptibility to attacks.</p><p>Ethereum employs Keccak-256 in its Ethereum Virtual Machine (EVM) cryptography to ensure the security and integrity of its transactions and smart contracts. Keccak-256 produces a fixed-length (256-bit) output regardless of the input size, making it an ideal candidate for creating unique hashes of data on the blockchain. This fixed-length output is essential to prevent potential attackers from deriving the original data or finding a different input that generates the same hash, which would be known as a hash collision.</p><p>The Keccak-256 algorithm is also used in generating Ethereum addresses. The process involves hashing the public key of a user to produce a 256-bit hash, which is then truncated to the last 160 bits to create a unique Ethereum address. The resulting address provides a level of abstraction between a user&apos;s public key and their on-chain identity, ensuring security and privacy in the Ethereum ecosystem.</p><p>Understanding the base number systems used in Keccak helps illustrate its robustness as a cryptographic hash function. Keccak-256, in particular, offers high levels of security and ensures the overall integrity and security of the Ethereum network. Its role in Ethereum&apos;s cryptography includes generating unique hashes for transactions and creating Ethereum addresses, further enhancing the privacy and safety of users within the ecosystem.</p><p>In considering the likelihood of collisions, it&apos;s essential to acknowledge that the data moves through base 25, base 50, and up to 1600 before reversing the process. This complex progression contributes to Keccak&apos;s impressive resistance to collisions, likely a significant design goal of the algorithm.</p></div></div><h2 id="step-8-hash-public-address-for-eip-55-validation">Step 8: Hash Public Address for EIP-55 Validation</h2><p>Enter the 20-byte hex from Step 7. Click &quot;Keccak-256 Hash&quot; to generate a new hex output, which we will use as a cipher to encode the address.</p><!--kg-card-begin: html--> <div class="monospace">
    <div class="input-container">
      <input id="step8-input" class="input-step w-50" placeholder="Enter public address" type="text" autocomplete="off">
      <span id="step8-error" class="error"></span>
    </div>

    <button id="step8-btn" class="action-btn">Keccak-256 hash</button>
    <div id="step8-text" class="mt-3"></div>
  </div><!--kg-card-end: html--><h2 id="step-9-encode-address">Step 9: Encode Address</h2><p>Time to flex your detective skills! Encode your refined public address using EIP-55. To do this, capitalize each alphabet in the hexadecimal address whose corresponding hexadecimal digit in the hash (cipher) is greater than or equal to 0x8.</p><p>Don&apos;t worry; you got this! Remember, we only need to use the first 40 hexadecimal digits in the hash.</p><!--kg-card-begin: html--> <div class="monospace">
    <input id="step9-input" class="input-step w-100" placeholder="Enter lowercase public address" type="text" autocomplete="off" disabled>
    <input id="step9-1-input" class="input-step w-100" placeholder="Enter encoding cipher" type="text" autocomplete="off" disabled>

    <div class="input-container">
      <input id="step9-2-input" class="input-step w-50" placeholder="Enter public address" type="text" autocomplete="off">
      <span id="step9-2-error" class="error"></span>
    </div>

    <button id="step9-btn" class="action-btn">Verify</button>
    <div id="step9-text" class="mt-3"></div>
    <div id="step9-text-add"></div>
  </div><!--kg-card-end: html--><div class="kg-card kg-callout-card kg-callout-card-yellow"><div class="kg-callout-emoji">&#x1F4A1;</div><div class="kg-callout-text">The first line is your refined public address we need to cipher. The second line you basically use to cipher your future address. It is your hashed public address from step 8. Remember, you only need the first 40 symbols in this string. <br><br>Public address:<br> 12ab 34cd 56ef 78ab...<br><br>Cipher:<br> 0123 4567 <strong>89ab cdef</strong>...<br><br>Encoded address:<br> 12ab34cd56<strong>EF</strong>78<strong>AB</strong>...</div></div><div class="kg-card kg-toggle-card" data-kg-toggle-state="close"><div class="kg-toggle-heading"><h4 class="kg-toggle-heading-text">[+] EIP-55 Address Encoding: Enhancing Ethereum Address Verification</h4><button class="kg-toggle-card-icon"><svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24"><path class="cls-1" d="M23.25,7.311,12.53,18.03a.749.749,0,0,1-1.06,0L.75,7.311"/></svg></button></div><div class="kg-toggle-content"><p>EIP-55, or Ethereum Improvement Proposal 55, introduced a mechanism that enhances Ethereum address verification by adding a checksum encoding to the standard hexadecimal address representation. This improvement makes it significantly more difficult to accidentally send ETH or tokens to an incorrect address due to a mistyped or mistaken input. EIP-55 is widely used across Ethereum-based services and applications, such as wallets and decentralized platforms.</p><p>The EIP-55 address encoding process involves two primary steps. First, a Keccak-256 hash of the lowercase hexadecimal address (without the preceding 0x) is calculated. This hash is then used as a checksum. Next, each alphabet character in the original address is capitalized if its corresponding hexadecimal digit in the hash is greater than or equal to 0x8. The final encoded address consists of a mix of uppercase and lowercase letters, making it easier to verify and reducing the risk of errors.</p><p>EIP-55 provides an additional layer of safety in the Ethereum ecosystem. While the checksum encoding does not guarantee total protection against human errors, it does offer a significant improvement over the simple, non-checksummed addresses that were used prior to its implementation. Most Ethereum wallets and tools now support EIP-55 encoded addresses, checking and validating them before initiating transactions.</p><p>Overall, EIP-55 has improved the user experience within the Ethereum network, helping to minimize the risk of lost funds due to human error. By incorporating EIP-55 encoding into wallets and services, developers can better ensure the secure transfer of assets within the Ethereum ecosystem, thus strengthening trust and confidence in the platform.</p></div></div><h2 id="step-10-verify-address-and-reveal-private-key">Step 10: Verify Address and Reveal Private Key</h2><p>Input the encoded address from Step 9. Click &quot;Verify Address&quot; to confirm your Ethereum address and reveal your private key.<br></p><!--kg-card-begin: html--> <div class="monospace">
    <div class="input-container">
      <input id="step10-input" class="input-step w-50" placeholder="Enter encoded public address" type="text" autocomplete="off">
      <span id="step10-error" class="error"></span>
    </div>

    <button id="step10-btn" class="action-btn">Verify address</button>
    <div id="step10-text" class="mt-3"></div>
  </div><!--kg-card-end: html--><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">&#x203C;&#xFE0F;</div><div class="kg-callout-text">Disclaimer: The crypto address generation process described in this article is focused solely on an educational experience, which demonstrates how the crypto address technology works, in particular, under the hood. Remember, though, that using a common word or phrase as a seed is never safe, and generating a secure private key should involve some degree of randomization.&#xA0;</div></div><h2 id="step-11-import-private-key-in-wallet-client-and-swap-on-yad-finance">Step 11: Import Private Key in Wallet Client and Swap on YAD Finance</h2><p>Now that you have your private key, it&apos;s time to import it into your wallet client. Follow the instructions provided by your wallet to import a private key. Once you&apos;ve successfully imported the private key, go to <a href="app.yad.finance">YAD Finance</a> (or use the YAD widget below) to swap any tokens that might be in there to the crypto of your choice!</p><!--kg-card-begin: html-->    <div style="max-width: 100%; display: flex; justify-content: center">
        <iframe src="https://widget.yad.finance/42161/exchange/arb/usdt?theme=light" height="508" style="max-width: 420px; flex: 1; border-radius: 10px; box-shadow:10px 0px 32px 3px rgba(0,0,0,0.25);"></iframe>
    </div>
<!--kg-card-end: html--><p><br></p><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[Add YAD to your smartphone's homescreen]]></title><description><![CDATA[<p>Welcome to a 1-min guide on how to install the YAD icon to your phone. After reading this quick manual and / or watching our 10-sec screencasts, you will be able to swap 3,500+ tokens on six chains easily from your home screen. And it doesn&#x2019;t matter if</p>]]></description><link>https://yad.finance/blog/add-yad-to-your-smartphones-homescreen/</link><guid isPermaLink="false">642ac64ee0f6070001e667a4</guid><category><![CDATA[Updates]]></category><dc:creator><![CDATA[YetAnotherDeFi]]></dc:creator><pubDate>Wed, 05 Apr 2023 11:12:27 GMT</pubDate><media:content url="https://yad.finance/blog/content/images/2023/08/6--2-.jpeg" medium="image"/><content:encoded><![CDATA[<img src="https://yad.finance/blog/content/images/2023/08/6--2-.jpeg" alt="Add YAD to your smartphone&apos;s homescreen"><p>Welcome to a 1-min guide on how to install the YAD icon to your phone. After reading this quick manual and / or watching our 10-sec screencasts, you will be able to swap 3,500+ tokens on six chains easily from your home screen. And it doesn&#x2019;t matter if you access the dApp from an iPhone or an Android smartphone.</p><p><strong>iPhone (Safari)</strong></p><figure class="kg-card kg-embed-card"><iframe width="200" height="113" src="https://www.youtube.com/embed/kQEKT5UIY0w?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen title="Add YAD to iPhone&apos;s homescreen with Safari"></iframe></figure><ul><li>Step 1. Search for the Yad.Finance website in Safari on your iPhone</li><li>Step 2. Press &#x201C;Launch app&#x201D; once on the website,</li><li>Step 3. Tap the Share button in the toolbar (at the bottom of your screen).</li><li>Step 4. In the pop-up menu, scroll down to &#x201C;Add to Home Screen,&#x201D; and tap it.</li><li>Step 5. Rename to YAD.</li><li>Step 6. Find the icon on your home screen and access the dApp.</li></ul><p><strong>Android </strong></p><figure class="kg-card kg-embed-card kg-card-hascaption"><iframe width="200" height="113" src="https://www.youtube.com/embed/-7ifh8r-8Wg?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen title="Add YAD to Android&apos;s homescreen"></iframe><figcaption>c</figcaption></figure><ul><li>Step 1. Search for the Yad.Finance website in Google Chrome on your Android.</li><li>Step 2. Press &#x201C;Launch app&#x201D; once on the website.</li><li>Step 3. Click on the Chrome menu icon on the browser toolbar at the top right.</li><li>Step 3. In the pop-up menu, scroll down to &#x201C;Add to Home Screen&#x201D;, and tap it.</li><li>Step 4. Rename to YAD.</li><li>Step 5. Find the icon on your home screen and access the dApp.</li></ul><p><strong>iPhone (Google Chrome) </strong></p><figure class="kg-card kg-embed-card"><iframe width="200" height="113" src="https://www.youtube.com/embed/zgbhAtlOuXM?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen title="Add YAD to iPhone&apos;s homescreen with Google Chrome"></iframe></figure><ul><li>Step 1. Go to the Shortcuts app on the home screen of your iPhone.</li><li>Step 2. Press &#x201C;+&#x201D; to create a new shortcut.</li><li>Step 3. Press &#x201C;Add Action.&#x201D;</li><li>Step 4. In the search box, type Chrome.</li><li>Step 5. Choose &#x201C;Open URLs in Chrome.&#x201D;</li><li>Step 6. Add the link <a href="https://app.yad.finance/?ref=yad.finance">https://app.yad.finance/</a></li><li>Step 7. Choose the icon and the color for the icon.</li><li>Step 8. Label the icon YAD.</li><li>Step 9. Press &#x201C;Add to Home Screen.&#x201D;</li><li>Step 10. Give the shortcut a name (e.g., YAD).</li><li>Step 11. Find the icon on your home screen and access the dApp.</li></ul>]]></content:encoded></item><item><title><![CDATA[DEX aggregators comparison]]></title><description><![CDATA[Although there are numerous DEX aggregators available, they share a common function: routing a single transaction across various liquidity pools to save users gas fees, minimize price impact, and obtain the most optimized rates possible. ]]></description><link>https://yad.finance/blog/dex-aggregators-comparison/</link><guid isPermaLink="false">63d91b05e0f6070001e6649f</guid><category><![CDATA[Education]]></category><dc:creator><![CDATA[YetAnotherDeFi]]></dc:creator><pubDate>Tue, 07 Mar 2023 14:26:50 GMT</pubDate><media:content url="https://yad.finance/blog/content/images/2023/08/5--3-.jpeg" medium="image"/><content:encoded><![CDATA[<img src="https://yad.finance/blog/content/images/2023/08/5--3-.jpeg" alt="DEX aggregators comparison"><p><strong><em><strong>For more information, check out our previous articles about <a href="https://yad.finance/blog/what-are-dex-aggregators/">what DEX aggregators are</a> and <a href="https://yad.finance/blog/how-does-a-dex-aggregator-work/">how DEX aggregators work</a></strong></em></strong></p><p>With the abundance of aggregators available, selecting the one that best suits your needs can be daunting. To compare aggregators effectively, it is necessary to establish a set of comparison criteria.</p><h2 id="routing-algorithm">Routing algorithm</h2><p>In DEX aggregators, routing algorithms can be classified into two main types: intrachain routing and cross-chain routing.</p><p><strong>Intrachain routing, or on-chain routing,</strong> involves finding the most optimized path for a trade across existing liquidity pools within a single blockchain. On the other hand, cross-chain routing involves identifying the best swap route from one blockchain to another.</p><p>In <strong>cross-chain routing</strong> algorithms, the router typically creates a path across two different blockchains to identify the most optimized scenario for a trade. To enable such a trade, a specialized technology known as cross-chain bridges is utilized.</p><p>Cross-chain bridges often require locking or burning tokens on the source chain using a smart contract, followed by the unlocking or minting of tokens through another smart contract on the destination chain.</p><h2 id="smart-contracts">Smart contracts</h2><p>When evaluating DEX aggregators&apos; smart contracts, there are several factors to consider, including whether they have been audited, if they can be verified, and whether the project has smart contracts at all.</p><p>An audit entails a comprehensive analysis of a contract&apos;s code by a reputable security agency to identify potential security issues, incorrect and inefficient coding, and to suggest solutions to resolve any identified problems. When it comes to source-code verification, verifying that the source code of a smart contract in a high-level language (such as Solidity) compiles to the same bytecode to be executed at the <a href="https://etherscan.io/address/1inch.eth?ref=yad.finance">contract address.</a></p><h2 id="monetization-modelfees">Monetization model/fees</h2><p>There are two primary monetization models utilized by DEX aggregators: the positive-slippage model and the model based on fees generated from swaps.</p><p><strong>Positive slippage</strong> occurs when the resulting price is better than the price at which the user intended to buy or sell. In this case, the aggregators might want to &#x201C;keep the change,&#x201D; taking the positive slippage as profit. However, others may choose to distribute the surplus to their treasury or referral program.</p><p>The <strong>transaction-fee model</strong> involves utilizing the fees generated on the taker side of every swap to fund further development of the aggregator, at least in part. This approach is commonly practiced in the industry.</p><h2 id="pmms-and-the-rfq-system">PMMs and the RFQ system</h2><p>In theory, any DEX aggregator can access to on-chain or off-chain liquidity. However, compared to on-chain liquidity, which is sourced by sampling smart contract liquidity pools like Uniswap and Curve, off-chain liquidity is sometimes sourced from <strong>private market makers</strong> (PMMs) &#x2014; sometimes called professional or proactive market makers. </p><p>PMMs have a considerable amount of liquidity to &#x201C;play with&#x201D; and are willing to participate in the market dynamics with the aim of reselling these assets on another platform for a profit. As a result, when swapping, you might receive a more competitive quote than one generated solely by an automated market maker (AMM). </p><p>To take advantage of the opportunity to earn a profit, PMMs use the <strong>request-for-quote</strong> (RFQ) system. The RFQ system is aware when investors want to execute a large block trade and invites PMMs to participate.</p><h2 id="tokens">Tokens</h2><p>There are a few reasons why comparing DEX aggregators&#x2019; tokens can be useful when selecting the right solution. Typically, crypto tokens are an effective means of raising capital for a project. Therefore, if a token is popular and has a high market capitalization, it indicates a high level of trust in the project, which is a positive sign. Moreover, token stakers are often rewarded when making swaps &#x2014; for example, with a gas refund. PMMs partnering with 1inch prioritize your transaction if you are staking the 1inch token.</p><h2 id="dao">DAO</h2><p>When a project&#x2019;s pool of funds is crowdsourced, it&#x2019;s important to transfer decision-making power to the investors. One of the ways to achieve this is through a decentralized autonomous organization, or DAO, which is an emerging legal structure without a central governing body, where members share a common goal to act in the entity&apos;s best interest, Utilizing a DAO shifts power to those who have provided funding to the project, promoting transparency and decentralization as essential pillars of the infrastructure.</p><h2 id="open-source">Open source</h2><p>As DeFi is primarily a community of libertarian-minded developers, it is crucial to acknowledge that open-source code is a common courtesy in this space. It ensures the transparency of all processes and serves as a means to verify the technology, as seen in the case of smart contracts (see above).</p><p>***</p><p>Here is a cheat sheet for you to keep on hand whenever you ned to make a swap. The table below lists the most popular DEX aggregators, along with relevant trading criteria that can be useful in making profitable trades.</p><!--kg-card-begin: html--><table class="table-comparison">
      <thead>
        <tr>
          <th>Protocol</th>
          <th>Yad</th>
          <th>1inch</th>
          <th>Matcha / 0x</th>
          <th>ParaSwap</th>
          <th>
            Transferto.xyz / <a target="_blank" href="https://li.fi/?ref=yad.finance">Li.Fi</a>
          </th>
          <th>Rubic</th>
          <th>Rango</th>
        </tr>
      </thead>
      <tbody>
        <tr class="subhead">
          <td>Stats</td>
          <td></td>
          <td>
            <a target="_blank" href="https://dune.com/1inch/aggregator?ref=yad.finance">Dashboard</a>
          </td>
          <td>
            <a target="_blank" href="https://dune.com/0x/matcha?ref=yad.finance">Dashboard</a>
          </td>
          <td>
            <a target="_blank" href="https://dashboard.paraswap.io/public/dashboard/dcc1ec4f-c84b-44a4-b3ce-8b794c3fed91?ref=yad.finance">Dashboard</a>
          </td>
          <td></td>
          <td></td>
          <td></td>
        </tr>

        <tr>
          <td>Blockchains</td>
          <td>6</td>
          <td>10</td>
          <td>8</td>
          <td>7</td>
          <td>16</td>
          <td>26</td>
          <td>46</td>
        </tr>

        <tr>
          <td>Liquidity sources</td>
          <td>150</td>
          <td>228</td>
          <td>37</td>
          <td>75</td>
          <td>28</td>
          <td>60+</td>
          <td>30</td>
        </tr>

        <tr>
          <td>Tokens</td>
          <td>3,500</td>
          <td>3,500</td>
          <td>1,000</td>
          <td>???</td>
          <td>5,000</td>
          <td>15,500</td>
          <td>15,000</td>
        </tr>

        <tr>
          <td>Bridges</td>
          <td>Coming soon</td>
          <td>&#x274C;</td>
          <td>&#x274C;</td>
          <td>&#x274C;</td>
          <td>
            <a target="_blank" href="https://docs.li.fi/list-chains-bridges-dexs?ref=yad.finance#bridges">13</a>
          </td>
          <td>30</td>
          <td>25</td>
        </tr>

        <tr class="subhead">
          <td>Routing and execution</td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
        </tr>

        <tr>
          <td>Intrachain routing algorithm</td>
          <td>Yad router</td>
          <td>
            <a target="_blank" href="https://blog.1inch.io/the-1inch-router-v5-is-released-7a36ff835bd5?gi=64b92ea3e8bd&amp;ref=yad.finance">1Inch Router v5</a>
          </td>
          <td>
            <a target="_blank" href="https://blog.0xproject.com/0x-apis-smart-order-routing-7af0195515e5?ref=yad.finance">0x Router</a>
          </td>
          <td>
            <a target="_blank" href="https://developers.paraswap.network/smart-contracts/augustus-swapper?ref=yad.finance">Augustus Swapper</a>
          </td>
          <td>
            <a target="_blank" href="https://docs.li.fi/list-chains-bridges-dexs?ref=yad.finance#exchanges">0x 1Inch ParaSwap OpenOcean
            </a>
          </td>
          <td>
            <a target="_blank" href="https://docs.rubic.finance/integrate-sdk/sdk-architecture?ref=yad.finance">0x 1Inch
            </a>
          </td>
          <td>
            <a target="_blank" href="https://docs.rango.exchange/integrations?ref=yad.finance#supported-dexes">1Inch ParaSwap OpenOcean Jupiter Osmosis
            </a>
          </td>
        </tr>

        <tr>
          <td>Cross-chain routing algorithm</td>
          <td>Coming soon</td>
          <td>&#x274C;</td>
          <td>&#x274C;</td>
          <td>&#x274C;</td>
          <td>
            <a target="_blank" href="https://docs.li.fi/more-integration-options/li.fi-api?ref=yad.finance">LiFi cross-chain router</a>
          </td>
          <td>
            <a target="_blank" href="https://docs.rubic.finance/integrate-sdk/sdk-architecture?ref=yad.finance">LiFi DeBridge Symbiosis Celer
            </a>
          </td>
          <td></td>
        </tr>

        <tr>
          <td>Cross-chain execution</td>
          <td>Coming soon</td>
          <td>Manual swap</td>
          <td>&#x274C;</td>
          <td>&#x274C;</td>
          <td>Automated</td>
          <td>Automated</td>
          <td>Manual swaps/ automated</td>
        </tr>

        <tr>
          <td>Smart contracts</td>
          <td>YAD transformer smart contracts</td>
          <td>
            <a target="_blank" href="https://docs.1inch.io/docs/aggregation-protocol/smart-contract/AggregationRouterV5/?ref=yad.finance">Aggregation Router V5 smart contracts</a>
          </td>
          <td>
            <a target="_blank" href="https://protocol.0x.org/en/latest/architecture/overview.html?ref=yad.finance">0x Protocol</a>
          </td>
          <td>
            <a target="_blank" href="https://developers.paraswap.network/smart-contracts/augustus-swapper?ref=yad.finance">Augustus Swapper</a>
          </td>
          <td>
            <a target="_blank" href="https://docs.li.fi/smart-contracts/overview?ref=yad.finance">LI.FIDiamond (Multi-facet Proxy)</a>
          </td>
          <td>&#x274C;</td>
          <td>
            <a target="_blank" href="https://docs.rango.exchange/integration-guide/rango-contracts/deployments?ref=yad.finance">Rango V1 smart contracts</a>
          </td>
        </tr>

        <tr class="subhead">
          <td>Liquidity providers</td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
        </tr>

        <tr>
          <td>DEX AMM pools</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
        </tr>

        <tr>
          <td>RFQ</td>
          <td>Coming soon</td>
          <td>
            <a target="_blank" href="https://blog.1inch.io/the-1inch-router-v4-is-rolled-out-320f291f995f?ref=yad.finance">RFQ feature on Limit Orders</a>
          </td>
          <td>&#x2714;&#xFE0F;</td>
          <td>
            <a target="_blank" href="https://developers.paraswap.network/smart-contracts/augustus-swapper?ref=yad.finance">RFQ orders from ParaSwap Pools for direct swaps on 0x V2 and
              V4</a>
          </td>
          <td>&#x274C;</td>
          <td>&#x274C;</td>
          <td>&#x274C;</td>
        </tr>

        <tr>
          <td>PMMs</td>
          <td>Coming soon</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x274C;</td>
          <td>&#x274C;</td>
          <td>&#x274C;</td>
        </tr>

        <tr class="subhead">
          <td>Governance</td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
        </tr>

        <tr>
          <td>Governance model</td>
          <td>Centralized</td>
          <td>DAO</td>
          <td>DAO</td>
          <td>DAO</td>
          <td>Centralized</td>
          <td>Centralized</td>
          <td>Centralized</td>
        </tr>

        <tr>
          <td>Protocol token</td>
          <td>&#x274C;</td>
          <td>1INCH</td>
          <td>ZRX</td>
          <td>PSP</td>
          <td>&#x274C;</td>
          <td>RBC</td>
          <td>RANGO</td>
        </tr>

        <tr class="subhead">
          <td>Integration</td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
        </tr>

        <tr>
          <td>Widget</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x274C;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x274C;</td>
        </tr>

        <tr>
          <td>API</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td></td>
        </tr>

        <tr>
          <td>API SDK</td>
          <td>&#x274C;</td>
          <td>&#x274C;</td>
          <td>&#x274C;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
        </tr>

        <tr>
          <td>Open source</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x274C;</td>
        </tr>

        <tr>
          <td>Smart routing</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
          <td>&#x2714;&#xFE0F;</td>
        </tr>

      </tbody>
    </table><!--kg-card-end: html--><p>Are you interested in one of the aggregators but you need more convincing? Here&#x2019;s a brief overview of the most popular solutions in the market that you may find helpful!</p><h3 id="1inch">1inch</h3><p>1inch Network is a DEX aggregator solution that utilizes the so-called Pathfinder algorithm. Pathfinder splits swaps across supported liquidity protocols, uses multiple &#x201C;market depths&#x201D; as bridges between source and destination tokens, and migrates tokens from Aave and Compound.</p><h3 id="matcha">Matcha</h3><p>To maximize returns on swaps, the 0x API underlying the Matcha DEX aggregator fills across different sources and scans limit orders from the protocol&apos;s networked liquidity. To reduce transaction costs, they also utilize meta transactions and gas tokens.</p><h3 id="paraswap">ParaSwap</h3><p>Paraswap utilizes a proxy smart contract called Augustus to facilitate swaps. Augustus supports three types of swaps: Simple-Path, Multi-Path, and Mega-Path. Simple-Path swaps allow for token swapping without the use of any intermediary tokens. Multi-Path swaps involve the use of one or multiple intermediary tokens in a single swap. Mega-Path swaps can be broken down into multiple Multi-Swaps and are typically useful with larger amounts.</p><h3 id="rubic">Rubic</h3><p>Rubic utilized a Multi-Chain Routing Contract to optimize users&#x2019; swaps. This contract scrapes liquidity across different blockchains, DEXs, and aggregated bridges. While not revealing how the contract works, Rubic explains the general algorithm of how the transaction gets executed. When a user wants to swap tokens from Blockchain A to Blockchain B, they make a transaction on Blockchain A, which sends tokens to the Multi-Chain Routing smart contract on Blockchain A. Separate validators sign the transaction and forward the message to the relayer.</p><h3 id="rango">Rango</h3><p>Similar to the services mentioned above, the Rango Protocol searches all possible DEXs and bridges for liquidity. It wraps all multi-chain swaps into multiple raw transactions over EVM-based blockchains, Cosmos-compatible networks, or UTXO-based blockchains and determines the best possible route based on user experience, fee amount, and swap output.</p><h3 id="lifi">LiFi</h3><p>As a B2B solution, LiFi focuses on dApps decision makers who might want to integrate their SDK and cross-chain bridging and swaps into their product. To explain how their technology works, they say: &#x201C;<em>In a nutshell, LI.FI is like 1inch &amp; Paraswap for bridges; we choose the best bridge to move funds from one chain to another. Furthermore, since many bridges support a limited amount of tokens, we have DEXs on both sides of the bridges to swap before and after the bridge, thus facilitating any-2-any swaps across chains.</em>&#x201D;</p><h3 id="yad">YAD</h3><p>YAD, or Yet Another DeFi, aims to bridge the gaps in the DEX aggregator niche through a set of mechanics. It scrapes liquidity information from available sources and proposes the most efficient price for the quote, splits orders between available pools to reduce price impact, and allows users to limit acceptable slippage. Additionally, it scans different market prices and depths to offer the most optimized route possible for users&apos; trades.</p>]]></content:encoded></item><item><title><![CDATA[How does a DEX aggregator work?]]></title><description><![CDATA[In simple terms, a DEX aggregator is a decentralized application that offers some on-fire functionalities. The question is, what are these functionalities? Let’s analyze it together, starting with the basic process that a user goes through when using a DEX aggregator. ]]></description><link>https://yad.finance/blog/how-does-a-dex-aggregator-work/</link><guid isPermaLink="false">63f8b305e0f6070001e6652c</guid><category><![CDATA[Education]]></category><dc:creator><![CDATA[YetAnotherDeFi]]></dc:creator><pubDate>Fri, 24 Feb 2023 12:55:12 GMT</pubDate><media:content url="https://yad.finance/blog/content/images/2023/08/4--1-.jpeg" medium="image"/><content:encoded><![CDATA[<img src="https://yad.finance/blog/content/images/2023/08/4--1-.jpeg" alt="How does a DEX aggregator work?"><p><em><strong>&#x201C;What are DEX aggregators,&#x201D; you ask? Learn the basics in our <a href="https://yad.finance/blog/what-are-dex-aggregators/">previous article</a>!</strong></em></p><ol><li>A user opens their browser and navigates to the DEX aggregator&#x2019;s website.</li><li>There, they are presented with a swap box where they can enter the tokens they wish to buy and sell, as well as the trade amount.</li><li>The swap box displays the most profitable route to trade the specified tokens.</li><li>And the user clicks the swap button, signs the transaction with their MetaMask wallet and, after a short time, receives the target token in their wallet.</li></ol><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://lh5.googleusercontent.com/lUrcfTwmm_wC4ji_iDbZWMojx7k9-mZmpqsY-aRSx_9mASi2_XpSGoSg3fy4dz5bPjjvxeOd24WX9czsxdp08MYfRHDoSRtJBu0emqTCOZgro1nWrnwePLXA_3oQoXsZ8zohEco2aK5Mp1lTtQK5Z4g" class="kg-image" alt="How does a DEX aggregator work?" loading="lazy" width="624" height="391"><figcaption><em>YAD widget allows swaps for 3,500 tokens across six dominant blockchains</em></figcaption></figure><p>Magic? Technological magic, which means that there&#x2019;s certainly a way to deconstruct it! So, let&#x2019;s try digging a little deeper!</p><p>A typical DEX aggregator consists of three major parts: the frontend, smart contracts, and backend. </p><figure class="kg-card kg-image-card"><img src="https://yad.finance/blog/content/images/2023/03/router-architecture.png" class="kg-image" alt="How does a DEX aggregator work?" loading="lazy" width="2000" height="1250" srcset="https://yad.finance/blog/content/images/size/w600/2023/03/router-architecture.png 600w, https://yad.finance/blog/content/images/size/w1000/2023/03/router-architecture.png 1000w, https://yad.finance/blog/content/images/size/w1600/2023/03/router-architecture.png 1600w, https://yad.finance/blog/content/images/2023/03/router-architecture.png 2400w" sizes="(min-width: 720px) 720px"></figure><ol><li>The frontend architecture of such a router is normally a two-part system consisting of the service&#x2019;s website and the MetaMask wallet. <br></li><li>Next comes the router itself, which builds optimized routes. The router is a crucial component that searches for liquidity pools with the highest total value locked and splits the order, &#x201C;multihopping&#x201D; (i.e., swaping to other tokens along the way) when it is more efficient. <br></li><li>Finally, smart contracts execute the transactions in accordance with the calculated route. The smart contracts integrated into the DEX aggregator&#x2019;s architecture are responsible for implementing the order&#x2019;s execution logic.</li></ol><p>There is the option to build a frontend-only DEX aggregator that pulls quotes from the smart contracts, which would make it a truly decentralized solution. However, a router designed without a backend would likely operate at a pretty sluggish pace and wouldn&#x2019;t be able to suggest the best rate possible.</p><p>With all this in mind, let&#x2019;s look behind the scenes at exactly what happens when you push the swap button.</p><p><strong>Step 1 </strong></p><p>On the aggregator&#x2019;s website, a user accesses a swap box and enters the tokens to buy and to sell. Regardless of the service (e.g., 1inch, Matcha, or YAD), once they enter the limits for slippage tolerance, gas price, and the buy/sell token amount, the swap box will return the exchange rate and transaction cost. &#xA0;</p><p><strong>Step 2 </strong></p><p>As soon as the user starts interacting with the swap box, their browser builds a request and sends it to the server. This server typically stores the aggregator&apos;s backend as well as a constantly updating snapshot of the blockchain. At regular intervals (say, every 10 seconds), the API calculates the optimal route and returns it to the user&#x2019;s swap box. </p><p><strong>Step 3</strong></p><p>Once the optimal route has been selected, everything is ready for the swap. When the user pushes the &#x201C;Swap&#x201D; button, the frontend sends a request to sign the transaction to the user&#x2019;s wallet. The user sees the request to sign the transaction in their wallet (it can be any non-custodial wallet like TrustWallet or Metamask), verifies the details to make sure they are signing the right transaction and interacting with the right smart contract, and signs. After the user&#x2019;s consent has been granted, the wallet sends the transaction to the mempool to be validated and included in one of the next blocks. From here on the user can only wait for the result. If the swap is successfully executed, the desired tokens will appear in the user&#x2019;s wallet. However, if, for some reason, the swap can not be executed on the conditions approved, the smart contract will revert the sent tokens and return them back to the user&#x2019;s wallet. </p><p><em><strong>So, how can you choose the DEX aggregator best-suited for your needs? Check out the <a href="https://yad.finance/blog/dex-aggregators-comparison/">next article</a> in the series to find out!</strong></em><br><br></p>]]></content:encoded></item><item><title><![CDATA[What are DEX Aggregators?]]></title><description><![CDATA[<p>Every time a major crypto exchange experiences a hack, there is an inevitable decline in trust toward centralized platforms. The collapse of FTX, one of the industry&#x2019;s most highly regarded trading platforms that had raised <a href="https://www.sec.gov/news/press-release/2022-219?ref=yad.finance">billions</a> from investors and registered over <a href="https://web.archive.org/web/20220118150104/https://blog.ftx.com/blog/end-of-year-2021/">five million users</a> by the beginning of</p>]]></description><link>https://yad.finance/blog/what-are-dex-aggregators/</link><guid isPermaLink="false">63ecab8fe0f6070001e664ff</guid><category><![CDATA[Education]]></category><dc:creator><![CDATA[YetAnotherDeFi]]></dc:creator><pubDate>Thu, 16 Feb 2023 11:45:29 GMT</pubDate><media:content url="https://yad.finance/blog/content/images/2023/08/7--2-.jpeg" medium="image"/><content:encoded><![CDATA[<img src="https://yad.finance/blog/content/images/2023/08/7--2-.jpeg" alt="What are DEX Aggregators?"><p>Every time a major crypto exchange experiences a hack, there is an inevitable decline in trust toward centralized platforms. The collapse of FTX, one of the industry&#x2019;s most highly regarded trading platforms that had raised <a href="https://www.sec.gov/news/press-release/2022-219?ref=yad.finance">billions</a> from investors and registered over <a href="https://web.archive.org/web/20220118150104/https://blog.ftx.com/blog/end-of-year-2021/">five million users</a> by the beginning of 2022, revealed financial mishandling so massive that the total cost to investors and customers has not yet been determined. However, fleeing from centralized exchanges (CEX) to decentralized finance (DeFi) in the aftermath of these incidents can end up being just as traumatizing.</p><p>Ex-CEX users often face daunting challenges once outside their familiar environment and as they first encounter the diversity of new ways to invest. DEXes, L2 blockchains, cross-chain aggregators, multichain aggregators, cross-chain bridges... Where do you even start? </p><figure class="kg-card kg-image-card"><img src="https://yad.finance/blog/content/images/2023/02/1-image-x2--1-.png" class="kg-image" alt="What are DEX Aggregators?" loading="lazy" width="2000" height="1250" srcset="https://yad.finance/blog/content/images/size/w600/2023/02/1-image-x2--1-.png 600w, https://yad.finance/blog/content/images/size/w1000/2023/02/1-image-x2--1-.png 1000w, https://yad.finance/blog/content/images/size/w1600/2023/02/1-image-x2--1-.png 1600w, https://yad.finance/blog/content/images/2023/02/1-image-x2--1-.png 2400w" sizes="(min-width: 720px) 720px"></figure><p>With over <a href="https://dappradar.com/rankings/category/exchanges/15?ref=yad.finance">300 DEXes</a> to choose from, it is easy to get overwhelmed as you try to research which offers the best trading opportunities. The fact that DEXes differ from CEXes in terms of functionality and user interfaces only makes it more difficult to get started. </p><p>While a magic pill doesn&#x2019;t exist, there should be a single comprehensive DeFi service that provides a user-friendly interface and at least a slightly more welcoming experience for users entering the DeFi space. Several development teams in this niche of the industry have been working hard to bring the entirety of DeFi&#x2019;s liquidity under a common standard that is accessible to the vast majority of the crypto traders. And as a result of their efforts, anyone with a self-custody wallet can now use the power and convenience of DEX aggregators.</p><h2 id="what-are-dex-aggregators">What are DEX aggregators?</h2><p>A DEX aggregator is a decentralized application that scrapes the liquidity of many various DEXes across the DeFi landscape to provide traders optimal gas fees, swap rates, slippage and overall returns, outperforming any individual DEX. Let&#x2019;s dive deeper into the different types of DEX aggregators currently available.</p><p><strong>Multichain DEX aggregators</strong> like 1inch, Matcha, and Paraswap bring together the liquidity pools of DEXes across various blockchains. However, these aggregators allow their users to swap tokens only within a single blockchain &#x2014; e.g., on Polygon, or on Optimism, or on Ethereum, etc. Those using a multichain aggregator often need to move from one chain to another in order to swap tokens on their native chain. Despite this limitation, many users find the UI of multichain DEX aggregators to be user-friendly. &#xA0;</p><p><strong>Cross-chain DEX aggregators, </strong>such as Transferto.xyz on the Li.fi protocol, as well as Rubic and Rango, also unite DEXes&#x2019; liquidity pools across various blockchains. They are distinct, however, from multichain DEX aggregators in that they allow users to directly swap tokens originally minted on one chain for tokens on another chain without additional steps &#x2014; which could be incredibly helpful for some users&#x2019; trading strategy.</p><p>So, which of these innovations is better? Well, it turns out there are arguments for and against both. Ethereum co-founder Vitalik Buterin, for example, has <a href="https://old.reddit.com/r/ethereum/comments/rwojtk/ama_we_are_the_efs_research_team_pt_7_07_january/hrngyk8/?ref=yad.finance">expressed</a> his view on the matter, stating that cross-chain bridges present greater risks when compared to multichain solutions. </p><p>&#x201C;<em>Even if there&apos;s a perfect ZK-SNARK-based bridge that fully validates consensus, it&apos;s still vulnerable to theft through 51% attacks</em>,&#x201D; he said. &#xA0; </p><p>Despite Vitalik&#x2019;s concerns, the market is looking for solutions that connect the disparate blockchain ecosystems of today. Emin G&#xFC;n Sirer, founder and CEO of Ava Labs, <a href="https://medium.com/avalancheavax/new-avalanche-bridge-builds-on-intel-sgx-technology-in-breakthrough-for-cross-chain-8f854e0e72e0?ref=yad.finance">believes</a> that the Avalanche Bridge represents a major leap in cross-chain technology, offering vastly improved experiences for both users and developers across the Avalanche community. Emin views it as a driving force for the next phase of growth on Avalanche, setting a new standard for secure and efficient cross-chain interoperability.</p><h2 id="why-do-dex-aggregators-exist">Why do DEX aggregators exist</h2><p>DEX aggregators are here to address a number of potential complications you come across, even if you aren&#x2019;t a trader. </p><figure class="kg-card kg-image-card"><img src="https://yad.finance/blog/content/images/2023/02/2-image-x2.png" class="kg-image" alt="What are DEX Aggregators?" loading="lazy" width="2000" height="1250" srcset="https://yad.finance/blog/content/images/size/w600/2023/02/2-image-x2.png 600w, https://yad.finance/blog/content/images/size/w1000/2023/02/2-image-x2.png 1000w, https://yad.finance/blog/content/images/size/w1600/2023/02/2-image-x2.png 1600w, https://yad.finance/blog/content/images/2023/02/2-image-x2.png 2400w" sizes="(min-width: 720px) 720px"></figure><p>Fragmented liquidity, market diversity, high transaction fees, security, and trust are all issues vexing the development of decentralized finance. In what way, though? </p><p>Let&#x2019;s begin with <strong>fragmented liquidity</strong>, which affects the price of the swap.</p><ul><li>When there is insufficient liquidity of a desired asset on an individual DEX, executing an order can result in a significant <strong>price impact</strong>. Using a DEX aggregator, however, liquidity of any specific asset is scrapped from different liquidity sources via splitting the order into smaller trades, thereby providing the best possible rate. </li><li>Due to the way DEXes are designed, swapping tokens is rarely instantaneous. Depending on the size of the trade and how much liquidity is utilized, the cost and speed of swaps can fluctuate. But this presents risk when trading in markets as volatile as crypto. During the time of the order&#x2019;s execution, the price of the asset might slip, resulting in <strong>negative slippage</strong> that the trader has to swallow. However, DEX aggregators allow you to set your slippage tolerance, which will work with all DEXes and revert the trade if the slippage exceeds your accepted limit.</li><li>Finally, there are always slight<strong> price differences</strong> throughout the market. It takes a human time and effort to manually check prices across different exchanges, but an aggregator is able to pull real-time data from hundreds of sources each second, resulting in the best price possible. As Anton Bukov, the CTO of 1inch, <a href="https://coinmarketcap.com/alexandria/article/what-are-dex-aggregators-a-deep-dive-by-1inch?ref=yad.finance">explained</a> in a blog post: </li></ul><p>&#x201C;<em>The first customers of 1inch were myself and Sergej. It was exhausting and inefficient to manually check for the best trading prices on all the DEXs &#x2014; &#xA0;Uniswap, Kyber, 0x &#x2014; before placing a trade. We &#x2014; like all crypto users &#x2014; needed an elegant algorithm to search every DEX for the best trading price and instantly deliver an optimized trade.</em>&#x201D; </p><p>In theory, the wider the variety of DEXes, the greater the <strong>market diversity</strong> and levels of healthy competition. Counterintuitively, this diversity may also be adding unnecessary steps to the trading process. DEX aggregators scrap liquidity from Uniswap V1, Uniswap V2, Balancer, Curve, SushiSwap, Chai, Kyber, Oasis, Mooniswap, Bancor, and many more platforms in search of the lowest fees and prices currently on the market, collecting and sorting the data so you don&#x2019;t have to.</p><p><strong>Transaction fees</strong> on many of the most widely used DEXes are often prohibitively expensive due to the high congestion on the Ethereum blockchain. The increased competition among network participants to get their data and functionality included in each block&#x2019;s limited capacity results in higher fees for every transaction. There are, of course, alternatives on different chains &#x2014; say, PancakeSwap on Binance Smart Chain (BSC) &#x2014; but exploring and migrating to another blockchain requires research and knowledge. Meanwhile, DEX aggregators are built in such a way that they automate nearly all the complicated processes for the benefit of the end user. </p><p>Because open-source code and transparent smart contracts are considered as standards in the DeFi community, many anonymous crypto entrepreneurs simply replicated or imitated existing projects on other various blockchains. Neither <strong>security</strong> audits nor transparent technologies have been sufficient to solve the problem. That said, it&#x2019;s worth acknowledging the uncertain security many experience while trading in a trustless environment. How can they really know whether an individual DEX can be trusted &#x2014; or even an individual an DEX aggregator, for that matter. But just as the collapse of a major CEX pushed those disaffected to explore new boundaries of trust and safety, further innovations like DEX aggregators are already on the next frontier testing what else is possible.</p><p><em><em><strong><strong>So, how </strong></strong></em><strong>does a </strong><em><strong><strong>DEX aggregator </strong></strong></em><strong>work</strong><em><strong><strong>? Check out the <a href="https://yad.finance/blog/how-does-a-dex-aggregator-work/">next article</a> in the series to find out!</strong></strong></em></em></p>]]></content:encoded></item><item><title><![CDATA[Introducing the YAD Widget — A Gateway to All DeFi Liquidity]]></title><description><![CDATA[<p><em>Bring DeFi liquidity to your product with ease using the YAD widget, now available for implementation. Whether you&#x2019;re a centralized crypto service or a web3 dApp, it seamlessly integrates the combined DeFi liquidity into your platform. Quick and simple to install with a preconfigured </em><a href="https://github.com/Yet-Another-Defi/YetAnotherDeFi-Swap-Widget?ref=yad.finance"><em>iFrame</em></a><em>, you can be</em></p>]]></description><link>https://yad.finance/blog/introducing-the-yad-widget-a-gateway-to-all-defi-liquidity/</link><guid isPermaLink="false">63e6258ce0f6070001e664b8</guid><category><![CDATA[Updates]]></category><dc:creator><![CDATA[YetAnotherDeFi]]></dc:creator><pubDate>Fri, 10 Feb 2023 11:24:52 GMT</pubDate><media:content url="https://yad.finance/blog/content/images/2023/08/8__1_.jpeg" medium="image"/><content:encoded><![CDATA[<img src="https://yad.finance/blog/content/images/2023/08/8__1_.jpeg" alt="Introducing the YAD Widget &#x2014; A Gateway to All DeFi Liquidity"><p><em>Bring DeFi liquidity to your product with ease using the YAD widget, now available for implementation. Whether you&#x2019;re a centralized crypto service or a web3 dApp, it seamlessly integrates the combined DeFi liquidity into your platform. Quick and simple to install with a preconfigured </em><a href="https://github.com/Yet-Another-Defi/YetAnotherDeFi-Swap-Widget?ref=yad.finance"><em>iFrame</em></a><em>, you can be up and running in a matter of minutes.</em></p><h2 id="what-is-the-yad-widget">What is the YAD widget?</h2><figure class="kg-card kg-image-card"><img src="https://yad.finance/blog/content/images/2023/03/1_image--1--1.png" class="kg-image" alt="Introducing the YAD Widget &#x2014; A Gateway to All DeFi Liquidity" loading="lazy" width="1200" height="750" srcset="https://yad.finance/blog/content/images/size/w600/2023/03/1_image--1--1.png 600w, https://yad.finance/blog/content/images/size/w1000/2023/03/1_image--1--1.png 1000w, https://yad.finance/blog/content/images/2023/03/1_image--1--1.png 1200w" sizes="(min-width: 720px) 720px"></figure><p>YetAnotherDeFi (aka YAD) is a next-generation multichain swap router that streamlines the process of buying and selling digital assets. Whether it&apos;s swapping in-game valuables, buying a specific coin for an NFT purchase, participating in farming and staking activities, or trading exotic tokens from a dApp, YAD aggregates liquidity from multiple blockchains to save your community time, energy, and money. With YAD&#x2019;s user-friendly widget, it&apos;s possible to accomplish all of web3 needs in one place, without having to switch between multiple providers. </p><h2 id="how-does-the-yad-widget-work">How does the YAD widget work?</h2><p>Using the widget is simple. First, pick the tokens you wish to buy or sell. Next, connect your wallet and adjust the slippage tolerance and gas price in the settings. Sign the transaction using MetaMask and the desired token will be in your wallet as soon as the transaction is confirmed on the blockchain.</p><figure class="kg-card kg-image-card"><img src="https://yad.finance/blog/content/images/2023/03/2_image--1--1.png" class="kg-image" alt="Introducing the YAD Widget &#x2014; A Gateway to All DeFi Liquidity" loading="lazy" width="1200" height="750" srcset="https://yad.finance/blog/content/images/size/w600/2023/03/2_image--1--1.png 600w, https://yad.finance/blog/content/images/size/w1000/2023/03/2_image--1--1.png 1000w, https://yad.finance/blog/content/images/2023/03/2_image--1--1.png 1200w" sizes="(min-width: 720px) 720px"></figure><p>An upcoming feature will allow you to customize all the colors in the widget, allowing it to better match the UI of your website, whether you use a dark or light theme. The layout can be either horizontal or vertical, depending on the appearance of your product. Additionally, the widget&#x2019;s orientation changes dynamically based on screen size: if the screen width is less than 1180 pixels, the widget will switch to a vertical layout, otherwise it will remain horizontal. </p><p>Want to offer your users the opportunity to swap on the go? YAD&#x2019;s user-friendly widget is compatible with any tablet or smartphone and designed to be flexible, allowing dApp developers to avoid the need to modify their code for different devices. The widget automatically adjusts its form to the device that your clients use to access the dApp. </p><p>To integrate the tool into a dApp, a frontend developer will simply need to add the preconfigured <a href="https://github.com/Yet-Another-Defi/YetAnotherDeFi-Swap-Widget?ref=yad.finance">iFrame</a> into the HTML code. The process should only take a few minutes to complete.</p><p>Ready to connect your dApp to a sea of DeFi liquidity, empowering your community to buy and sell tokens directly on your platform? Give us a shout at <a href="mailto:partners@yad.finance">partners@yad.finance</a> and let&#x2019;s talk!</p><hr><p>YetAnotherDeFi, or YAD, is a multichain swap router that aggregates liquidity across all dominant blockchains from all leading DeFi liquidity providers. YAD facilitates swaps of over 3,500 tokens across six blockchains at the best rate and with the lowest transaction cost. Our decentralized, non-custodial and censorship-resistant swap technology gives you the freedom to swap and send your tokens whenever and wherever you want, with no borders and no KYC limitations. The safety of the assets is ensured by the transparency YAD provides: we base our solutions on time-tested and open-source code that anyone can check and review.</p>]]></content:encoded></item></channel></rss>