<?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:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by zubayr khalid on Medium]]></title>
        <description><![CDATA[Stories by zubayr khalid on Medium]]></description>
        <link>https://medium.com/@write2zubayr?source=rss-eac97fb48ed1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*n72kMsaHUmLVLHCTwqNFSw.jpeg</url>
            <title>Stories by zubayr khalid on Medium</title>
            <link>https://medium.com/@write2zubayr?source=rss-eac97fb48ed1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:55:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@write2zubayr/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Zexe Introduction — Part I]]></title>
            <link>https://medium.com/@write2zubayr/zexe-introduction-part-i-114e02ea58bc?source=rss-eac97fb48ed1------2</link>
            <guid isPermaLink="false">https://medium.com/p/114e02ea58bc</guid>
            <category><![CDATA[zexe]]></category>
            <category><![CDATA[zcash]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <dc:creator><![CDATA[zubayr khalid]]></dc:creator>
            <pubDate>Thu, 05 Jan 2023 05:55:43 GMT</pubDate>
            <atom:updated>2023-01-05T05:55:43.981Z</atom:updated>
            <content:encoded><![CDATA[<h3>Zexe Introduction — Part I</h3><p>This documentation is based on the Zexe Whitepaper and the YouTube discussion on zexe <a href="https://www.youtube.com/watch?v=Yvc1zxaKFQY&amp;t=1409s">https://www.youtube.com/watch?v=Yvc1zxaKFQY&amp;t=1409s</a></p><p><strong>Traditional Ledger-Based Systems Drawback</strong></p><p>Since every node re-executes every transaction there are some specific problems.</p><p><strong>Scalability:</strong></p><p>Tx verification is bottlenecked by the weakest node</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*cP12mpl6jZltbBELZC8MjQ.png" /><figcaption>Bottlenecked by the weakest node (such as a mobile device)</figcaption></figure><p><strong>Privacy:</strong></p><p>The history of all events is available for anyone to read: reveals the payment’s sender, receiver, and amount</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*AatyavdMDtV9m9pqYjkByA.png" /><figcaption>Privacy Issue</figcaption></figure><p>If we concentrate on privacy:</p><p>Traditional ledger-based systems provide Data Privacy but it does not provide Function Privacy. In systems with multiple transition functions, this leakage is problematic. For example, in Ethereum separate ERC-20 “token” contracts, each representing a distinct currency on the Ethereum ledger.</p><p>For contracts individually adopting <strong>Zerocash:</strong></p><p>They hide details about token payments but corresponding transactions would still reveal which token was being exchanged.</p><p><strong>Zerocash Disadvantages:</strong></p><p>i) Inability to use user-defined functions.</p><p>ii) Zerocash achieves asset anonymity for a single asset in a single blockchain but not multiple assets in a single blockchain.</p><p>One solution would be to run Zerocash(A), Zerocash(B), Zerocash(C) separately for assets A, B, and C. But the problem i</p><p>A) Anonymity set is partitioned by assets.</p><p>B) Does not achieve the ability to trade between assets.</p><p><strong>Zexe:</strong></p><p>It is a ledger-based system that enables users to execute <strong>offline computations. It s</strong>ubsequently produces <strong>publicly-verifiable transactions </strong>that attest to the correctness of these offline executions.</p><p><strong>Privacy: </strong>Tx reveals no information about the offline computation, except (an upper bound on) the number of consumed inputs and created outputs.</p><p><strong>Succinctness</strong>: Tx can be validated in poly(k) time.</p><p><strong>Zexe Funtionality:</strong></p><p><strong>Extensibility</strong>: Users may execute arbitrary functions of their choice, without seeking anyone’s permission.</p><p><strong>Isolation</strong>: Functions of malicious users cannot interfere with the computations and data of honest users.</p><p><strong>Inter-Process Communication</strong>: Functions may exchange data with one another.</p><p><strong>The goal of Zexe:</strong></p><p>i) Providing <strong>DPC (Decentralized Private Computation) </strong>that</p><ul><li>Supports a programming model in which units of data (<strong>Records</strong>) are recorded.</li><li>Records are bound to scripts (<strong>arbitrary programs</strong>)</li><li>Scripts specify the conditions under which a record can be created and consumed.</li></ul><p>ii)<strong> Delegating transactions:</strong> Verifying succinct cryptographic proofs is cheap but producing them can be expensive.</p><p><strong>Delegable DPC:</strong> The user communicates to untrusted worker detail about the desired transaction — the worker produces the transaction, user authorizes it via a cheap computation.</p><p><strong>Basics of Zerocash:</strong></p><p>The <strong>commitment</strong> of a coin is published on the ledger when the coin is <strong>created</strong></p><p>Its <strong>serial number </strong>is published when the coin is <strong>consumed</strong>.</p><p>It is practically impossible to relate a coin’s commitment (after it was created) with its serial number (after it was consumed).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k91QTKE7ttJa3rHt93mrIA.png" /><figcaption>Zerocash</figcaption></figure><p><strong>Zerocash Transactions:</strong></p><p>The zero-knowledge proof to prove that</p><p>a) The old coins exist.</p><p>b) Serial numbers of the old coins are derived correctly.</p><p>c) New coin commitments are created correctly.</p><p>d) SUM(Value of old coins) = SUM(Value of new coins)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bN0mN3cRRCLQXiXx-yj-Jg.png" /><figcaption>zerocash transactions</figcaption></figure><p><strong>Conclusion:</strong></p><p>In the next part, we will discuss extending Zerocash to arbitrary data &amp; computation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=114e02ea58bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Defi Applications: A Short Overview]]></title>
            <link>https://coinsbench.com/defi-applications-a-short-overview-e0d44848f2d8?source=rss-eac97fb48ed1------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0d44848f2d8</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[dex]]></category>
            <category><![CDATA[uniswap]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[zubayr khalid]]></dc:creator>
            <pubDate>Sun, 04 Sep 2022 00:17:29 GMT</pubDate>
            <atom:updated>2022-09-05T12:36:15.074Z</atom:updated>
            <content:encoded><![CDATA[<p>I will assume that you have at least a slight understanding of what is Defi and what are its objectives in general. A small introduction can be:</p><blockquote>Decentralized finance (DeFi) is an emerging financial technology based on secure distributed ledgers similar to those used by cryptocurrencies. The system removes the control banks and institutions have on money, financial products, and financial services.</blockquote><h4>Different Defi applications:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Fk2GUEd8BgyeEMUa.jpg" /><figcaption>Courtesy from Ethereum.org</figcaption></figure><p><strong>MakerDAO:</strong></p><p><em>Main objective: lending and borrowing</em></p><p>It is one of the first Defi applications, developed in 2015 (before defi was a trend).</p><p>It allows users to mortgage collateral in exchange for <strong>DAI, </strong>one of the first stablecoins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*RrT3qDbGc5Pw22bowUAPig.png" /><figcaption>DAI is a stablecoin whose value circulates around USD</figcaption></figure><p>Besides the stablecoin DAI, MakerDAO also provides <strong>MKR </strong>token, which is an ERC-20 token native to the Maker Protocol.</p><p>As <a href="https://medium.com/@MakerDAO/what-is-mkr-e6915d5ca1b3">described</a> by the MakerDAO community,</p><blockquote>MKR is a utility token, governance token and recapitalization resource of the Maker system.</blockquote><p>MKR is actually responsible for creating DAI. As mentioned by the community:</p><p><strong><em>Utility token</em></strong><em>, MKR is required for paying the fees accrued on CDPs that have been used to generate Dai in the Maker system.</em></p><p>Besides, it is also a <strong>governance token</strong>, as MKR holders have the significant right of voting for the risk management and business logic of the Maker system. In other words, MKR token holders govern the Maker Protocol, the smart contracts that power Dai. This makes MakerDAO a decentralized autonomous organization (DAO).</p><p>MakerDAO is also responsible for the main currency trading of multiple Dapps, as over 400 apps and services have integrated Dai, including wallets.</p><p>A list of the Dapps can be seen from <a href="https://makerdao.com/en/ecosystem/">this link</a>.</p><p><strong>AAVE:</strong></p><p><em>Main objective: lending and borrowing</em></p><p>AAVE is perhaps the most important defi application in this specific category.</p><p>AAVE has more than 10 billion USD worth of assets locked in its protocol.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*xnkyq9OOP1UUMYLmiG0Mtw.png" /><figcaption>A statistic on AAVE</figcaption></figure><p>With AAVE, one can lock her asset and gain interest or can borrow an equivalent amount of different assets.</p><p>It is also possible to build applications over AAVE.</p><p>AAVE market is present in different networks such as <strong>Ethereum, Avalanche, Optimism, Fantom, Polygon, Arbitrum, and AMM.</strong></p><p>AAVE also provides decentralized finance.</p><p><strong>Compound:</strong></p><p><em>Main objective: lending and borrowing</em></p><p>The compound is another important defi application in this specific category.</p><p>This small statistic is enough to explain the influence of Compound in this category:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oJsy2EZvMgA_dz3cZ1UORQ.png" /><figcaption>At the time of writing, $950+m locked in the protocol</figcaption></figure><p>The compound is an algorithmic autonomous interest rate protocol that allows users to supply assets such as Ether, Bat or Tether and start making interest. These assets can also work as collateral for borrowing other assets.</p><p>Like MakerDAO, Compound also has decentralized governance:</p><blockquote>Compound is managed by a decentralized community of COMP token-holders and their delegates, who propose and vote on upgrades to the protocol.</blockquote><p><strong>SYNTHETIX:</strong></p><p><em>Main objective: derivatives</em></p><p>It is an application that provides the creation of synthetic assets, offering unique derivatives and exposure to real-world assets on the blockchain.</p><p>Synthetix is a software that allows users to mint new crypto assets that mimic both real-world assets (like the U.S. dollar) and <a href="https://www.kraken.com/en-gb/learn/what-is-cryptocurrency">c</a>rypto.</p><p>According to SYNTHETIX:</p><blockquote>Leveraging the Synthetix debt pool and our innovative liquidity framework, our traders are guaranteed to have some of the best price execution around, with little to no slippage and fills you can’t get elsewhere.</blockquote><p>In other words, Synthetix users do not need to trust a particular institution or person to manage the crypto assets they create.</p><p>Synthetic assets, or Synths, are assets voted into existence by the community and can come in the form of fiat currencies, cryptocurrencies, stocks, commodities and anything else with a price.</p><p>Users can also stake SNX in the protocol and enjoy weekly rewards.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*8bq2vkGX4TbZ3dk6pZr9mw.png" /><figcaption>A statistic on SYNTHETIX</figcaption></figure><p><strong>dYdX:</strong></p><p><em>Main objective: margin trading</em></p><p>As explained in the <a href="https://help.dydx.exchange/en/articles/3047379-introduction-and-overview#:~:text=dYdX%20is%20a%20leading%20decentralized,to%20trade%20with%20no%20intermediaries.">portal</a>:</p><p>dYdX is a leading decentralized exchange that currently supports perpetual trading. dYdX runs on smart contracts on the Ethereum blockchain, and allows users to trade with no intermediaries.</p><p>Like centralized finance, margin trading in dYdX refers to the practice of using borrowed funds.</p><p>It provides the method of trading assets using funds provided by a third party.</p><p>dYdX offers perpetual trading options for over 35 popular cryptocurrencies including Bitcoin (BTC), Ether (ETH), Dogecoin (DOGE), and Cardano (ADA). The main offered pairs are: BTC-USD, ETH-USD, and LINK-USD.</p><p>The portfolio can give a good understanding on the influence of dYdX in the specific field:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*-_z0bnorbiShU68fBGDvGQ.png" /><figcaption>From <a href="https://trade.dydx.exchange/portfolio/overview">https://trade.dydx.exchange/portfolio/overview</a></figcaption></figure><p><strong>Nexus Mutual:</strong></p><p><em>Main objective: Insurance</em></p><p>Nexus Mutual is an Ethereum-based platform that creates insurance products with community-driven management and financials. Nexus Mutual’s first product is Smart Contract Cover, which protects against smart contract vulnerabilities for smart contracts used on various decentralized finance (DeFi) platforms. (<a href="https://www.gemini.com/cryptopedia/nexus-mutual-blockchain-insurance-nxm-crypto">reference</a>)</p><p>Like any traditional insurance covered by banks, provides certain guarantees of compensation in return for a payment of a premium.</p><p><strong>ChainLink:</strong></p><p><em>Main objective: providing Oracle services</em></p><p>As explained in <a href="https://arbismart.com/blog/understanding-defi-oracles/#:~:text=DeFi%20oracles%20are%20a%203rd,as%20real%2Dtime%20asset%20prices.">this article</a>,</p><p>DeFi oracles are a 3rd party service enabling blockchain smart contracts to access external, real-world data.</p><p>The oracle gives the smart contract the capacity to access a live feed of information that is not on the blockchain, such as real-time asset prices. DeFi oracles are layers verifying and then relaying critical on-chain data to the smart contract.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*G9PvIJkSymEzLhCxQpKMdg.png" /><figcaption>the objective of Oracle services</figcaption></figure><p>Chainlink decentralized oracle networks provide tamper-proof inputs, outputs, and computations to support advanced smart contracts on any blockchain.</p><p>Chainlink is used in different other defi applications such as <strong>AAVE, SYNTHETIX, Compound, ENS, and Nexus Mutual.</strong></p><p>Some notable data provided by Chainlink are:</p><p>Market data, weather data, sports data, providing randomness, and also calling different APIs in smart contracts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*HDlZK-LY_kJ2yMJfKW3X7Q.png" /><figcaption>Market Cap of ChainLink</figcaption></figure><p><strong>Uniswap:</strong></p><p><em>Main objective: lending and borrowing, funding, trading</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*oFCIALpS5RC0giU-JmfLAA.png" /></figure><p>Uniswap is perhaps the most important defi application of all.</p><p>Uniswap was born out of an <a href="https://www.reddit.com/r/ethereum/comments/55m04x/lets_run_onchain_decentralized_exchanges_the_way/">idea proposed</a> in 2016 by Vitalik Buterin for a decentralized exchange (DEX) that would employ an on-chain automated market maker with certain unique characteristics. A year later Hayden Adams began working on turning this idea into a functional product. After receiving several grants as well as <strong>$100,000 from the Ethereum Foundation</strong>, Uniswap launched in November 2018.</p><p>As described by the Uniswap community:</p><p><em>It is a growing network of DeFi Apps where Developers, traders, and liquidity providers participate together in a financial marketplace that is open and accessible to all.</em></p><p><strong>Order Book Model</strong> is where buy and sell orders are presented in a list along with the total amount placed in each order. In order to make a successful trade using this system, a buy order has to be matched with a sell order on the opposite side of the order book for the same amount and price of an asset, and vice versa. For example, if you want to buy 20 ETH from an application which uses the order book model, there must be a seller present in the system ready to sell the exact amount (so 20 ETH).</p><p>The main problem with this type of system is liquidity, which in this context refers to the depth and number of orders there are on the order book at any given time. If there’s low liquidity, it means traders may not be able to fill their buy or sell orders.</p><p>Uniswap solves this issue by having the <strong>Liquidity Pool Based Model.</strong></p><p>In this model, incentivizing people trading on the exchange pool their money together to create a fund that can be used to execute all trades that take place on the platform.</p><p>For this objective, Uniswap is an <a href="https://www.coindesk.com/learn/2021/08/20/what-is-an-automated-market-maker/">automated market maker</a> (AMMs). An AMM is a protocol that uses liquidity pools to allow digital assets to be traded in an automated way rather than through a traditional market of buyers and sellers. Note that there are more AMMs other than Uniswap.</p><p>The statistic on the Uniswap portal is perhaps enough to show the influence of Uniswap in the whole Defi system:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*6na3h2xQUl-wmtU62UrKKw.png" /><figcaption>A statistic on Uniswap</figcaption></figure><p><strong>Conclusion:</strong></p><p>Such a small discussion on Uniswap is perhaps not enough and it does not provide enough information regarding the different features revolving around Uniswap. I will try to make a separate article on Uniswap (and AMM in general) in near future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0d44848f2d8" width="1" height="1" alt=""><hr><p><a href="https://coinsbench.com/defi-applications-a-short-overview-e0d44848f2d8">Defi Applications: A Short Overview</a> was originally published in <a href="https://coinsbench.com/">CoinsBench</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Solana Hack: A Brief Discussion]]></title>
            <link>https://medium.com/coinmonks/solana-hack-a-brief-discussion-ccb7371ca4f0?source=rss-eac97fb48ed1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccb7371ca4f0</guid>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[solana-network]]></category>
            <dc:creator><![CDATA[zubayr khalid]]></dc:creator>
            <pubDate>Mon, 15 Aug 2022 23:04:57 GMT</pubDate>
            <atom:updated>2022-08-16T08:12:39.243Z</atom:updated>
            <content:encoded><![CDATA[<p>August 3rd, 2022 morning was very different than many other mornings for many crypto enthusiasts and traders. The news that shocked the crypto world to its core was the Solana Hack. I personally got the news from popular instagram page <strong>Metav3rse </strong>(it was the first thing I was in the morning!!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vp4uAg9Wqf1yysLwPpRuqA.jpeg" /><figcaption>Post from Metav3rse on August 3rd</figcaption></figure><p>As per multiple reports, the attack actually started on August 2nd midnight and continued the whole night plus the next morning.</p><p>The news escallated quickly and people from all over the world, including popular figures in crypto world such as Emin Gun Sirer started to react.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*5Qn_OgBcGjMTlohg0rD9jQ.png" /><figcaption>A tweet from Emin Gun Sirer</figcaption></figure><p>It is not quite clear how many accounts were affected, for how long the attack continued and how much worth of crypto was stolen, as different sources provided different information. But all the information kind of indicated that around 8,000 solana wallets were affected and around $4m-$8m were stolen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*5UXK4iz2NW4jC4yFgGQwVA.png" /><figcaption>A post from OtterSec 1 day after the attack</figcaption></figure><p>The providers <strong>Phantom </strong>and <strong>Slope </strong>were hit the hardest while there was no news of attack on hardware wallets. This left suspection on the providers.</p><p>According to the Solana team, Slope is to blame for the attack. Slope is a mobile wallet. With it, users can store their Solanas on their cell phones. According to different sources, more than 1,400 Slope mobile wallets were affected.</p><blockquote>Slope said a vulnerability in its mobile wallet’s error-reporting program, Sentry, could “inadvertently log sensitive data” when the wallet app has an error.</blockquote><blockquote>Slope’s error logs transmitted to servers record the seed-phrases — the key to the cryptocurrency wallet — in an unencrypted way, which means anyone who can access the server could see that.</blockquote><p>Although according to Slope, all the log messages returning to the server are encrypted.</p><p>Phantom recently has reported that they have not found any vulnerability in their system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*i3E6sZhKBu3ofPjjpL8qOw.png" /><figcaption>A tweet from Phantom</figcaption></figure><p>Experts are still in a confusion regarding what actually led to the attack. Solana CEO Anatoly Yakovenko believes a <strong>“supply chain attack”</strong> is possible, affecting virtual wallets on Apple and Android phones.</p><p>Different experts have given different theories so far.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/1*irINotiu0mj8Vgpi4r5KcQ.png" /><figcaption>A thread on the possible way of the attack</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*MkSUIJPJjUyRNMnOHkunWQ.png" /><figcaption>Emin Gun Sirer has provided same theory as Solana CEO</figcaption></figure><p>While investigations are still going on, there are some things Solana crypto holders and others can do:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*TeA5-y1yteD35LfqxXCwyw.png" /><figcaption>A major ToDo</figcaption></figure><p>Any person can report a compromised wallet to the specific website for the sake of the investigation:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fsolanafoundation.typeform.com%2Fto%2FRxm8STIT%3Ftypeform-embed%3Doembed%26typeform-medium%3Dembed-oembed%26typeform-source%3Dadmin.typeform.com%26format%3Djson&amp;display_name=Typeform&amp;url=https%3A%2F%2Fsolanafoundation.typeform.com%2Fto%2FRxm8STIT&amp;image=https%3A%2F%2Fimages.typeform.com%2Fimages%2F2VWurKeiR4R7&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=typeform" width="900" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/82c38cdb0a78bcfb35195b2aa2f57f0b/href">https://medium.com/media/82c38cdb0a78bcfb35195b2aa2f57f0b/href</a></iframe><blockquote>Join Coinmonks<a href="https://t.me/coincodecap"> Telegram Channel</a> and<a href="https://www.youtube.com/c/coinmonks/videos"> Youtube Channel</a> learn about crypto trading and investing</blockquote><h3>Also, Read</h3><ul><li><a href="https://coincodecap.com/bookmap-review-2021-best-trading-software">Bookmap Review</a> |<a href="https://coincodecap.com/crypto-exchange-usa"> 5 Best Crypto Exchanges in the USA</a></li><li><a href="https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a">Crypto Trading bots</a> | <a href="https://coincodecap.com/coingate-review">CoinGate Review</a></li><li>The Best Crypto<a href="https://medium.com/coinmonks/hardware-wallets-dfa1211730c6"> Hardware wallet</a> |<a href="https://medium.com/coinmonks/bitbns-review-38256a07e161"> Bitbns Review</a></li><li><a href="https://coincodecap.com/crypto-exchange-in-singapore">10 Best Crypto Exchange in Singapore</a> |<a href="https://coincodecap.com/buy-axs-token"> Buy AXS</a></li><li><a href="https://coincodecap.com/red-dog-casino-review">Red Dog Casino Review</a> |<a href="https://coincodecap.com/swyftx-review"> Swyftx Review</a></li><li><a href="https://coincodecap.com/best-crypto-to-invest-in-india-in-2021">Best Crypto to Invest in India</a> |<a href="https://coincodecap.com/wazirx-p2p"> WazirX P2P</a> |<a href="https://coincodecap.com/hi-dollar-review"> Hi Dollar Review</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccb7371ca4f0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/solana-hack-a-brief-discussion-ccb7371ca4f0">Solana Hack: A Brief Discussion</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ETHS and ETHW: Results of a Potential Fork in Ethereum]]></title>
            <link>https://coinsbench.com/eths-and-ethw-results-of-a-potential-fork-in-ethereum-3d1523298b04?source=rss-eac97fb48ed1------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d1523298b04</guid>
            <category><![CDATA[beacon-chain]]></category>
            <category><![CDATA[eth]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[ethereum-merge]]></category>
            <dc:creator><![CDATA[zubayr khalid]]></dc:creator>
            <pubDate>Tue, 09 Aug 2022 19:36:26 GMT</pubDate>
            <atom:updated>2022-08-15T11:56:27.824Z</atom:updated>
            <content:encoded><![CDATA[<p>We are quite aware that Ethereum is on the verge of having its big upgrade: Ethereum Merge, also known as Eth2.0</p><p>In this event, Ethereum will shift from the <strong>Proof of Work</strong> consensus protocol to the <strong>Proof of Stake </strong>consensus protocol.</p><h4><strong>Why is it called “merge”?</strong></h4><p>For this, we will have to learn about something called <strong>Beacon Chain.</strong></p><p>Beacon chain is a chain separate from the Ethereum mainnet and runs side by side with the mainnet. It is basically a ledger of accounts that are responsible for conducting and coordinating the network <strong>stakers</strong>. Stakers are the nodes that will validate the POS blocks. The Beacon chain was launched in December 1st, 2020.</p><p>The idea of the merge is to combine the Beacon chain with the Ethereum mainnet (which currently uses POW consensus) and thus start using the POS protocol.</p><p>As mentioned in <a href="https://ethereum.org/en/upgrades/beacon-chain/#:~:text=The%20Beacon%20Chain%20is%20a,or%20handle%20smart%20contract%20interactions.">Ethereum.org</a>:</p><blockquote>…it will ‘merge’ the new consensus layer with the existing execution layer and stop the use of mining.</blockquote><blockquote>The Merge will have an immediate and profound impact on the carbon footprint of the Ethereum network. It also sets the stage for future scalability upgrades such as sharding.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*5-BlTKWIgyqWYBvl-A-Tbg.png" /><figcaption>Ethereum Merge between Mainnet and Beacon Chain</figcaption></figure><h4>Potential Fork and ETHS &amp; ETHW</h4><p><strong>Hard Fork </strong>happens when there is some major upgrades in a blockchain network and more than 50% members of the community agrees to go with the upgrade but the rest of the community decides to go with the current system. So two separate chains are created in the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*YXWRVq6CkaZhz6hcZTBD8g.png" /><figcaption>Hard fork and creating of multiple chains</figcaption></figure><p>One important example of hard fork in the Ethereum blcockahin is the fork back in 2016 when after the infamous <a href="https://www.coindesk.com/learn/2016/06/25/understanding-the-dao-attack/"><strong>DAO Hack</strong></a><strong> </strong>while the major part of the community decided to make some necessary changes in the network, the other part decided to go with the exiting network, thus creating a new coin <strong>Ethereum Classic.</strong></p><p>As mentioned earlier, the merge will depricate the POW consensus and bring in the POS consensus, a large part of the community has decided to stick with the original POW system. So bottom line is, this part of the community will not go with the main chain and will fork to a new chain.</p><p>Justin Sun, the founder of Tron network has recently supported the idea of the hard fork:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*A6hfRlOJCDUwFWwLReZohg.png" /><figcaption>Tweet from Justin Sun</figcaption></figure><p>If the hard fork actually succeeds then it will eventually create 2 different tokens:</p><blockquote>ETHS (ETH2, Ethereum PoS) represents the token for the new PoS (proof-of-stake) chain.</blockquote><blockquote>ETHW (ETH1, Ethereum PoW) represents the token for the PoW (proof-of-work) chain that will potentially continue to exist.</blockquote><p>Ethreum co-founder Vitalik Buterin, during a press conference in ETHSeoul, South Korea, has called people pushing for a hard fork of Ethereum to retain proof-of-work<a href="https://cryptoslate.com/vitalik-buterin-calls-out-ethw-hard-fork-proponents-as-trying-to-make-a-quick-buck/"><em> “simply trying to make a quick buck.”</em></a></p><p>He has also informed that the majority of the community understands the benefit of the merge and are backing it, while most people who want to keep proof-of-work are “outsiders” from the Ethereum ecosystem.</p><p>Generally there comes questions such as whethere the hard fork could cause issue with NFTs currently live in Ethereum blockchain. Vitalik has responded as, <em>“I foresee market confusion if that proof-of-work hard fork becomes something substantial.”</em></p><p>Vitalik has expressed, <em>“I’m sure there’s going to be problems… if they want to make a fork, it’s on them to mitigate those problems.”</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d1523298b04" width="1" height="1" alt=""><hr><p><a href="https://coinsbench.com/eths-and-ethw-results-of-a-potential-fork-in-ethereum-3d1523298b04">ETHS and ETHW: Results of a Potential Fork in Ethereum</a> was originally published in <a href="https://coinsbench.com/">CoinsBench</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Discussion on Bitcoin Script-II]]></title>
            <link>https://coinsbench.com/a-discussion-on-bitcoin-script-ii-780852f9947b?source=rss-eac97fb48ed1------2</link>
            <guid isPermaLink="false">https://medium.com/p/780852f9947b</guid>
            <category><![CDATA[bitcoincash]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[script]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[zubayr khalid]]></dc:creator>
            <pubDate>Sat, 16 Jul 2022 21:07:42 GMT</pubDate>
            <atom:updated>2022-08-19T11:53:27.003Z</atom:updated>
            <content:encoded><![CDATA[<p>Moving forward to our discussion on Bitcoin scripts, today we will talk about some real-world examples.</p><p>Feel free to go through the <a href="https://medium.com/@write2zubayr/a-discussion-on-bitcoin-script-i-a475b2f40aad">first document</a> in this thread.</p><p>Bitcoin scripts are mostly If else statements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*XlbBmbvht8HGWupWC_IR7w.png" /><figcaption>A simple demonstration of how bitcoin script works</figcaption></figure><blockquote>(condition) If</blockquote><blockquote>A</blockquote><blockquote>Else</blockquote><blockquote>B</blockquote><blockquote>Endif</blockquote><p>As you can see, unlike any other programming language, the condition is before the ‘if’ keyword.</p><p>The reality is most of the time the condition is not even in the locking script. Rather, the condition is given in the unlocking script, which along with the other scripts in the unlocking script, comes to the front during runtime.</p><p>The reason behind this weird setup is, that the locking script is basically immutable. So, for example, if we had something like:</p><blockquote>If (6 months passed)</blockquote><blockquote>&lt;do something&gt;</blockquote><blockquote>Else</blockquote><blockquote>&lt;do something else&gt;</blockquote><blockquote>Endif</blockquote><p>Then we are hardcoding the condition.</p><p>Therefore, the condition is given in the unlocking script, which allows the node which is going to unlock the batch of bitcoins can set up its own conditions.</p><p>But this is really not secure. For example,</p><blockquote>If we have the locking script:</blockquote><blockquote>If</blockquote><blockquote>Bob pubkey CHECKSIG</blockquote><blockquote>Else</blockquote><blockquote>Alice Pubkey CHECKSIG</blockquote><blockquote>Endif</blockquote><p>Bob or Alice can run their own part of the script by only passing True or False respectively.</p><p>There can be cases where we want to allow the batch of the bitcoins to be spent by a specific spender under a specific condition. Obviously, passing True or False is not making any good over here.</p><p>In this case we need to make a more sophisticated code.</p><p>For example,</p><blockquote>If</blockquote><blockquote>Bob pubkey CHECKSIGVERIFY</blockquote><blockquote>HASH160 &lt;BOBHASH&gt; EQUAL</blockquote><blockquote>Else</blockquote><blockquote>Alice pubkey CHECKSIG</blockquote><blockquote>Endif</blockquote><p>As we can see, since in the If statement we have CHECKSIGVERIFY, it basically works as a nested if statement.</p><p>Another example,</p><blockquote>If</blockquote><blockquote>If</blockquote><blockquote>2</blockquote><blockquote>Else</blockquote><blockquote>&lt;+ 30 days&gt; CHECKSEQUENCEVERIFY DROP</blockquote><blockquote>&lt;Alice pubkey&gt; CHECKSIGVERIFY</blockquote><blockquote>1</blockquote><blockquote>Endif</blockquote><blockquote>&lt;Bob pubkey&gt; &lt;Carl pubkey&gt; &lt;Donna pubkey&gt; 3 CHECKMULTISIG</blockquote><blockquote>Else</blockquote><blockquote>&lt;+90 days&gt; CHECKSEQUENCEVERIFY DROP</blockquote><blockquote>&lt;Alice pubkey&gt; CHECKSIG</blockquote><blockquote>Endif</blockquote><p>Here Bob, Carl, and Donna are partners in a company. And Alice is a lawyer who comes into the picture to provide a backup key when there is a key loss.</p><p>The script says, 2 out of 3 partners can sign in the multi-sig and spend the batch (the CHECKMULTISIG statement), unless more than 30 days has passed, in which case Alice and 1 of the partners can spend the batch. If 90 days have passed, then Alice can spend it without any of the partners.</p><p><strong>Conclusions: </strong>So this was all about our topic of discussion on Bitcoin scripts. Let me know in the comment or mail (write2zubayr@gmail.com) in case you have any questions/suggestions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=780852f9947b" width="1" height="1" alt=""><hr><p><a href="https://coinsbench.com/a-discussion-on-bitcoin-script-ii-780852f9947b">A Discussion on Bitcoin Script-II</a> was originally published in <a href="https://coinsbench.com/">CoinsBench</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Discussion on Bitcoin Script-I]]></title>
            <link>https://coinsbench.com/a-discussion-on-bitcoin-script-i-a475b2f40aad?source=rss-eac97fb48ed1------2</link>
            <guid isPermaLink="false">https://medium.com/p/a475b2f40aad</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[transactions]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[bitcoin-mining]]></category>
            <category><![CDATA[script]]></category>
            <dc:creator><![CDATA[zubayr khalid]]></dc:creator>
            <pubDate>Fri, 15 Jul 2022 01:39:31 GMT</pubDate>
            <atom:updated>2022-08-17T11:27:58.416Z</atom:updated>
            <content:encoded><![CDATA[<p>We do not talk about bitcoin scripts as much as smart contracts. I have seen that there is not much resources in the internet either (nowehee close to the number of resources we have on smart contracts). Its unfortunate, because not only bitcoin but many altcoins also use or have the possibility to use these scripts. Over the 2 posts I will talk about bitcoin scripts. I will try to cover most of the topics and hopefully you will have a good understanding on this script after you are done with both the posts.</p><p>Note: The discussion is based on 2 very good classes on bitcoin scripts available in YouTube:</p><p><a href="https://www.youtube.com/watch?v=6Fa04MnURhw&amp;t=3014s">https://www.youtube.com/watch?v=6Fa04MnURhw&amp;t=3014s</a></p><p><a href="https://www.youtube.com/watch?v=8FeAXjkmDcQ&amp;t=3143s">https://www.youtube.com/watch?v=8FeAXjkmDcQ&amp;t=3143s</a></p><p>So lets start!</p><p>Scripts are basically small programming language (stack-based).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/471/1*jA7pPUBbXME2ETkH8dr6dA.png" /></figure><p>Bitcoin Transaction: Unlock a batch of bitcoins, create a new batch of bitcoins, and put a lock on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/1*klD6PkhW_sV5M0hF6ojZ3Q.png" /></figure><p>When Alice wants to send Bob a batch of bitcoins, she unlocks her whole collection and sends Bob some of the Bitcoins.</p><p>To make sure that only Bob can unlock the new collection, Alice uses Bob’s public key to lock the new batch.</p><p>Bob, in order to spend his share of Bitcoins, must create a signature with his private key. The verifier checks the public key and the signature. If she finds that the signature is created with the same private key from which the public key is created, then she will confirm the verification.</p><p>If verification is successful, then the new batch will be unlocked and ready to be spent.</p><p><strong>Types of Locks:</strong></p><p>1. Pay to Pubkey</p><p>2. Pay to Pubkey Hash (most common)</p><p>3. Pay to Multisig</p><p>4. Pay to Script Hash</p><p><strong>Locking Script (script Pubkey):</strong> The code containing a mini programming language called script that creates the lock.</p><p><strong>Unlocking Script (scriptsig):</strong> When we need to unlock a batch of bitcoins and create a new batch from it, we need the unlocking script. This script requires the signature from the private key.</p><p><strong>Operators</strong>: Predefined functions. Example- CHECKSIG.</p><p>Script = Data + Operators</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*q64t06Df3Vn-OaapiMAYdA.png" /></figure><p>When comes to insert a transaction, verifiers take the locking script and unlocking script and check if it validates.</p><p>If there is a more complex transaction where there are lots of different inputs, they each will have their own locking and unlocking scripts. Each of these sub transactions must be valid for the whole transaction to be valid.</p><p>Running the Script:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*DwGdPZquguH4_dieZd_2Dw.png" /></figure><p>When a node gets a transaction, which has a locking script, unlocking script and operators, it will take the unlocking script and put it in the beginning of the script. Then it will try to run the transaction from left to right. It will use a STACK to store the data.</p><p>Any data that the node will encounter will be pushed on top of the stack.</p><p>In our current example, we will have:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/126/1*S-meLTJvsdq2yeihoWKskg.png" /></figure><p>Opcodes work a bit differently. It will pop one or more items, do some operations with them, and optionally push the result back on top of the stack.</p><p>CHECKSIG takes the 2 items from the stack by popping them one by one and checks if the public key and the signature comes from the same private key (using elliptic curve cryptography). If CHECKSIG is successful, it pushes 1 back to the stack.</p><p><strong>Pay to Pubkey (P2PK):</strong></p><p>Our previous example was based on Pay to Pubkey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/243/1*Lhrqxmaco9B14hKzy_L2-Q.png" /></figure><p><strong>Pay to Pubkey Hash (P2PKH):</strong></p><p>Public key is hashed, to have a smaller sized key and to keep privacy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*JWZXSv3GWtEd_63u68mgIg.png" /></figure><p>DUB: Pops the top element, duplicates it and pushes the element and the duplicate result back to the stack.</p><p>Hash160: Pop the top element, hashes it and push it back to the top of the stack.</p><p>If all goes well, we have our stack as this now:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/179/1*YkCUXXlYW_0dFk1wpdnNCA.png" /></figure><p>Next, we will just push the hashed key provided in the locking script to the top of the stack.</p><p>EQUALVERIFY: Pops 2 elements from the top, if equal, doesn’t push anything on the top.</p><p>Finally, we have CHECKSIG which is same as before.</p><p><strong>Pay to Multisig (P2MS):</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*jKrMTvC6Orrsa6Cpm9B0pg.png" /></figure><p>0= To cover up with a bug.</p><p>N = Total number of keys present.</p><p>M= Number of keys to be verified.</p><p>Note: public keys and the signatures must be in the same order.</p><p>CHECKMULTISIG: Pops the N, and then pops the next N elements of the stack; pops M and then pops the next M elements of the stack and then checks keys and signature in order.</p><p><strong>Pay to Script Hash (P2SH):</strong></p><p>More memory efficient than P2MS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*yfDb36XVhROC7oVSXWrNZA.png" /></figure><p>After the signatures, the opcodes are compact together in a serialize locking script.</p><p>· = Hash of the locking script -&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/1*sAJznTWb61lKsTkGquYnAw.png" /><figcaption>serialized locking script</figcaption></figure><p>So, after pushing on top of the stack, it will look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/263/1*mk2ecLiAAVjhxgQnDUa8lQ.png" /></figure><p>Next process is a bit different.</p><p>For the locking script, it will create a copy of the stack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/344/1*TGiODF83AXu95aAS93LklQ.png" /><figcaption>copy of the stack is created</figcaption></figure><p>HASH160: It will pop the serialize script from the main stack, hash it and put it back on top of the stack.</p><p>Next the * is pushed to the main stack.</p><p>Equal: Pops top 2 elements (the 2 *s), checks if they are equal. If so, pushes a 1 on top of the stack.</p><p>Next it will use the copy stack, it will pop the top of the stack (the serialized locking script), deserialize it and then run the copy stack just like P2MS (so pop N, pop next N elements, pop M, pop next M elements and check in order).</p><p>Special opcode: RETURN: to invalidate script.</p><p><strong>Conclusion: </strong>I hope it helped a bit. In the next section we will discuss about some real life scripts as examples.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a475b2f40aad" width="1" height="1" alt=""><hr><p><a href="https://coinsbench.com/a-discussion-on-bitcoin-script-i-a475b2f40aad">A Discussion on Bitcoin Script-I</a> was originally published in <a href="https://coinsbench.com/">CoinsBench</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DAO, DEX, DeFi: An Article about their Correlations- Part II]]></title>
            <link>https://medium.com/@write2zubayr/dao-dex-defi-an-article-about-their-correlations-part-ii-9d3a30b185e6?source=rss-eac97fb48ed1------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d3a30b185e6</guid>
            <category><![CDATA[dex]]></category>
            <category><![CDATA[metamask]]></category>
            <category><![CDATA[dao]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[binance]]></category>
            <dc:creator><![CDATA[zubayr khalid]]></dc:creator>
            <pubDate>Thu, 30 Jun 2022 23:05:47 GMT</pubDate>
            <atom:updated>2022-06-30T23:05:47.815Z</atom:updated>
            <content:encoded><![CDATA[<p>In this thread we are talking about DAOs, Defi and DEX.</p><p>If you haven’t gone through the DAO post, feel free to refer to the link:</p><p><a href="https://medium.com/@write2zubayr/dao-dex-defi-an-article-about-their-correlations-part-i-f4e6602eee06">DAO, DEX, DeFi: An Article about their Correlations- Part I</a></p><p><strong>Disclaimer: </strong>In this thread I am not talking every little detail about DAOs and Defi. Both of these topics are really vast, and it will require some serious conceptual stuff (I will probably put some other blog posts separately for these topics in future). This current thread is more about addressing some common confusions regarding DAOs and Defis, potraiting the big picture of DAOs and Defi, and finally showing the relation among DAO, DEX and DEfi.</p><p><strong>DEX:</strong></p><p>DEX or Decentralized Exchange is a protocol that allows applications to provide a peer-to-peer marketplace that can enable crypto traders to trade their coins in a decentralized medium.</p><p>Like any other blockchain based protocol, DEX also removes the need of a middleman, say the bank. No surprises there.</p><p>What’s interesting about DEX is that it allows user to control their own crypto assets, rather than putting them in a custody of some exchange application. This is why DEX is a <em>non-custorial </em>solution for crypto exchange.</p><p>A short example will make things clearer:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*COFZYe9Xs-LKlAajEP6uhQ.png" /><figcaption>Binance vs Metamask</figcaption></figure><p>Say you have 10 ETH in your Binance account and also more 10 ETH in your Metamask wallet. The difference between the 2 cases is that, your 10 ETH in your Binance wallet are really ‘in custody’ of Binance exchange. In case Binace gets hacked, or they simply stops ether exchange in their platform then there is pretty much nothing you can do.</p><p>On contrary, your 10 ETH in your Metamask wallet are actually yours, you can trade and withdraw anytime you want, and as long as you don’t share your wallet secret key or paraphase, your assets are secure.</p><p>So as we can see, its not just ‘decentralization’ in terms of removing a centralized middleman such as bank, but also decentralized in the sense that it allow you to hold your own coins.</p><p><strong>Defi:</strong></p><p>Defi or Decentralized Finance is a more general case of DEX. In other words we can say, DEX is a special use case of Defi.</p><p>The relation can be explained with a real world example.</p><p>Defi is more like blockchain representative of banks. Just like banks, in Defi one can store assets, trade them, exchange them with another assets, get interest, buy insurance for the assets (so pretty much anything a bank does). With DEX we talk about a specific part of Defi where we do the trading.</p><p><a href="https://uniswap.org/">Uniswap</a> is one of the first and most popular Defi applications. Binance is not a Defi solution, but the Binance community has developed their Defi counterpart called <a href="https://pancakeswap.finance/">Pancakeswap</a> which uses the BEP20 token, the token standard developed by Binance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*SFmzVzIVSCvxOx0i8wserw.png" /><figcaption>Binance and PancakeSwap</figcaption></figure><p><strong>Relation among DAO, Defi and DEX:</strong></p><p>If you made it this far then you probably already know that DEX is a special form of Defi.</p><p>Also, a Defi application can be a DAO (not necesserily though) in case the application values each user with same merit just like any DAO.</p><p>And we can all agree that Defi is a Dapp. And of course, from the part-I of this thread we have seen that DAO can itself be a proper Dapp as well (if its not just a communication medium).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*H7d-8zd3A7wwwAgxohS0cQ.png" /><figcaption>Dapp, DAO, Defi, DEX</figcaption></figure><p><strong>Conclusion: </strong>I have deliberately skipped a lot of technical parts related to DAO and Defi. Pretty soon I will create a new thread on Defi and Defi 2.0.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d3a30b185e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[First Public Statement from Celcius after the Pausing of Trading]]></title>
            <link>https://medium.com/@write2zubayr/first-public-statement-from-celcius-after-the-pausing-of-trading-c42c08ce4964?source=rss-eac97fb48ed1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c42c08ce4964</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[celsius-network]]></category>
            <dc:creator><![CDATA[zubayr khalid]]></dc:creator>
            <pubDate>Fri, 24 Jun 2022 00:17:05 GMT</pubDate>
            <atom:updated>2022-06-24T00:17:05.783Z</atom:updated>
            <content:encoded><![CDATA[<p>Just 3 days ago Celcius put an article regarding their ‘temporarily’ pausing of all sorts of trading of crypto within their platform.</p><p>The article was posted on <a href="https://blog.celsius.network/a-note-to-the-celsius-community-e5af1f5a7998">Medium</a>, while they also put a tweet on their <a href="https://twitter.com/CelsiusNetwork/status/1538673050991808512">Twitter</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*6vQzkx1t4gS88aH6X8-Hhw.png" /><figcaption>The article from Celcius</figcaption></figure><p>The whole article does not make any sense, not a single paragraph is related to the next one, no sign of any solution, while the whole thing basically being a waste of time.</p><p>Just saying, here is one tweet from the ex-president Donald Trump:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*kEsPr2b0uEiIG47Nc3NoFw.png" /><figcaption>does not make any sense and complete waste of time</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c42c08ce4964" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DAO, DEX, DeFi: An Article about their Correlations- Part I]]></title>
            <link>https://medium.com/@write2zubayr/dao-dex-defi-an-article-about-their-correlations-part-i-f4e6602eee06?source=rss-eac97fb48ed1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4e6602eee06</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[dao]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[decentralization]]></category>
            <dc:creator><![CDATA[zubayr khalid]]></dc:creator>
            <pubDate>Thu, 23 Jun 2022 17:46:08 GMT</pubDate>
            <atom:updated>2022-06-23T17:46:08.172Z</atom:updated>
            <content:encoded><![CDATA[<p>When it comes to DAO, DEX, and DeFi, almost all of us have many confusions. Different articles on the internet do not help much, as there is almost no article that talks about all the 3 topics and their correlations.</p><p>In this article, I will try to give a <strong>not-so-brief overview</strong> of the 3 concepts and the relations among themselves.</p><p><strong>DAO: </strong>Here are some definitions of DAO on the internet:</p><blockquote><em>cointelegraph</em>: A decentralized autonomous organization (DAO) is an entity with no central leadership. Decisions get made from the bottom-up, governed by a community organized around a specific set of rules enforced on a blockchain.</blockquote><blockquote>ethereum.org: Think of them like an internet-native business that’s collectively owned and managed by its members. They have built-in treasuries that no one has the authority to access without the approval of the group. Decisions are governed by proposals and voting to ensure everyone in the organization has a voice.</blockquote><blockquote>consensys.net: A DAO, or “Decentralized Autonomous Organization,” is a community-led entity with no central authority. It is fully autonomous and transparent: smart contracts lay the foundational rules, execute the agreed upon decisions, and at any point, proposals, voting, and even the very code itself can be publicly audited.</blockquote><p>Well, from all the definitions, a few things are clear:</p><p>i) DAO is a decentralized organization</p><p>ii) Any decision must be accepted by a majority of the members (in a voting system) in order for it to be implemented.</p><p>iii) A smart contract is defined that sets the fundamental rules of the organization.</p><p>iv) Every member of the organization has the right to vote.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*0LmnuYHdMg7Ja0rc.jpg" /><figcaption>Centralized Organization vs DAO</figcaption></figure><p>From all these definitions and the points, it seems like DAO is some sort of a <strong>Discord server </strong>that is managed by multiple members of the same right and they work together for the good sake of some project where every member has put some shares.</p><p>As a real-world example, we can think of a discord server (say <strong>CountryCup NFT</strong>) that includes all (or at least most) people holding a CountryCup NFT and they work together to make the NFT project more successful. Any decision such as when should be the next minting, giveaways, as well as complex topics such as how the CountryCup Metaverse should look like, can be shared by any existing member, and it must pass voting (getting a majority of the votes) in order for it to be accepted and implemented in the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*dROCE22zjgcJfnGVPuWvbQ.png" /><figcaption>The Communication Channel with Every Member has the Same Right</figcaption></figure><p>Though the example is somewhat correct, it does not necessarily mean that DAO must always be just a communication medium for stakeholders of a project to discuss how to proceed with their project. Different DAO maker applications do give the impression that DAO is just a communication medium. For example, the popular DAO maker application <a href="https://aragon.org/">Aragon</a> allows users to log into their portal with a crypto wallet and create the DAO. Aragon also allows users to create their own token for their DAO (members must buy the tokens in order to have voting rights), and users can also set parameters such as minimum how many votes are required for a decision to pass. The funds that are generated with the token sale can be implemented for the development of the project. <strong><em>It does sound like a Kickstarter campaign, with just one extra facility that all stakeholders will have the same weight as the project CEO.</em></strong></p><p>Well, DAO can be much more than just a communication channel. Rather, <strong>DAO can be itself an application.</strong> For example, if Aragon provides all its stakeholders the power to give ideas and any idea can be accepted providing it passes through a voting system, then Aragon is itself a DAO. In fact, Aragon actually is a DAO, with its own token called <strong>Aragon Network Token (ANT). </strong>Refer this <a href="https://andao.aragon.org/">link</a> to know more about Aragon DAO.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HD472wh1R7osrl_B3LnQjg.png" /><figcaption>Aragon DAO Structure</figcaption></figure><p>Another example can be if a <strong>decentralized multiplayer gaming application</strong> allows all its gamers to come up with new ideas and voting decides which idea will be accepted (maybe to determine a new level in the game), then the game also works as a DAO. Note that according to our new idea of DAO,<strong> the game does not necessarily need an external server for the gamers to communicate.</strong></p><p>___________________________________________________________________</p><p>Two more confusions come up with the idea of <strong>Tokens</strong> in DAO. <strong>Firstly</strong>, it is not always true that all the members must always have the ‘<strong><em>same right</em></strong>’ in the DAO. For example, there can be a scenario where in a DAO any member with ≥=200 tokens enjoys a voting weight that is 1.5 times more than the members with a number of tokens &lt;200.</p><p>The <strong>second confusion</strong> is that a DAO must always have some kind of token. Well, it’s not necessarily true. There can be a DAO where voting rights are defined by how much shares one possesses.</p><p>___________________________________________________________________</p><p>Another confusion that people come across regarding DAO is what is the <strong>role of the smart contract in a DAO</strong>. The confusion somewhat is due to the fact that people usually picture DAO as just a communication channel.</p><p>Actually, the smart contract has a huge role in DAO. It defines the parameters such as</p><h4>the minimum number of votes required for a decision to pass, as well as the minting and transfering of tokens. The smart contract decides the weight of tokens and finally it executes and stores the voting result in the mainnet ledger.</h4><p>Basically smart contract in every DAO is different from each other. It depends on what kind of features the developers want to be in the DAO (more precisely, what features should be in the blockchain and what kind of data should be stored in the immutable database).</p><p>For more information, refer to the <a href="https://moralis.io/dao-smart-contract-example-dao-guide/">smart contract for DAO</a> documentation by <strong>Moralis.</strong></p><p>_________________________________________________________________</p><p>The idea that we have got from this article is that DAO is not a simple communication and token selling medium. The true potential of DAO is not totally covered yet and there are many scopes for new developments.</p><p>The bottom line is, in case we go for the higher potential of DAO and consider it as an application itself, then it is basically a <a href="https://ethereum.org/en/dapps/"><strong>Decentralized Application or DApp</strong>.</a></p><p>In my next article I will explore the DEX and DeFi and will also discuss how all of DAO, DEX and DeFi can potentially be related.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4e6602eee06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Decentralization”: Expectation vs Reality]]></title>
            <link>https://medium.com/@write2zubayr/decentralization-expectation-vs-reality-6e86efce2ef3?source=rss-eac97fb48ed1------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e86efce2ef3</guid>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[decentralization]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[zubayr khalid]]></dc:creator>
            <pubDate>Sat, 18 Jun 2022 19:36:58 GMT</pubDate>
            <atom:updated>2022-06-18T19:36:58.657Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s go through the concept of <strong>decentralization </strong>one more time. According to Wikipedia:</p><blockquote><strong>Decentralization</strong> or <strong>decentralisation</strong> is the process by which the activities of an organization, particularly those regarding planning and decision making, are distributed or delegated away from a central, authoritative location or group</blockquote><p>Very simple, right? The key point is, that there is no central authority to govern an organization.</p><p><strong>Real-World Example:</strong></p><p>Let’s imagine our friends Anna and Maria have decided to organize a barbeque event in the school backyard.</p><p>Anna decided to design a flyer to inform their schoolmates.</p><p>Now, for the sake of understanding the difference between <strong>Centralization </strong>and <strong>Decentralization</strong>, let’s imagine 2 parallel universes with 2 different types of flyers.</p><p>Before going for the flyers, we must understand the reason behind the differences between the flyers (and thus arrangements) in the 2 universes.</p><p>i) In Universe #1 the area of the school backyard is limited. So it can only afford a maximum of 30 people at the same time. Whereas Universe #2 is more futuristic, where the area of the school backyard can be increased or decreased as per requirement.</p><p>ii) In Universe #1, Anna and Maria have already made arrangements (food, drinks, and sitting arrangements) for the exact 30 people. Since Universe#2 is more developed, Anna and Maria can make any number of arrangements as per demand.</p><p>iii) To add a little bit more spice, let’s imagine Anna and Maria from Universe #1 have decided to play only their favorite songs in the party, and no request will be taken. Whereas, Anna and Maria in Universe #2 are more flexible towards people’s feelings and they decided that anyone can play his/ her favorite songs.</p><p>Now let’s go through the 2 flyers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YovWCWPA3GUQq4fbJCo4dA.png" /><figcaption>Universe #1 Flyer</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wa0-0yaT4IMtpxF9MkwNkw.png" /><figcaption>Universe #2 Flyer</figcaption></figure><p>Now it’s quite obvious which party is gonna be more successful. But the bigger picture is, that <strong>Universe #1 creates a portrait of a centralized organization whereas Universe #2 describes a decentralized organization.</strong></p><p>Now let’s only concentrate on Universe #1 on the day of the event. Anna and Maria have decided that <strong><em>none of the 30 people who have attended the event can leave the party before it’s over. </em></strong>Pretty annoying right? Of course, people should be given the full right when they choose to leave. Maybe they have other things to do, worse, maybe the foods at the party are not good at all and there is a better party going on nearby!</p><p>The question is after the example was already quite explanatory about the difference between centralization and decentralization, why did I decide to add the last piece of example from Universe #1? Well, it has a big similarity with something that is going on right now.</p><p><strong>Universe #Us:</strong></p><p>We all are quite aware that now is not a good time for the overall crypto market. At the time of this writing, Bitcoin is around 17k EUR (with a downfall of 10%) and Ether is around 900 EUR (with a downfall of 13%).</p><p><strong>Celsius</strong>, the UK-based cryptocurrency trading platform, as reported on June 13th, has decided to ‘temporarily’ halt any kind of crypto trading (withdrawals, swap, and transfer)</p><p>In their<a href="https://blog.celsius.network/a-memo-to-the-celsius-community-59532a06ecc6"> latest blog report</a>, the platform has mentioned that</p><blockquote>Due to extreme market conditions, today we are announcing that Celsius is pausing all withdrawals, Swap, and transfers between accounts.</blockquote><p>Since Celsius exists because of all the crypto trading between its customers, do they have the right to act (or boss) as a centralized entity? A person in the crypto business should have full authority to trade whenever he wants, with whoever he wants and he can decide whenever he can leave after liquidating all his crypto (just like any one of the 30 participants in the Universe #1 party should have full rights to decide when he/ she wants to leave the party).</p><p>One big irony is that Celsius CEO Alex Mashinsky has publicly criticized banks for paying low interest rates to clients.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*DDH9kJXsK9aiRDOM4inBVw.png" /><figcaption>Alex Mashinsky’s way of criticizing banks</figcaption></figure><p>Well, it’s quite obvious that Bank of America does not stop trading US$ just because the $ value goes down!</p><p>The even bigger irony is, though Celsius claimed to put the platform ‘<em>in a better position to honor, over time, its withdrawal obligations’</em>, the pausing of all the trading only has led to more <a href="https://www.wsj.com/articles/celsius-is-crashing-and-crypto-investors-are-spooked-11655371801">collapsing of Celsius</a> and a bigger downfall of overall crypto. According to a <a href="https://www.wsj.com/articles/after-a-crazy-week-in-crypto-investors-wonder-whats-next-11655458203#:~:text=Crypto%20was%20all%20the%20rage,due%20to%20extreme%20market%20conditions.">report </a>from the Wall Street Journal:</p><blockquote>Prices for bitcoin and ether tumbled about 15% on Monday and continued to fall throughout the week, piling onto the decline that has plagued them all year.</blockquote><p>Different other major finance-based journals have also provided their thoughts and criticism regarding the matter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*t4KNZYKVi4gy8udkZfyrxw.png" /><figcaption>A report from The Guardian</figcaption></figure><p>Who will be accounted responsible?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e86efce2ef3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>