<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DEX Archives - My Crypto Guide — Crypto, Blockchain &amp; AI Media &amp; Education</title>
	<atom:link href="https://mycryptoguide.co/tag/dex/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Independent guides, lessons and tools to help you understand crypto safely.</description>
	<lastBuildDate>Wed, 10 Dec 2025 00:06:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://mycryptoguide.co/wp-content/uploads/2025/11/cropped-My-Crypto-Guide-32x32.jpg</url>
	<title>DEX Archives - My Crypto Guide — Crypto, Blockchain &amp; AI Media &amp; Education</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>A Beginners Guide to Decentralised Crypto Exchanges (DEXs)</title>
		<link>https://mycryptoguide.co/guide-to-decentralised-crypto-exchanges/</link>
		
		<dc:creator><![CDATA[My Crypto Guide]]></dc:creator>
		<pubDate>Fri, 05 Sep 2025 21:02:47 +0000</pubDate>
				<category><![CDATA[Blockchain Guides]]></category>
		<category><![CDATA[Blockchain]]></category>
		<category><![CDATA[Crypto Guides]]></category>
		<category><![CDATA[DEX]]></category>
		<guid isPermaLink="false">https://mycryptoguide.co/?p=6668</guid>

					<description><![CDATA[<p>Learn DEXs in plain English: what swaps are, how gas and slippage work, and simple safety steps so you can trade from your own wallet with confidence.</p>
<p>The post <a href="https://mycryptoguide.co/guide-to-decentralised-crypto-exchanges/">A Beginners Guide to Decentralised Crypto Exchanges (DEXs)</a> appeared first on <a href="https://mycryptoguide.co">My Crypto Guide — Crypto, Blockchain &amp; AI Media &amp; Education</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper">
<div class="vc_row wpb_row vc_row-fluid">
		<div class="wpb_column vc_column_container vc_col-sm-8"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_raw_code wpb_raw_html wpb_content_element" >
		<div class="wpb_wrapper">
			<!-- =====================
     SEO Block (pre-publish)
===================== -->
<!--
Title: Decentralised Exchanges (DEXs) Explained Simply | Crypto Guide
Slug: decentralised-exchanges-dexs-simple-guide
Meta Description: Decentralised exchanges (DEXs) explained in plain English. Learn how DEX swaps work, why people use them, common risks, and how to trade more safely.
WordPress Excerpt (140–160 chars):
Decentralised exchanges (DEXs) explained in plain English. See how swaps work, what can go wrong, and simple steps to trade more safely from your own wallet.

Primary Keyword: decentralised exchanges
Secondary Keywords: decentralised exchange dex, what is a dex, how dex works, dex trading explained, dex vs centralised exchange
-->

<!-- =========================================================
     My Crypto Guide — Decentralised Exchanges (DEXs): Simple Guide
     LOCKED STYLE:
     - id="mcg-blog" wrapper
     - Hero 1600×900 (no text overlay)
     - Under-hero Courses CTA (dark)
     - TOC (2-col via global CSS)
     - Mid-article Email CTA (Free Crypto Starter Pack)
     - Bottom Courses CTA (dark)
     - 3 Ledger banners (Large / Small / Large)
     - Wrap-up → Mini-FAQ → Bottom CTA
     - Internal links: Home, Crypto Education Hub, Blog, Blockchain hub
========================================================= -->

<section id="mcg-blog" style="--orange:#f7931a; --orange-2:#ffb347; background:#ffffff; color:#121212; padding:3.5rem 1.5rem; font-family:Arial,Helvetica,sans-serif; line-height:1.75; font-size:17px;">
  <div class="mcg-wrap" style="max-width:1250px; margin:0 auto;">

    <!-- ===== Locked base helpers (CTA + TOC + email) ===== -->
    <style>
      #mcg-blog h1,
      #mcg-blog h2,
      #mcg-blog h3{
        color:var(--orange);
        margin:1.2rem 0 .75rem;
        line-height:1.25;
      }
      #mcg-blog h1{ font-size:2.2rem; }
      #mcg-blog h2{ font-size:1.6rem; }
      #mcg-blog h3{ font-size:1.25rem; }
      #mcg-blog p{ color:#121212; margin:0 0 1rem; }
      #mcg-blog .lead{ color:#555; font-size:18px; }
      #mcg-blog hr{ border:0; height:1px; background:#eee; margin:1.75rem 0; }

      #mcg-blog a{
        color:#f7931a;
        font-weight:700;
        text-decoration:none;
      }
      #mcg-blog a:hover{
        text-decoration:underline;
      }

      #mcg-blog figure{ margin:0 0 1.5rem; }
      #mcg-blog figcaption{
        text-align:center;
        color:#777;
        font-size:.95rem;
        margin-top:.5rem;
      }

      /* Callouts */
      #mcg-blog .callout{
        background:#fafafa;
        border:1px solid #eee;
        border-radius:8px;
        padding:1rem 1.25rem;
        color:#333;
        margin:1.25rem 0;
      }
      #mcg-blog .callout strong{ color:#f7931a; }

      /* Simple CTA row (inline buttons) */
      #mcg-blog .cta-row{
        display:flex;
        flex-wrap:wrap;
        gap:1rem;
        margin:1rem 0 0;
      }
      #mcg-blog .btn-primary{
        display:inline-block;
        padding:.8rem 1.15rem;
        border-radius:999px;
        font-weight:700;
        text-decoration:none;
        background:linear-gradient(90deg,#f7931a,#ffb347);
        color:#111;
        box-shadow:0 6px 18px rgba(247,147,26,0.3);
      }
      #mcg-blog .btn-secondary{
        display:inline-block;
        padding:.8rem 1.15rem;
        border-radius:999px;
        font-weight:700;
        text-decoration:none;
        background:#fff;
        border:1px solid #ccc;
        color:#f7931a;
      }

      /* Wrap-up box */
      #mcg-blog .wrapup{
        background:#fff8f2;
        border:1px solid #f8d4a5;
        border-radius:12px;
        padding:1.25rem 1.35rem;
        box-shadow:0 6px 20px rgba(247,147,26,.08);
        margin-bottom:1.75rem;
      }

      /* Courses CTA (dark panel, top + bottom) */
      #mcg-blog .mcg-courses-cta{
        background:#0e1116;
        border:1px solid #1f2833;
        border-radius:12px;
        padding:1.75rem 1.85rem;
        margin:2rem 0;
        color:#e5ecf5;
      }
      #mcg-blog .mcg-courses-cta-inner{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:1.5rem;
        flex-wrap:wrap;
      }
      #mcg-blog .mcg-courses-cta-eyebrow{
        font-size:.85rem;
        letter-spacing:.12em;
        text-transform:uppercase;
        color:#9fb0c6;
        margin:0 0 .35rem;
      }
      #mcg-blog .mcg-courses-cta h2{
        color:#f7931a;
        margin:.1rem 0 .4rem;
      }
      #mcg-blog .mcg-courses-cta-line{
        height:2px;
        width:100%;
        background:linear-gradient(90deg,#f7931a,#ffb347);
        margin:.2rem 0 1rem;
      }
      #mcg-blog .mcg-courses-cta-copy{
        flex:1 1 260px;
        font-size:.98rem;
        color:#cfd7e3 !important;
      }
      #mcg-blog .mcg-courses-cta-copy p{
        color:#cfd7e3 !important;
      }
      #mcg-blog .mcg-courses-cta-copy a{
        color:#f7931a !important;
      }
      #mcg-blog .mcg-courses-cta-btn-wrap{
        flex:0 0 auto;
      }
      #mcg-blog .mcg-courses-cta-btn-wrap a{
        display:inline-block;
        padding:.9rem 1.4rem;
        border-radius:999px;
        background:#f7931a !important;
        color:#111111 !important;
        font-weight:700;
        text-decoration:none;
        border:none !important;
        box-shadow:0 8px 24px rgba(247,147,26,0.35);
        white-space:nowrap;
      }
      #mcg-blog .mcg-courses-cta-btn-wrap a:hover{
        opacity:.92;
      }

      /* Email signup CTA (Free Crypto Starter Pack) */
      #mcg-blog .mcg-email-signup{
        background:#0e1116;
        border:1px solid #1f2833;
        border-radius:12px;
        padding:1.85rem 1.9rem;
        margin:2.25rem 0;
        color:#e5ecf5;
      }
      #mcg-blog .mcg-email-inner{
        display:flex;
        flex-wrap:wrap;
        gap:1.75rem;
        align-items:flex-start;
      }
      #mcg-blog .mcg-email-copy{
        flex:1 1 260px;
      }
      #mcg-blog .mcg-email-copy h2{
        color:#f7931a;
        margin:0 0 .35rem;
      }
      #mcg-blog .mcg-email-accent{
        width:72px;
        height:3px;
        background:linear-gradient(90deg,#f7931a,#ffb347);
        margin:0 0 1rem;
      }
      #mcg-blog .mcg-email-copy p,
      #mcg-blog .mcg-email-copy li{
        color:#cfd7e3 !important;
      }
      #mcg-blog .mcg-email-copy ul{
        margin:.2rem 0 0;
        padding-left:1.1rem;
        color:#cfd7e3;
        list-style:disc;
        font-size:.96rem;
      }
      #mcg-blog .mcg-email-copy li{
        margin:.2rem 0;
      }
      #mcg-blog .mcg-email-form{
        flex:1 1 260px;
      }
      #mcg-blog .mcg-email-form form{
        display:flex;
        flex-direction:column;
        gap:.7rem;
      }
      #mcg-blog .mcg-email-form input[type="email"]{
        padding:.9rem 1rem;
        border-radius:999px;
        border:1px solid #2b3645;
        background:#05070c;
        color:#f3f5f7;
        font-size:.98rem;
      }
      #mcg-blog .mcg-email-form button{
        padding:.9rem 1.4rem;
        border-radius:999px;
        border:0 !important;
        background:#f7931a !important;
        color:#111111 !important;
        font-weight:700;
        cursor:pointer;
        box-shadow:0 8px 24px rgba(247,147,26,0.35);
      }
      #mcg-blog .mcg-email-form button:hover{
        opacity:.94;
      }
      #mcg-blog .mcg-email-privacy{
        font-size:.86rem;
        color:#9fb0c6;
        margin-top:.35rem;
      }

      /* TOC skeleton (visual grid handled by global CSS) */
      #mcg-blog nav#toc{
        margin:1.75rem 0 1.25rem;
      }
      #mcg-blog nav#toc h2{
        color:#121212;
        font-size:1.2rem;
        margin:0 0 .75rem;
      }
      #mcg-blog nav#toc ul{
        list-style:none;
        margin:0;
        padding:0;
      }
      #mcg-blog nav#toc li{
        margin:.15rem 0;
      }
      #mcg-blog nav#toc a{
        color:#f7931a;
        font-weight:700;
        text-decoration:none;
      }
      #mcg-blog nav#toc a:hover{
        text-decoration:underline;
      }

      @media(max-width:768px){
        #mcg-blog .mcg-courses-cta-inner{
          flex-direction:column;
          align-items:flex-start;
        }
        #mcg-blog .mcg-courses-cta-btn-wrap{
          width:100%;
        }
        #mcg-blog .mcg-courses-cta-btn-wrap a{
          display:block;
          width:100%;
          text-align:center;
        }
        #mcg-blog .mcg-email-inner{
          flex-direction:column;
        }
      }
    </style>

    <!-- HERO -->
    <figure>
      <img fetchpriority="high" decoding="async" src="https://mycryptoguide.co/wp-content/uploads/2025/09/Dexs-hero.jpg"
           alt="Decentralised exchange swap on a blockchain interface"
           width="1600" height="900"
           style="width:100%; height:auto; border-radius:8px; display:block;">
      <figcaption>Decentralised exchanges (DEXs) let you swap tokens directly from your own wallet.</figcaption>
    </figure>

    <!-- Under-hero Courses CTA (Locked #1) -->
    <section class="mcg-courses-cta" aria-label="Free crypto courses">
      <div class="mcg-courses-cta-inner">
        <div class="mcg-courses-cta-copy">
          <div class="mcg-courses-cta-eyebrow">KEEP LEARNING</div>
          <h2>Free Crypto Courses</h2>
          <div class="mcg-courses-cta-line"></div>
          <p>Build a foundation before you invest. Explore three free courses that walk through Bitcoin, blockchains, DEXs, and more in plain English.</p>
          <p>You can start anytime from the <a href="https://mycryptoguide.co" target="_blank" rel="noopener">My Crypto Guide home page</a> or browse all paths in the <a href="https://mycryptoguide.co/crypto-education/" target="_blank" rel="noopener">Crypto Education Hub</a>.</p>
        </div>
        <div class="mcg-courses-cta-btn-wrap">
          <a href="https://mycryptoguide.co/crypto-courses/" target="_blank" rel="noopener">Explore the Free Crypto Courses</a>
        </div>
      </div>
    </section>

    <!-- TOC -->
    <nav id="toc" aria-label="Table of contents">
      <h2>📑 Table of Contents</h2>
      <ul>
        <li><a href="#dex-one-sentence">DEX in One Sentence</a></li>
        <li><a href="#why-use">Why People Use DEXs</a></li>
        <li><a href="#how-swap">How a DEX Swap Works</a></li>
        <li><a href="#risks">What Can Go Wrong (and How to Avoid It)</a></li>
        <li><a href="#fees">Fees, Slippage &amp; Price Impact</a></li>
        <li><a href="#quick-start">Quick Start: Your First Safe Swap</a></li>
        <li><a href="#glossary">Mini Glossary</a></li>
        <li><a href="#in-short">In Short: DEXs in Plain English</a></li>
        <li><a href="#wrap-up">Wrap-Up &amp; Next Steps</a></li>
      </ul>
    </nav>

    <!-- TITLE & INTRO -->
    <h1>Decentralised Exchanges (DEXs): The Easy, Plain-English Guide</h1>
    <p class="lead">
      A decentralised exchange (DEX) lets you swap one crypto for another straight from your wallet. No sign-ups, no bank holds.
      Think of it like a <strong>vending machine for tokens</strong> — you choose what you want, confirm the price, and a smart contract
      dispenses the new token back to you.
    </p>

    <hr>

    <!-- DEX in one sentence -->
    <h2 id="dex-one-sentence">DEX in One Sentence</h2>
    <p>
      A DEX is an app on a blockchain where you trade with a <strong>smart contract</strong> instead of a company — that’s why it’s called a
      decentralised exchange. If you’d like to zoom out and see where DEXs fit in the bigger picture, you can click here to explore our
      <a href="https://mycryptoguide.co/how-blockchains-work/" target="_blank" rel="noopener">Blockchain Guides hub</a>.
    </p>

    <!-- Ledger Banner — Large (1) -->
    <p style="margin:1.75rem 0; text-align:center;">
      <a href="https://shop.ledger.com/pages/ledger-nano-s-plus/?r=1cb27318106e">
        <img decoding="async" width="850" height="420" src="https://affiliate.ledger.com/image/850/420/Default">
      </a>
    </p>

    <!-- Why people use DEXs -->
    <h2 id="why-use">Why People Use DEXs</h2>
    <p>
      On a DEX you stay in control of your money (<strong>self-custody</strong>), there are usually lots of tokens available, and it’s open 24/7.
      There’s no account review, no “your withdrawal is pending”. Your wallet talks directly to the smart contracts.
    </p>
    <p>
      The trade-off is that you pay network fees (<strong>gas</strong>), prices can move quickly, and you have to double-check
      what you’re actually buying — there’s no help desk to fix mistakes.
    </p>

    <hr>

    <!-- How a swap works -->
    <h2 id="how-swap">How a DEX Swap Works (Like Buying a Snack)</h2>
    <p><strong>1) Connect your wallet.</strong> Your wallet is your “card”. The DEX never holds your money; it just asks permission.</p>
    <p><strong>2) Approve spending (one-time per token).</strong> You tell the contract it can use a limited amount of your token — this is a <strong>token approval</strong>.</p>
    <p><strong>3) See a quote.</strong> The DEX shows how much you’ll get after fees; this includes a tiny pool fee and network <strong>gas</strong>.</p>
    <p><strong>4) Confirm.</strong> You press <em>Swap</em> and sign in your wallet. Your request goes to the blockchain for processing.</p>
    <p><strong>5) Done.</strong> When the transaction confirms, the new token appears in your wallet. You can see the swap on a block explorer.</p>

    <div class="callout">
      <p><strong>Crypto Security Tip:</strong> Keep approvals small (only what you need). Later, <em>revoke</em> old approvals using a trusted revocation tool. This reduces risk if a site is hacked.</p>
    </div>

    <hr>

    <!-- Risks -->
    <h2 id="risks">What Can Go Wrong? (And How to Avoid It)</h2>
    <p><strong>Fake tokens.</strong> Anyone can create a token with a similar name. Always paste the official contract address from the project’s real website or documentation.</p>
    <p><strong>Thin liquidity.</strong> Small pools move the price a lot. If the “price impact” number looks high, trade a smaller amount or look for a pool with deeper liquidity.</p>
    <p><strong>Too-high slippage.</strong> <em>Slippage</em> is the max price move you’ll accept. Start low (for example 0.3–0.5%). Only raise it if your transaction keeps failing — and never jump to huge numbers without understanding why.</p>
    <p><strong>Phishing.</strong> Scammers run look-alike websites or fake wallet pop-ups. Bookmark the real DEX URL and avoid links from random DMs, comments, or ads.</p>

    <div class="callout">
      <p><strong>Crypto Security Tip:</strong> Use a <strong>hardware wallet</strong> for bigger balances and buy directly from the manufacturer. Always read the transaction details on the device screen before you approve.</p>
    </div>

    <hr>

    <!-- Fees, slippage, price impact -->
    <h2 id="fees">Fees, Slippage &amp; Price Impact — Plain English</h2>
    <p><strong>Gas:</strong> A small network payment that pays the computers running the blockchain. Busy times cost more; quiet times are cheaper.</p>
    <p><strong>Slippage:</strong> A safety guard. If the price moves more than your limit while the trade is processing, the swap cancels so you’re not badly overcharged.</p>
    <p><strong>Price Impact:</strong> How much <em>your trade size</em> nudges the price in the pool. Bigger trade + smaller pool = bigger price impact.</p>

    <!-- Ledger Banner — Small (2) -->
    <p style="margin:1.75rem 0; text-align:center;">
      <a href="https://shop.ledger.com/pages/ledger-nano-s-plus/?r=1cb27318106e">
        <img decoding="async" width="728" height="90" src="https://affiliate.ledger.com/image/728/90/Default">
      </a>
    </p>

    <!-- Mid-article Email CTA (Locked #2) -->
    <section class="mcg-email-signup" aria-label="Free Crypto Starter Pack">
      <div class="mcg-email-inner">
        <div class="mcg-email-copy">
          <h2>Free Crypto Starter Pack</h2>
          <div class="mcg-email-accent"></div>
          <p>Get the key guides, tools, and lessons you need to understand DEXs, wallets, and wider crypto — without the hype.</p>
          <ul>
            <li>5 core crypto guides in plain English</li>
            <li>Access to investment calculators to test scenarios</li>
            <li>Free beginner-friendly courses and micro lessons</li>
          </ul>
        </div>
        <div class="mcg-email-form">
          <form action="https://mycryptoguide.us12.list-manage.com/subscribe/post?u=41b84d8952ebb5ecfce3eba30&amp;id=53438d3c2b&amp;f_id=00b34ae0f0" method="post" target="_blank" novalidate>
            <input type="hidden" name="redirect" value="https://mycryptoguide.co/checklist-thanks/">
            <input type="hidden" name="tags" value="Lead: Security Checklist">
            <input type="email" name="EMAIL" placeholder="Enter your email to unlock the Starter Pack" required>
            <button type="submit">Unlock My Free Starter Pack</button>
          </form>
          <div class="mcg-email-privacy">No spam. Just independent crypto education you can actually understand.</div>
        </div>
      </div>
    </section>

    <hr>

    <!-- Quick start -->
    <h2 id="quick-start">Quick Start: Your First Safe Swap</h2>
    <p><strong>Step 1:</strong> Open a trusted DEX and connect your wallet. Double-check the URL and bookmark it.</p>
    <p><strong>Step 2:</strong> Paste the correct token <em>contract address</em> for both tokens (from the project’s site or docs).</p>
    <p><strong>Step 3:</strong> Start tiny with a test trade. Keep slippage low; raise it slightly only if the transaction keeps failing.</p>
    <p><strong>Step 4:</strong> Check the route summary, fees, and “price impact”. If anything looks odd, stop and re-check the token and pool.</p>
    <p><strong>Step 5:</strong> Confirm in your wallet and wait for the checkmark (confirmation). Then verify your new balance, ideally on both your wallet and a block explorer.</p>

    <div class="cta-row">
      <a class="btn-primary" href="https://mycryptoguide.co/crypto-courses/crypto-for-beginners-course/" target="_blank" rel="noopener">Start the Beginner Course (Free)</a>
      <a class="btn-secondary" href="https://shop.ledger.com/?r=1cb27318106e" target="_blank" rel="nofollow sponsored">Recommended: Ledger Hardware Wallet</a>
    </div>

    <!-- Ledger Banner — Large (3) -->
    <p style="margin:1.75rem 0; text-align:center;">
      <a href="https://shop.ledger.com/pages/ledger-nano-s-plus/?r=1cb27318106e">
        <img decoding="async" width="850" height="420" src="https://affiliate.ledger.com/image/850/420/Default">
      </a>
    </p>

    <hr>

    <!-- Mini glossary -->
    <h2 id="glossary">Mini Glossary (Plain English First)</h2>
    <p><strong>Wallet:</strong> Your crypto account and keys — the app that asks you to “sign”.</p>
    <p><strong>Smart contract:</strong> A small program on the blockchain that runs exactly as written when conditions are met.</p>
    <p><strong>Liquidity pool (AMM pool):</strong> A pot holding two tokens. Its maths sets the price as people trade.</p>
    <p><strong>Approval:</strong> Permission for a contract to spend a specific token from your wallet.</p>
    <p><strong>Gas fee:</strong> The fee paid to process your transaction on the network.</p>
    <p><strong>Slippage:</strong> Your allowed price wiggle room during the swap.</p>

    <hr>

    <!-- In short -->
    <h2 id="in-short">In Short: DEXs in Plain English</h2>
    <p>
      A DEX is a token-vending machine that lives on a blockchain. You connect your wallet, approve a small spend, check the quote,
      and press <em>Swap</em>. The smart contract exchanges your tokens in a pool and the new ones arrive in your wallet. You pay a
      small network fee, keep control of your keys, and avoid centralised withdrawal limits — but you must be extra careful about fake
      tokens, high slippage, and phishing sites.
    </p>

    <!-- Wrap-up -->
    <h2 id="wrap-up">Wrap-Up &amp; Next Steps</h2>
    <div class="wrapup">
      <p>
        Decentralised exchanges are one of the clearest examples of what blockchains make possible: <strong>peer-to-peer trading without a
        company in the middle</strong>. Once you understand approvals, gas, slippage, and liquidity pools, the experience becomes far less
        intimidating — and much more empowering.
      </p>
      <p>
        The key is to treat every DEX trade as a small, deliberate decision. Start with tiny test swaps, use hardware wallets for larger balances,
        and keep learning how the underlying tech works through guides like this and the resources in our
        <a href="https://mycryptoguide.co/crypto-education/" target="_blank" rel="noopener">Crypto Education Hub</a>.
      </p>
      <p>
        When you’re ready for the next step, you can explore how smart contracts and DEXs fit into the wider DeFi world by visiting the
        <a href="https://mycryptoguide.co/blog/" target="_blank" rel="noopener">My Crypto Guide blog</a> or returning to the
        <a href="https://mycryptoguide.co" target="_blank" rel="noopener">My Crypto Guide home page</a> to choose your next learning path.
      </p>
    </div>

    <!-- Mini-FAQ -->
    <section aria-label="Decentralised exchanges FAQ" style="margin:2rem 0 2.25rem;">
      <h2>Decentralised Exchanges – Quick FAQ</h2>

      <h3>Do I need an account to use a DEX?</h3>
      <p>
        No. Most DEXs don’t use accounts, logins, or KYC. You connect your wallet, approve a token, and trade directly with smart contracts.
        Your wallet is your identity — which is powerful, but also means you’re responsible for your own security.
      </p>

      <h3>Are DEXs cheaper than centralised exchanges?</h3>
      <p>
        Sometimes. You don’t pay deposit or withdrawal fees, but you do pay network gas fees and a small pool fee on each trade.
        On busy networks gas can be expensive, so it’s worth comparing total costs for your specific trade size.
      </p>

      <h3>Can I lose everything in one DEX trade?</h3>
      <p>
        You can lose money if you buy a worthless token, fall for a scam contract, or set extreme slippage, but a single swap can only move
        the specific tokens you approve and sign for. Keeping approvals small, double-checking addresses, and starting with tiny test trades
        greatly reduces the risk of a big loss in one go.
      </p>
    </section>

    <!-- Bottom Courses CTA (Locked #3) -->
    <section class="mcg-courses-cta" aria-label="Free crypto courses (bottom)">
      <div class="mcg-courses-cta-inner">
        <div class="mcg-courses-cta-copy">
          <div class="mcg-courses-cta-eyebrow">KEEP LEARNING</div>
          <h2>Free Crypto Courses</h2>
          <div class="mcg-courses-cta-line"></div>
          <p>Turn this DEX overview into a solid foundation. Our free courses start with the basics and build up to topics like wallets, exchanges, DeFi, and security.</p>
          <p>You can move through the lessons at your own pace and revisit them anytime as you keep exploring the crypto world.</p>
        </div>
        <div class="mcg-courses-cta-btn-wrap">
          <a href="https://mycryptoguide.co/crypto-courses/" target="_blank" rel="noopener">Explore the Free Crypto Courses</a>
        </div>
      </div>
    </section>

    <hr>

    <!-- Disclaimer -->
    <p style="font-size:.92rem; color:#666;">
      Disclaimer: This article is for educational purposes only and is not financial advice. Cryptoassets are volatile and risky.
      Always do your own research and never invest more than you can afford to lose.
    </p>

    <!-- Promo copy & link log (editorial use) -->
    <!--
      Internal links:
        - Home: https://mycryptoguide.co/
        - Crypto Education Hub: https://mycryptoguide.co/crypto-education/
        - Blockchain Guides hub: https://mycryptoguide.co/how-blockchains-work/
        - Blog hub: https://mycryptoguide.co/blog/
        - Beginner Course (free): https://mycryptoguide.co/crypto-courses/crypto-for-beginners-course/
      Affiliate links:
        - Ledger: https://shop.ledger.com/?r=1cb27318106e
    -->

  </div>
</section>

<!-- =========================================================
     JSON-LD (for head injection)
========================================================= -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "WebSite",
      "@id": "https://mycryptoguide.co/#website",
      "url": "https://mycryptoguide.co/",
      "name": "My Crypto Guide",
      "description": "Independent crypto, blockchain and AI education — learn how Bitcoin, blockchains, DEXs and smart contracts work, and how to use them safely.",
      "publisher": {
        "@type": "Organization",
        "@id": "https://mycryptoguide.co/#organization"
      },
      "potentialAction": {
        "@type": "SearchAction",
        "target": "https://mycryptoguide.co/?s={search_term_string}",
        "query-input": "required name=search_term_string"
      }
    },
    {
      "@type": "Organization",
      "@id": "https://mycryptoguide.co/#organization",
      "name": "My Crypto Guide",
      "url": "https://mycryptoguide.co/",
      "logo": {
        "@type": "ImageObject",
        "url": "https://mycryptoguide.co/wp-content/uploads/2025/07/ChatGPT-Image-Jul-21-2025-at-10_46_45-AM.png"
      }
    },
    {
      "@type": "BreadcrumbList",
      "@id": "https://mycryptoguide.co/decentralised-exchanges-dexs-simple-guide/#breadcrumb",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://mycryptoguide.co/"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Blockchain Guides",
          "item": "https://mycryptoguide.co/how-blockchains-work/"
        },
        {
          "@type": "ListItem",
          "position": 3,
          "name": "Decentralised Exchanges (DEXs) Explained Simply"
        }
      ]
    },
    {
      "@type": "Article",
      "@id": "https://mycryptoguide.co/decentralised-exchanges-dexs-simple-guide/#article",
      "headline": "Decentralised Exchanges (DEXs) Explained Simply",
      "description": "Decentralised exchanges (DEXs) explained in plain English. Learn how DEX swaps work, why people use them, common risks, and how to trade more safely.",
      "mainEntityOfPage": "https://mycryptoguide.co/decentralised-exchanges-dexs-simple-guide/",
      "image": [
        "https://mycryptoguide.co/wp-content/uploads/2025/09/Dexs-hero.jpg"
      ],
      "author": {
        "@type": "Person",
        "name": "Kieran Buckley",
        "description": "Founder of My Crypto Guide",
        "url": "https://mycryptoguide.co/"
      },
      "publisher": {
        "@id": "https://mycryptoguide.co/#organization"
      },
      "datePublished": "2025-01-01T00:00:00+00:00",
      "dateModified": "2025-01-01T00:00:00+00:00"
    },
    {
      "@type": "FAQPage",
      "@id": "https://mycryptoguide.co/decentralised-exchanges-dexs-simple-guide/#faq",
      "mainEntity": [
        {
          "@type": "Question",
          "name": "Do I need an account to use a decentralised exchange (DEX)?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "No. Most DEXs do not use traditional accounts, logins or KYC. You connect your wallet, approve a token, and trade directly with smart contracts. Your wallet acts as your identity, so you are responsible for your own security."
          }
        },
        {
          "@type": "Question",
          "name": "Are decentralised exchanges cheaper than centralised exchanges?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Sometimes. You avoid deposit and withdrawal fees, but you still pay network gas fees and a small pool fee on each trade. On busy networks gas can be expensive, so it is worth comparing the total cost for your specific trade size."
          }
        },
        {
          "@type": "Question",
          "name": "What are the main risks when using a DEX?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "The biggest risks include buying fake tokens, trading in low-liquidity pools, setting very high slippage, and connecting to phishing websites. You can reduce these risks by using official token contract addresses, keeping approvals small, starting with tiny test trades and bookmarking trusted DEX URLs."
          }
        }
      ]
    }
  ]
}
</script>

		</div>
	</div>
</div></div></div><div class="wpb_column vc_column_container vc_col-sm-4"><div class="vc_column-inner"><div class="wpb_wrapper"><div  class="wpb_widgetised_column wpb_content_element">
		<div class="wpb_wrapper">
			
			<div id="block-30" class="widget widget_block"><!-- =========================
  MCG Premium Blog Sidebar (About → BTC → Signup → Courses → Lab/Hub → Latest posts x8)
  Drop into a Custom HTML widget or WPBakery Raw HTML on blog templates
  ========================= -->
<aside id="mcg-sidebar" role="complementary" aria-label="Article sidebar">
  <div class="mcg-stack">

    <!-- BTC TIP (NEW - matches dark system, same size feel as About) -->
    <section class="mcg-card mcg-tip" aria-labelledby="mcg-tip-title">
      <div class="mcg-btc-header">
        <div class="mcg-btc-pill" aria-hidden="true">₿</div>
        <div>
          <h2 id="mcg-tip-title" class="mcg-title" style="color:var(--accent); margin-bottom:2px;">
            Support MCG with a Bitcoin Tip
          </h2>
          <p class="mcg-muted mcg-btc-caption" style="margin:0;">
            Help us keep the majority of our content free.
          </p>
        </div>
      </div>

      <div style="text-align:center; margin:12px 0 10px;">
        <img
          src="https://amn.shq.mybluehost.me/wp-content/uploads/2025/12/IMG_5116D7FBBD35-1.jpeg"
          alt="Bitcoin tip QR code"
          loading="lazy"
          decoding="async"
          style="width:180px; max-width:100%; height:auto; border-radius:12px; display:inline-block;"
        >
      </div>

      <button
        class="mcg-btn mcg-btn--ghost mcg-tip-copy"
        type="button"
        data-btc="bc1qufpdkyjtzeskrh9fjlrwnkamp076h7ygmlat0f"
        style="width:100%;"
      >
        Copy Bitcoin address
      </button>

      <p class="mcg-note" style="text-align:center; margin-top:10px;">
        Thank you — it genuinely helps.
      </p>
    </section>

    <!-- ABOUT (top) -->
    <section class="mcg-card mcg-about" aria-labelledby="mcg-about-title">
      <h2 id="mcg-about-title" class="mcg-title">About My Crypto Guide</h2>
      <p class="mcg-text">
        My Crypto Guide is an <strong>independent crypto education platform</strong>. We don’t run an exchange and we don’t tell you what to buy — we explain how crypto and Bitcoin actually work, in plain English, so you can make your own decisions.
      </p>
      <p class="mcg-text">
        Learn how to buy, move, and secure crypto step-by-step, then <em>practice safely</em> in the Crypto Tools Lab before you risk a dollar.
      </p>
      <ul class="mcg-tags">
        <li><span class="mcg-tag">Independent</span></li>
        <li><span class="mcg-tag">Education-only</span></li>
        <li><span class="mcg-tag">Security-first</span></li>
      </ul>
      <!-- Orange accent button → Home -->
      <a class="mcg-btn mcg-btn--accent" href="/">Find out more</a>
    </section>

    <!-- LIVE BITCOIN PRICE (BTC in AUD & USD) -->
    <section class="mcg-card mcg-btc" aria-labelledby="mcg-btc-title">
      <div class="mcg-btc-header">
        <div class="mcg-btc-pill">₿</div>
        <div>
          <h2 id="mcg-btc-title" class="mcg-title mcg-btc-title">Live Bitcoin Price</h2>
          <p class="mcg-muted mcg-btc-caption">For context only — not financial or investment advice.</p>
        </div>
      </div>

      <div class="mcg-btc-grid">
        <div class="mcg-btc-line">
          <span class="mcg-btc-label">BTC in AUD</span>
          <span class="mcg-btc-right">
            <span class="mcg-btc-price" id="mcg-btc-aud">–</span>
            <span class="mcg-btc-change" id="mcg-btc-aud-change">–</span>
          </span>
        </div>
        <div class="mcg-btc-line">
          <span class="mcg-btc-label">BTC in USD</span>
          <span class="mcg-btc-right">
            <span class="mcg-btc-price" id="mcg-btc-usd">–</span>
            <span class="mcg-btc-change" id="mcg-btc-usd-change">–</span>
          </span>
        </div>
      </div>

      <div class="mcg-btc-meta">
        <span class="mcg-btc-dot" aria-hidden="true"></span>
        <span class="mcg-btc-updated" id="mcg-btc-updated">Connecting to price feed…</span>
      </div>
    </section>

    <!-- EMAIL SIGNUP (premium card) -->
    <section class="mcg-card mcg-news" aria-labelledby="mcg-news-title">
      <h2 id="mcg-news-title" class="mcg-title">Hype-free crypto education</h2>
      <p class="mcg-muted">Short, practical emails that help you understand crypto — no price calls, no trading signals, no investment advice.</p>

      <!-- Replace the form below with your newsletter shortcode if you use a plugin.
           Keep the .mcg-form wrapper so styles apply automatically. -->
      <form class="mcg-form" action="/newsletter/" method="post" novalidate>
        <label class="sr-only" for="mcg-name">Your name</label>
        <input id="mcg-name" name="name" type="text" placeholder="Your name (optional)" autocomplete="name">
        <label class="sr-only" for="mcg-email">Email address</label>
        <input id="mcg-email" name="email" type="email" placeholder="Email address" required autocomplete="email">
        <button class="mcg-btn mcg-btn--accent" type="submit">Join the newsletter</button>
        <p class="mcg-legal">
          No spam. Unsubscribe anytime. Educational content only — <strong>not</strong> financial or investment advice.
          <a href="/privacy-policy/">Privacy</a>
        </p>
      </form>
    </section>

    <!-- COURSES (all FREE) -->
    <section class="mcg-card mcg-courses" aria-labelledby="mcg-courses-title">
      <h2 id="mcg-courses-title" class="mcg-title">Free Courses</h2>
      <ul class="mcg-list">
        <li>
          <a class="mcg-link" href="/crypto-courses/crypto-for-beginners-course/">
            <span class="mcg-link-main">Beginner</span>
            <span class="mcg-link-sub">Foundations, safety, first steps</span>
            <span class="mcg-chip">FREE</span>
          </a>
        </li>
        <li>
          <a class="mcg-link" href="/crypto-courses/intermediate-crypto-course/">
            <span class="mcg-link-main">Intermediate</span>
            <span class="mcg-link-sub">Wallets, sending, real-world skills</span>
            <span class="mcg-chip">FREE</span>
          </a>
        </li>
        <li>
          <a class="mcg-link" href="/crypto-courses/advanced-crypto-course/">
            <span class="mcg-link-main">Advanced</span>
            <span class="mcg-link-sub">Security &amp; advanced concepts</span>
            <span class="mcg-chip">FREE</span>
          </a>
        </li>
      </ul>
    </section>

    <!-- PRACTICE & EXPLORE -->
    <section class="mcg-card mcg-actions">
      <div class="mcg-actions-grid">
        <a class="mcg-btn mcg-btn--accent" href="/crypto-education/">Crypto Lab</a>
        <a class="mcg-btn mcg-btn--ghost"  href="/blog/">Media Hub</a>
      </div>
      <p class="mcg-note">
        Tip: start with the free courses, then try a small test transaction in the Lab tools before using meaningful funds.
      </p>
    </section>

    <!-- LATEST POSTS (auto via WP REST API) -->
    <section class="mcg-card mcg-recent" aria-labelledby="mcg-recent-title">
      <h2 id="mcg-recent-title" class="mcg-title">Latest from the blog</h2>
      <ul class="mcg-recent-list" id="mcg-recent-list">
        <!-- skeletons (auto-replaced) -->
        <li class="mcg-recent-skel"></li>
        <li class="mcg-recent-skel"></li>
        <li class="mcg-recent-skel"></li>
        <li class="mcg-recent-skel"></li>
        <li class="mcg-recent-skel"></li>
        <li class="mcg-recent-skel"></li>
        <li class="mcg-recent-skel"></li>
        <li class="mcg-recent-skel"></li>
      </ul>
    </section>

  </div>

  <style>
    /* ===== Tokens (scoped) ===== */
    #mcg-sidebar{
      --bg:#0f1319;
      --surface:#121722;
      --surface-2:#0f141c;
      --line:#1b2330;
      --ink:#eef2f6;
      --muted:#99a3b3;
      --accent:#f7931a;
      --radius:18px;
      --shadow:0 10px 28px rgba(0,0,0,.28);
      --sticky-top:84px; /* adjust for your sticky header */
      font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color:var(--ink);
      position:sticky; top:var(--sticky-top); z-index:2;
    }

    /* Layout */
    #mcg-sidebar .mcg-stack{display:flex; flex-direction:column; gap:18px;}
    #mcg-sidebar .mcg-card{
      background:
        radial-gradient(700px 220px at 0% -40%, rgba(247,147,26,.06), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)),
        var(--surface);
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:var(--shadow);
      padding:16px 14px;
    }
    #mcg-sidebar .mcg-title{
      margin:0 0 10px; font-size:1.05rem; font-weight:800; letter-spacing:.2px; color:var(--ink);
    }
    /* About heading in orange */
    #mcg-sidebar .mcg-about .mcg-title{ color:var(--accent); }

    #mcg-sidebar .mcg-text{margin:.2rem 0 .6rem; color:var(--ink); font-size:.98rem; line-height:1.6}
    #mcg-sidebar .mcg-muted{margin:0 0 10px; color:var(--muted); font-size:.95rem}
    #mcg-sidebar .mcg-note{margin:.6rem 0 0; color:var(--muted); font-size:.9rem}

    /* Tags */
    #mcg-sidebar .mcg-tags{display:flex; flex-wrap:wrap; gap:6px; margin:.4rem 0 .6rem; padding:0; list-style:none}
    #mcg-sidebar .mcg-tag{
      display:inline-block; padding:4px 10px; border-radius:999px; font-weight:800; font-size:.82rem;
      color:#cfe1ff; border:1px solid #2a3447; background:rgba(255,255,255,.02);
    }

    /* BTC CARD */
    #mcg-sidebar .mcg-btc{
      position:relative;
      overflow:hidden;
      background:
        radial-gradient(900px 280px at 0% -60%, rgba(247,147,26,.16), transparent 55%),
        linear-gradient(160deg, rgba(255,255,255,.02), rgba(255,255,255,0)),
        var(--surface-2);
      border-color:#2b364a;
    }
    #mcg-sidebar .mcg-btc::before{
      content:"";
      position:absolute;
      inset:-40%;
      background:radial-gradient(circle at 10% 0%, rgba(247,147,26,.15), transparent 55%);
      opacity:.9;
      mix-blend-mode:screen;
      pointer-events:none;
    }
    #mcg-sidebar .mcg-btc-header{
      position:relative;
      display:flex;
      align-items:center;
      gap:10px;
      margin-bottom:8px;
      z-index:1;
    }
    #mcg-sidebar .mcg-btc-title{color:var(--ink); margin-bottom:2px;}
    #mcg-sidebar .mcg-btc-caption{margin:0; font-size:.87rem;}

    #mcg-sidebar .mcg-btc-pill{
      width:32px; height:32px; border-radius:999px;
      display:flex; align-items:center; justify-content:center;
      background:radial-gradient(circle at 30% 0%, #ffe0a8, #f7931a);
      color:#111; font-weight:900; font-size:1.05rem;
      box-shadow:0 0 0 1px rgba(0,0,0,.4), 0 0 22px rgba(247,147,26,.65);
      flex-shrink:0;
    }

    #mcg-sidebar .mcg-btc-grid{
      position:relative;
      display:flex; flex-direction:column; gap:8px;
      margin-top:6px; padding-top:4px;
      z-index:1;
    }
    #mcg-sidebar .mcg-btc-line{
      display:flex; align-items:baseline; justify-content:space-between; gap:10px;
      padding:6px 8px;
      border-radius:12px;
      background:rgba(7,10,16,.7);
      border:1px solid rgba(255,255,255,.03);
    }
    #mcg-sidebar .mcg-btc-label{
      font-size:.82rem; text-transform:uppercase; letter-spacing:.12em;
      color:var(--muted);
      white-space:nowrap;
    }
    #mcg-sidebar .mcg-btc-right{
      display:flex; align-items:baseline; gap:6px; justify-content:flex-end; min-width:0;
    }
    #mcg-sidebar .mcg-btc-price{
      font-size:1.02rem; font-weight:800; white-space:nowrap;
    }
    #mcg-sidebar .mcg-btc-change{
      font-size:.86rem; color:var(--muted); white-space:nowrap;
    }
    #mcg-sidebar .mcg-btc-change--up{color:#19c37d;}
    #mcg-sidebar .mcg-btc-change--down{color:#ff5a5f;}

    #mcg-sidebar .mcg-btc-meta{
      position:relative;
      display:flex; align-items:center; gap:6px;
      margin-top:8px;
      font-size:.82rem; color:var(--muted);
      z-index:1;
    }
    #mcg-sidebar .mcg-btc-dot{
      width:7px; height:7px; border-radius:50%;
      background:#19c37d;
      box-shadow:0 0 0 0 rgba(25,195,125,.7);
      animation:mcg-btc-pulse 1.4s infinite;
      flex-shrink:0;
    }
    #mcg-sidebar .mcg-btc-updated{white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

    @keyframes mcg-btc-pulse{
      0%{transform:scale(1); box-shadow:0 0 0 0 rgba(25,195,125,.7);}
      70%{transform:scale(1.25); box-shadow:0 0 0 8px rgba(25,195,125,0);}
      100%{transform:scale(1); box-shadow:0 0 0 0 rgba(25,195,125,0);}
    }

    /* Form */
    #mcg-sidebar .mcg-form{display:grid; gap:10px; margin-top:8px}
    #mcg-sidebar .mcg-form input{
      width:100%; padding:12px 12px; border-radius:12px;
      border:1px solid var(--line); background:var(--surface-2); color:var(--ink); outline:none;
      transition:border-color .15s ease, box-shadow .15s ease;
    }
    #mcg-sidebar .mcg-form input:focus{
      border-color:#2b3a52;
      box-shadow:0 0 0 3px rgba(247,147,26,.15);
    }
    #mcg-sidebar .mcg-form .mcg-legal{margin:2px 0 0; font-size:.85rem; color:var(--muted)}
    #mcg-sidebar .mcg-form .mcg-legal a{color:#cfe1ff; text-decoration:underline}

    /* Buttons */
    #mcg-sidebar .mcg-btn{
      display:inline-flex; align-items:center; justify-content:center; gap:8px;
      padding:12px 14px; border-radius:12px; font-weight:900; text-decoration:none; cursor:pointer;
      border:1px solid var(--line); color:var(--ink); background:transparent;
      transition:background .15s ease, border-color .15s ease, transform .15s ease;
    }
    #mcg-sidebar .mcg-btn:hover{border-color:#2b3a52; background:#121a27; transform:translateY(-1px);}
    #mcg-sidebar .mcg-btn--accent{
      border:0; color:#111;
      background:linear-gradient(180deg, #f8ae4e, #f7931a);
      box-shadow:0 8px 24px rgba(247,147,26,.2);
    }
    #mcg-sidebar .mcg-btn--accent:hover{filter:brightness(.98); transform:translateY(-1px);}
    #mcg-sidebar .mcg-btn--ghost{background:transparent}

    /* Courses list */
    #mcg-sidebar .mcg-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px}
    #mcg-sidebar .mcg-link{
      position:relative; display:flex; flex-direction:column; gap:2px;
      padding:10px 12px; border-radius:12px; text-decoration:none;
      background:var(--surface-2); border:1px solid var(--line);
      transition:transform .15s ease, border-color .15s ease, background .15s ease;
      color:var(--ink);
    }
    #mcg-sidebar .mcg-link:hover{
      transform:translateY(-1px);
      border-color:#263247;
      background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)), var(--surface-2);
    }
    #mcg-sidebar .mcg-link-main{font-weight:900; letter-spacing:.2px;}
    #mcg-sidebar .mcg-link-sub{font-size:.92rem; color:var(--muted)}
    #mcg-sidebar .mcg-chip{
      position:absolute; right:10px; top:10px;
      padding:3px 8px; border-radius:999px; font-size:.78rem; font-weight:800; color:#111;
      background:linear-gradient(180deg, #f9a43a, #f7931a);
      border:0;
    }

    /* Actions */
    #mcg-sidebar .mcg-actions-grid{display:flex; gap:10px; flex-wrap:wrap}

    /* Recent posts (8) */
    #mcg-sidebar .mcg-recent-list{
      list-style:none; margin:0; padding:0; display:grid; gap:12px;
    }
    #mcg-sidebar .mcg-recent-item{
      display:grid; grid-template-columns:88px 1fr; gap:10px;
      align-items:center; border:1px solid var(--line); border-radius:14px;
      background:var(--surface-2); overflow:hidden; text-decoration:none; color:var(--ink);
      transition:transform .15s ease, border-color .15s ease, background .15s ease;
    }
    #mcg-sidebar .mcg-recent-item:hover{
      transform:translateY(-1px); border-color:#263247;
      background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)), var(--surface-2);
    }
    #mcg-sidebar .mcg-thumb{
      position:relative; width:88px; height:62px; overflow:hidden; background:#0f141c; border-right:1px solid var(--line);
    }
    #mcg-sidebar .mcg-thumb img{
      width:100%; height:100%; object-fit:cover; display:block; filter:saturate(.98) contrast(1.02);
    }
    #mcg-sidebar .mcg-meta{padding-right:10px; min-width:0}
    #mcg-sidebar .mcg-post-title{
      margin:.1rem 0 0; font-weight:900; font-size:.96rem; line-height:1.25; color:var(--ink);
      display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    }
    #mcg-sidebar .mcg-date{font-size:.85rem; color:var(--muted); margin:.15rem 0 0}

    /* Skeletons */
    #mcg-sidebar .mcg-recent-skel{
      height:62px; border:1px solid var(--line); border-radius:14px; overflow:hidden; position:relative;
      background:linear-gradient(90deg, rgba(255,255,255,.03) 25%, rgba(255,255,255,.06) 37%, rgba(255,255,255,.03) 63%);
      background-size:400% 100%; animation:mcg-shimmer 1.2s infinite linear;
    }
    @keyframes mcg-shimmer{0%{background-position:100% 0}100%{background-position:0 0}}

    /* Mobile: non-sticky */
    @media (max-width: 1023px){ #mcg-sidebar{position:static; top:auto} }

    /* Accessibility helper */
    #mcg-sidebar .sr-only{
      position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px);
      white-space:nowrap; border:0; padding:0; margin:-1px;
    }
  </style>

  <script>
    /* ===== BTC TIP: copy-to-clipboard (scoped, safe) ===== */
    (function(){
      var btn = document.querySelector('#mcg-sidebar .mcg-tip .mcg-tip-copy');
      if(!btn) return;

      btn.addEventListener('click', function(){
        var address = btn.getAttribute('data-btc') || '';
        if(!address) return;

        var original = btn.textContent;

        function done(){
          btn.textContent = 'Copied!';
          setTimeout(function(){ btn.textContent = original; }, 1500);
        }

        // Clipboard API (preferred)
        if (navigator.clipboard && window.isSecureContext){
          navigator.clipboard.writeText(address).then(done).catch(function(){});
          return;
        }

        // Fallback (older browsers / non-secure contexts)
        try{
          var ta = document.createElement('textarea');
          ta.value = address;
          ta.setAttribute('readonly','');
          ta.style.position = 'absolute';
          ta.style.left = '-9999px';
          document.body.appendChild(ta);
          ta.select();
          var ok = document.execCommand('copy');
          document.body.removeChild(ta);
          if(ok) done();
        }catch(e){}
      });
    })();

    // ===== Latest posts (8) with featured images via WP REST API =====
    (function(){
      var list = document.getElementById('mcg-recent-list');
      if(!list) return;

      fetch('/wp-json/wp/v2/posts?per_page=8&_embed')
        .then(function(res){ if(!res.ok) throw new Error('HTTP ' + res.status); return res.json(); })
        .then(function(posts){
          if(!Array.isArray(posts) || posts.length===0) { list.parentElement.style.display='none'; return; }

          list.innerHTML = ''; // clear skeletons

          posts.forEach(function(p){
            var link = p.link;
            var title = (p.title && p.title.rendered) ? p.title.rendered.replace(/<[^>]+>/g,'') : 'Untitled';
            var dateStr = p.date ? new Date(p.date).toLocaleDateString(undefined, {year:'numeric', month:'short', day:'numeric'}) : '';
            var img = '';

            try {
              var media = p._embedded && p._embedded['wp:featuredmedia'] && p._embedded['wp:featuredmedia'][0];
              if (media && media.media_details && media.media_details.sizes) {
                img = (media.media_details.sizes.medium_large && media.media_details.sizes.medium_large.source_url)
                   || (media.media_details.sizes.medium && media.media_details.sizes.medium.source_url)
                   || media.source_url || '';
              } else if (media && media.source_url) { img = media.source_url; }
            } catch(e){}

            var li = document.createElement('li');
            var a = document.createElement('a');
            a.className = 'mcg-recent-item';
            a.href = link;

            var thumb = document.createElement('div');
            thumb.className = 'mcg-thumb';
            if (img) {
              var im = document.createElement('img');
              im.src = img; im.loading = 'lazy'; im.decoding = 'async'; im.alt = '';
              thumb.appendChild(im);
            }

            var meta = document.createElement('div');
            meta.className = 'mcg-meta';
            var h = document.createElement('div'); h.className = 'mcg-post-title'; h.textContent = title;
            var d = document.createElement('div'); d.className = 'mcg-date'; d.textContent = dateStr;
            meta.appendChild(h); meta.appendChild(d);

            a.appendChild(thumb); a.appendChild(meta);
            li.appendChild(a); list.appendChild(li);
          });
        })
        .catch(function(){
          list.parentElement.style.display = 'none';
        });
    })();

    // ===== Live Bitcoin Price (BTC in AUD & USD, auto-refresh) =====
    (function(){
      var audEl = document.getElementById('mcg-btc-aud');
      var usdEl = document.getElementById('mcg-btc-usd');
      var audChangeEl = document.getElementById('mcg-btc-aud-change');
      var usdChangeEl = document.getElementById('mcg-btc-usd-change');
      var updatedEl = document.getElementById('mcg-btc-updated');

      if (!audEl || !usdEl) return;

      var API_URL = 'https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd,aud&include_24hr_change=true';

      function formatCurrency(value, currency){
        if (typeof value !== 'number' || isNaN(value)) return '–';
        try{
          var locale = (currency === 'AUD') ? 'en-AU' : 'en-US';
          return new Intl.NumberFormat(locale, {
            style:'currency',
            currency:currency,
            maximumFractionDigits:0
          }).format(value);
        }catch(e){
          var prefix = (currency === 'AUD') ? 'A$' : 'US$';
          return prefix + ' ' + Math.round(value).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
        }
      }

      function setChange(el, change){
        if (!el) return;
        el.classList.remove('mcg-btc-change--up','mcg-btc-change--down');

        if (typeof change !== 'number' || isNaN(change)){
          el.textContent = '';
          return;
        }

        var text = change.toFixed(2) + '%';
        if (change > 0){
          el.textContent = '+' + text;
          el.classList.add('mcg-btc-change--up');
        } else if (change < 0){
          el.textContent = text;
          el.classList.add('mcg-btc-change--down');
        } else {
          el.textContent = text;
        }
      }

      function setUpdatedTime(){
        if (!updatedEl) return;
        var now = new Date();
        var timeStr = now.toLocaleTimeString([], {hour:'2-digit', minute:'2-digit'});
        updatedEl.textContent = 'Updated ' + timeStr;
      }

      function handleError(){
        if (audEl) audEl.textContent = '–';
        if (usdEl) usdEl.textContent = '–';
        if (audChangeEl) audChangeEl.textContent = '–';
        if (usdChangeEl) usdChangeEl.textContent = '–';
        if (updatedEl) updatedEl.textContent = 'Price temporarily unavailable.';
      }

      function fetchPrices(){
        fetch(API_URL)
          .then(function(res){
            if (!res.ok) throw new Error('HTTP ' + res.status);
            return res.json();
          })
          .then(function(data){
            if (!data || !data.bitcoin) throw new Error('No data');
            var b = data.bitcoin;

            if (typeof b.aud === 'number'){
              audEl.textContent = formatCurrency(b.aud, 'AUD');
            }
            if (typeof b.usd === 'number'){
              usdEl.textContent = formatCurrency(b.usd, 'USD');
            }

            setChange(audChangeEl, b.aud_24h_change);
            setChange(usdChangeEl, b.usd_24h_change);
            setUpdatedTime();
          })
          .catch(function(){
            handleError();
          });
      }

      fetchPrices();                 // initial
      setInterval(fetchPrices, 60000); // refresh every 60s
    })();
  </script>
</aside>
</div><div class="multiseparator"></div><div id="block-29" class="widget widget_block widget_text">
<p></p>
</div><div class="multiseparator"></div><div id="block-31" class="widget widget_block widget_text">
<p></p>
</div><div class="multiseparator"></div>
		</div>
	</div>
</div></div></div></div>

</div><p>The post <a href="https://mycryptoguide.co/guide-to-decentralised-crypto-exchanges/">A Beginners Guide to Decentralised Crypto Exchanges (DEXs)</a> appeared first on <a href="https://mycryptoguide.co">My Crypto Guide — Crypto, Blockchain &amp; AI Media &amp; Education</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
