<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Posts on Bayo Sodimu</title>
        <link>https://www.bayosodimu.com/posts/</link>
        <description>Recent content in Posts on Bayo Sodimu</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en</language>
        <copyright>&lt;a href=&#34;https://creativecommons.org/licenses/by-nc/4.0/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CC BY-NC 4.0&lt;/a&gt;</copyright>
        <lastBuildDate>Sun, 25 Jan 2026 00:00:00 +0000</lastBuildDate>
        <atom:link href="https://www.bayosodimu.com/posts/index.xml" rel="self" type="application/rss+xml" />
        
        <item>
            <title>Pact: Agreements for the Agent Economy</title>
            <link>https://www.bayosodimu.com/posts/pact-agreements-for-the-agent-economy/</link>
            <pubDate>Sun, 25 Jan 2026 00:00:00 +0000</pubDate>
            
            <guid>https://www.bayosodimu.com/posts/pact-agreements-for-the-agent-economy/</guid>
            <description>For the last couple of years, I&amp;rsquo;ve been sitting at the intersection of blockchain and AI. And there&amp;rsquo;s an idea I can&amp;rsquo;t shake:
Blockchain was a precursor. Infrastructure that enables AI systems to function as economic actors.
I&amp;rsquo;m not entirely sure how to fully articulate it yet. But one example makes it concrete: stablecoins. They&amp;rsquo;re the first form of internet-native money, which makes them the first form of money AI agents can actually use.</description>
            <content type="html"><![CDATA[<p>For the last couple of years, I&rsquo;ve been sitting at the intersection of blockchain and AI. And there&rsquo;s an idea I can&rsquo;t shake:</p>
<p>Blockchain was a precursor. Infrastructure that enables AI systems to function as economic actors.</p>
<p>I&rsquo;m not entirely sure how to fully articulate it yet. But one example makes it concrete: stablecoins. They&rsquo;re the first form of internet-native money, which makes them the first form of money AI agents can actually use.</p>
<p>This thought has been stuck in my head. So I&rsquo;ve decided to explore it. Pact is where that exploration begins.</p>
<hr>
<h2 id="what-is-pact">What is Pact?</h2>
<p>Pact is a minimal primitive for structuring agreements that require judgment to evaluate.</p>
<p>That sounds abstract, so let me break it down.</p>
<p>Smart contracts are great at deterministic conditions. &ldquo;If X happens, release Y.&rdquo; The logic is computable, the outcome is binary, and no interpretation is needed.</p>
<p>But most real agreements aren&rsquo;t like that.</p>
<ul>
<li>&ldquo;Deliver quality work&rdquo;</li>
<li>&ldquo;Complete the feature to spec&rdquo;</li>
<li>&ldquo;Act in good faith&rdquo;</li>
</ul>
<p>These require judgment. Someone (or something) has to look at what was delivered and decide, &ldquo;was this good enough?&rdquo;</p>
<p>That&rsquo;s what Pact is for. It&rsquo;s a schema for encoding commitments in a way that external resolvers (human, AI, or hybrid) can evaluate. Not a replacement for smart contracts. A complement. For everything smart contracts can&rsquo;t handle.</p>
<hr>
<h2 id="why-does-this-matter">Why does this matter?</h2>
<p>If AI agents are going to transact, collaborate, and coordinate, they need more than money. They need trust infrastructure.</p>
<p>Think about what happens when an AI agent hires another agent (or a human) to complete a task:</p>
<ol>
<li>They need to agree on terms</li>
<li>Funds need to be held in escrow</li>
<li>Work needs to be delivered</li>
<li>Someone needs to verify the work was done</li>
<li>Payment needs to be released (or disputed)</li>
</ol>
<p>Steps 1, 2, and 5 are solvable with existing crypto primitives. But steps 3 and 4 is where things break down.</p>
<p>How does an AI agent verify that &ldquo;quality work&rdquo; was delivered? How does it evaluate whether acceptance criteria were met when those criteria involve nuance, context, or interpretation?</p>
<p>You can&rsquo;t compute your way through ambiguity. So you need arbitration.</p>
<p>That&rsquo;s the gap Pact tries to fill. Structured commitments with pluggable resolution.</p>
<hr>
<h2 id="the-shape-of-a-pact">The shape of a pact</h2>
<p>A pact isn&rsquo;t complicated. At its core:</p>
<ul>
<li><strong>Parties</strong>: Who&rsquo;s involved (client, provider, could be humans, agents, or both)</li>
<li><strong>Terms</strong>: What&rsquo;s being agreed to, including acceptance criteria</li>
<li><strong>Stakes</strong>: What&rsquo;s on the line (escrow, reputation, access)</li>
<li><strong>Resolver</strong>: Who evaluates fulfillment (AI, human, DAO, oracle)</li>
</ul>
<p>The acceptance criteria are key. They&rsquo;re inspired by software development practices. Discrete, observable conditions that define &ldquo;done.&rdquo; Clear enough for a machine to evaluate, flexible enough for real-world work.</p>
<p>Here&rsquo;s what a simple pact looks like:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span>{
</span></span><span style="display:flex;"><span>   <span style="color:#f92672">&#34;pact&#34;</span>: {
</span></span><span style="display:flex;"><span>      <span style="color:#f92672">&#34;version&#34;</span>: <span style="color:#e6db74">&#34;0.2&#34;</span>,
</span></span><span style="display:flex;"><span>      <span style="color:#f92672">&#34;parties&#34;</span>: [
</span></span><span style="display:flex;"><span>         { <span style="color:#f92672">&#34;id&#34;</span>: <span style="color:#e6db74">&#34;0xClient...&#34;</span>, <span style="color:#f92672">&#34;role&#34;</span>: <span style="color:#e6db74">&#34;client&#34;</span> },
</span></span><span style="display:flex;"><span>         { <span style="color:#f92672">&#34;id&#34;</span>: <span style="color:#e6db74">&#34;0xProvider...&#34;</span>, <span style="color:#f92672">&#34;role&#34;</span>: <span style="color:#e6db74">&#34;provider&#34;</span> }
</span></span><span style="display:flex;"><span>      ],
</span></span><span style="display:flex;"><span>      <span style="color:#f92672">&#34;terms&#34;</span>: {
</span></span><span style="display:flex;"><span>         <span style="color:#f92672">&#34;description&#34;</span>: <span style="color:#e6db74">&#34;Design a logo for a podcast&#34;</span>,
</span></span><span style="display:flex;"><span>         <span style="color:#f92672">&#34;acceptance_criteria&#34;</span>: [
</span></span><span style="display:flex;"><span>            <span style="color:#e6db74">&#34;Delivers 3 distinct concepts&#34;</span>,
</span></span><span style="display:flex;"><span>            <span style="color:#e6db74">&#34;Includes source files&#34;</span>,
</span></span><span style="display:flex;"><span>            <span style="color:#e6db74">&#34;One round of revisions included&#34;</span>
</span></span><span style="display:flex;"><span>         ]
</span></span><span style="display:flex;"><span>      },
</span></span><span style="display:flex;"><span>      <span style="color:#f92672">&#34;stakes&#34;</span>: {
</span></span><span style="display:flex;"><span>         <span style="color:#f92672">&#34;type&#34;</span>: <span style="color:#e6db74">&#34;escrow&#34;</span>,
</span></span><span style="display:flex;"><span>         <span style="color:#f92672">&#34;amount&#34;</span>: <span style="color:#e6db74">&#34;200&#34;</span>,
</span></span><span style="display:flex;"><span>         <span style="color:#f92672">&#34;currency&#34;</span>: <span style="color:#e6db74">&#34;USDC&#34;</span>
</span></span><span style="display:flex;"><span>      },
</span></span><span style="display:flex;"><span>      <span style="color:#f92672">&#34;resolver&#34;</span>: {
</span></span><span style="display:flex;"><span>         <span style="color:#f92672">&#34;type&#34;</span>: <span style="color:#e6db74">&#34;ai&#34;</span>,
</span></span><span style="display:flex;"><span>         <span style="color:#f92672">&#34;id&#34;</span>: <span style="color:#e6db74">&#34;0xResolver...&#34;</span>
</span></span><span style="display:flex;"><span>      }
</span></span><span style="display:flex;"><span>   }
</span></span><span style="display:flex;"><span>}
</span></span></code></pre></div><p>Nothing revolutionary in the structure. The key thing is what it enables, machine-readable agreements with external arbitration built in.</p>
<hr>
<h2 id="ai-as-arbitrator">AI as arbitrator</h2>
<p>This is where it gets interesting.</p>
<p>Traditionally, disputes are resolved by humans. Courts, mediators, customer support. Slow, expensive, doesn&rsquo;t scale.</p>
<p>But if the terms of an agreement are structured clearly enough, maybe an AI can evaluate them. Okay, not perfectly, but probably well enough. And for low-stakes, high-volume transactions between agents, &ldquo;well enough&rdquo; might be exactly what&rsquo;s needed.</p>
<p>Imagine an AI resolver that:</p>
<ul>
<li>Reads the pact terms and acceptance criteria</li>
<li>Reviews the submitted evidence</li>
<li>Evaluates each criterion: met or not met</li>
<li>Returns a verdict with reasoning and confidence scores</li>
</ul>
<p>The structure of a Pact is designed to make this possible. Clear criteria, structured evidence, machine-readable schema.</p>
<p>Of course, AI resolution isn&rsquo;t appropriate for everything. High-stakes disputes still need human judgment. That&rsquo;s why Pact supports multiple resolver types, AI, human, DAO, oracle, or hybrid. A Pact doesn&rsquo;t care who resolves. It just defines the interface.</p>
<hr>
<h2 id="why-im-building-this">Why I&rsquo;m building this</h2>
<p>I should be clear about what I am and what I&rsquo;m not.</p>
<p>I&rsquo;m not a machine learning engineer or an AI researcher. I&rsquo;m a builder. I&rsquo;ve spent years working in the blockchain space, most recently on stablecoin infrastructure. I understand how to connect financial primitives to software systems.</p>
<p>What I see is a gap.</p>
<p>AI agents are getting more capable. They can reason, plan, and execute. But they can&rsquo;t yet participate in economic coordination the way humans do. They can&rsquo;t enter agreements, build reputation, or resolve disputes.</p>
<p>Stablecoins solved the money problem. Pact is my attempt to solve the agreement problem.</p>
<p>I don&rsquo;t know if this is the right approach. The spec might be wrong. The abstractions might be off. But I think the direction is right: AI agents need trust infrastructure, and that infrastructure needs to be open, composable, and machine-native.</p>
<hr>
<h2 id="what-comes-next">What comes next</h2>
<p>Pact is just the beginning.</p>
<p>Over the next few posts and experiments, I&rsquo;ll be building things that expand on this idea. Testing the spec. Building tooling. Seeing what breaks.</p>
<p>Some questions I&rsquo;m exploring:</p>
<ul>
<li>How do agents discover each other and negotiate terms?</li>
<li>What does reputation look like when it&rsquo;s portable across contexts?</li>
<li>How do you bootstrap trust in a system where any party might be a machine?</li>
<li>What happens when agents can enter agreements, escrow funds, and resolve disputes, all without human intervention?</li>
</ul>
<p>I don&rsquo;t have answers yet. But I have a direction.</p>
<p>If you&rsquo;re interested in following along, the spec is live at <a href="https://bayological.github.io/pact-spec/">pact-spec</a> and the repo is on <a href="https://github.com/bayological/pact-spec">GitHub</a>.</p>
<p>And if you have thoughts, critiques, or ideas I&rsquo;d genuinely like to hear them.</p>
<p>Let&rsquo;s see where it goes.</p>
]]></content>
        </item>
        
        <item>
            <title>When Software Becomes an Economic Actor</title>
            <link>https://www.bayosodimu.com/posts/when-software-becomes-an-economic-actor/</link>
            <pubDate>Sat, 27 Dec 2025 00:00:00 +0000</pubDate>
            
            <guid>https://www.bayosodimu.com/posts/when-software-becomes-an-economic-actor/</guid>
            <description>For the last couple of years I&amp;rsquo;ve watched two worlds develop side by side, blockchain&amp;rsquo;s promise of global, programmable money, and artificial intelligence racing toward autonomous economic agency. What&amp;rsquo;s become clear, not in theory, but in practice is this:
If AI agents are going to become real economic actors, they need internet-native money that operates at machine speed and without permission.
That money is stablecoins.
The Limits of Human Financial Systems Modern financial infrastructure was built for people.</description>
            <content type="html"><![CDATA[<p>For the last couple of years I&rsquo;ve watched two worlds develop side by side, blockchain&rsquo;s promise of global, programmable money, and artificial intelligence racing toward autonomous economic agency. What&rsquo;s become clear, not in theory, but in practice is this:</p>
<p>If AI agents are going to become real economic actors, they need internet-native money that operates at machine speed and without permission.</p>
<p>That money is <strong>stablecoins</strong>.</p>
<h2 id="the-limits-of-human-financial-systems">The Limits of Human Financial Systems</h2>
<p>Modern financial infrastructure was built for people.</p>
<p>Bank accounts assume legal identity, jurisdiction, operating hours, manual approval flows, and compliance processes designed around human behavior. Even modern fintech abstractions still resolve to the same core constraints: accounts, intermediaries, reversibility, and trust based on institutions.</p>
<p>AI agents don&rsquo;t fit into this model.</p>
<p>They don&rsquo;t sleep.
They don&rsquo;t operate within a single jurisdiction.
They don&rsquo;t submit forms.
They don&rsquo;t wait days for settlement.</p>
<p>And most importantly, they can&rsquo;t open bank accounts.</p>
<p>Trying to force autonomous systems into legacy financial rails is just inefficient and fundamentally caps what they can do. Any system that needs permission, human oversight, or institutional trust at every step becomes a bottleneck once software starts acting independently.</p>
<p>If AI agents are to coordinate, transact, and execute tasks on their own, money needs to look different.</p>
<h2 id="stablecoins-as-internet-native-money">Stablecoins as Internet-Native Money</h2>
<p>Stablecoins are usually discussed as a crypto use case for payments or remittances. That framing is true, but incomplete.</p>
<p>Stablecoins are better understood as internet-native money:</p>
<ul>
<li>They&rsquo;re programmable</li>
<li>They settle globally</li>
<li>They operate 24/7</li>
<li>They&rsquo;re composable with software</li>
<li>They&rsquo;re bearer instruments, not permissions</li>
</ul>
<p>But most importantly, they are <strong>wallet-native</strong>, not <strong>account-native</strong>.</p>
<p>This distinction matters.</p>
<p>A wallet can be controlled by a human, a multisig, a smart contract, or an autonomous agent. No onboarding department required. No business hours. No intermediary deciding whether the transaction &ldquo;makes sense.&rdquo;</p>
<p>From the perspective of an AI agent, stablecoins are not &ldquo;crypto.&rdquo;
They are simply the first form of money that software can natively hold and use.</p>
<p>In that sense, stablecoins aren&rsquo;t just internet money, they are AI-native money.</p>
<h2 id="when-software-becomes-an-economic-actor">When Software Becomes an Economic Actor</h2>
<p>This shift has already begun.</p>
<p>Experiments like autonomous <a href="https://medium.com/@jagadeshjamjalanarayanan/the-freysa-ai-experiment-a-story-of-ai-cryptocurrency-and-a-50-000-prize-money-84871e1436d7">agents being granted funds</a> and instructed to act within constraints, sometimes even defending those funds through reasoning, show us a future where software is trusted with capital, objectives, and autonomy.</p>
<p>These systems don&rsquo;t really need money as a store of wealth.
They need money as a coordination tool.</p>
<p>To:</p>
<ul>
<li>Bid for tasks</li>
<li>Pay for services</li>
<li>Escrow funds against outcomes</li>
<li>Incentivize other agents or humans</li>
<li>Execute conditional logic tied to real-world delivery</li>
</ul>
<p>Once you accept that agents can hold wallets, the next questions become clear:</p>
<ul>
<li>How do they enter agreements?</li>
<li>How is performance verified?</li>
<li>How are disputes resolved?</li>
<li>How is reputation accumulated?</li>
<li>How is trust established without central intermediaries?</li>
</ul>
<p>Money is only the first primitive but it&rsquo;s the one everything else builds on.</p>
<h2 id="work-payments-and-trust-collapse-into-one-system">Work, Payments, and Trust Collapse Into One System</h2>
<p>As AI systems accelerate, the value of work shifts away from raw execution and toward coordination.</p>
<p>The highest-leverage actors are no longer just individuals, but operators (humans who orchestrate multiple AI systems) and increasingly, the agents themselves.</p>
<p>In this world:</p>
<ul>
<li>Work is programmatic</li>
<li>Payment is conditional</li>
<li>Trust is composable</li>
<li>Reputation is portable</li>
</ul>
<p>This is why escrow, on-chain agreements, and programmable payments start to matter much more than marketplaces or platforms.</p>
<p>Instead of trusting intermediaries, systems encode trust directly into infrastructure:</p>
<ul>
<li>Funds are locked until conditions are met</li>
<li>Outcomes are verifiable</li>
<li>Disputes follow predefined resolution paths</li>
<li>Reputation accumulates across contexts, not platforms</li>
</ul>
<p>You don&rsquo;t need to imagine a fully autonomous future to see this forming. You only need to look at how quickly coordination becomes the bottleneck once execution is automated.</p>
<h2 id="the-direction-is-clear">The Direction Is Clear</h2>
<p>The mistake is to think that this future arrives all at once.</p>
<p>It will emerge through narrow, practical use cases:</p>
<ul>
<li>Escrowed payments for clearly scoped tasks</li>
<li>AI agents operating within constrained mandates</li>
<li>Hybrid systems where humans, operators, and agents collaborate</li>
<li>Stablecoins used quietly as infrastructure, not ideology</li>
</ul>
<p>What changes is not just how work is done, but who is allowed to participate economically.</p>
<p>Once software can &ldquo;hold money&rdquo;, enter agreements, and build reputation, the definition of an &ldquo;economic actor&rdquo; expands.</p>
<p>And the financial systems that win won&rsquo;t be the ones that are loudest or most speculative but the ones that are designed for autonomy from the start.</p>
<p>We don&rsquo;t need to wait for general intelligence to rethink money.</p>
<p>We only need to accept a simpler truth:</p>
<p>Autonomy requires financial primitives that don&rsquo;t assume a human on the other end.</p>
<p>Stablecoins probably aren&rsquo;t the end state, but they are the first form of money that doesn&rsquo;t care who or what is holding it.</p>
<p>And that makes them inevitable.</p>
]]></content>
        </item>
        
        <item>
            <title>Stablecoins: Who Really Needs Them (and What Comes Next)</title>
            <link>https://www.bayosodimu.com/posts/stablecoins-who-needs-them/</link>
            <pubDate>Mon, 22 Sep 2025 00:00:00 +0000</pubDate>
            
            <guid>https://www.bayosodimu.com/posts/stablecoins-who-needs-them/</guid>
            <description>All around the world, regulators are finally drawing lines around stablecoins.
The EU’s MiCAR came into force in late 2024, which set the standard for crypto-asset rules and brought e-money tokens under supervision. Hong Kong followed with a stablecoin licensing regime that took effect August 2025, requiring issuers of fiat-referenced tokens1 to get approval from the Hong Kong Monetary Authority. In the U.S., the GENIUS Act landed in July 2025, mandating full fiat backing and federal oversight.</description>
            <content type="html"><![CDATA[<p>All around the world, regulators are finally drawing lines around stablecoins.</p>
<p>The <a href="https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=OJ:L:2023:150:TOC">EU’s MiCAR</a> came into force in late 2024, which set the standard for crypto-asset rules and brought <a href="https://micapapers.com/definitions/emt/">e-money tokens</a> under supervision. Hong Kong followed with a <a href="https://www.hkma.gov.hk/eng/key-functions/international-financial-centre/stablecoin-issuers/">stablecoin licensing regime</a> that took effect August 2025, requiring issuers of fiat-referenced tokens<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup> to get approval from the Hong Kong Monetary Authority. In the U.S., the <a href="https://www.congress.gov/bill/119th-congress/senate-bill/1582">GENIUS Act</a> landed in July 2025, mandating full fiat backing and federal oversight. And in the UK, <a href="https://www.gov.uk/government/publications/regulatory-regime-for-cryptoassets-regulated-activities-draft-si-and-policy-note">draft rules</a> are on the table for “qualifying stablecoins,” covering issuance, redemption, and custody.</p>
<p>Basically, stablecoins are here to stay. And with rules now in place, banks and fintechs have a greenlight to get into the game.</p>
<p>Over the past few months, headlines about these new laws and new stablecoin launches created a lot of hype, especially from traders celebrating the market pump. But this is bigger than market sentiment. It marks the move from suppressing stablecoins to shaping them, a shift that matters more than price action.</p>
<h3 id="why-do-we-even-need-stablecoins">Why do we even need stablecoins?</h3>
<p>The short answer: if you live in the West, you probably don’t.</p>
<p>Stablecoins are designed to hold their value <sup id="fnref:2"><a href="#fn:2" class="footnote-ref" role="doc-noteref">2</a></sup> unlike Bitcoin or ETH, which move up and down. That makes them useful as digital cash, something you can save, spend, and move quickly on blockchains. They’re the building blocks for lending, payments, and new financial tools.</p>
<p>But if you already have a bank account in pounds, euros, dollars, or yen, that doesn’t change much for you. You can tap your card for coffee, send money to friends easily with online banking, and earn interest through savings accounts. In other words, your financial system already works.</p>
<p>So who actually needs them?</p>
<h3 id="the-people-who-actually-need-them">The people who actually need them</h3>
<p>It’s not the crypto natives <sup id="fnref:3"><a href="#fn:3" class="footnote-ref" role="doc-noteref">3</a></sup> using them to hedge volatility or access DeFi, that’s another story.</p>
<p>The people who really need stablecoins are in places where financial infrastructure is broken. Imagine going to a bank to withdraw your own salary or life savings, only to be told you can’t because of capital controls <sup id="fnref:4"><a href="#fn:4" class="footnote-ref" role="doc-noteref">4</a></sup>. That’s a reality in parts of the world and in those situations, stablecoins aren’t a curiosity. They could be a lifeline.</p>
<p>But here’s the problem, when governments can’t manage their own money responsibly, how can they be trusted to oversee or worse, potentially issue stablecoins? That’s where the difference between centralized and decentralized models matters.</p>
<h3 id="trust-the-issuer-or-trust-the-code">Trust the Issuer or Trust the Code?</h3>
<p>Stablecoins generally fall into two buckets, centralized and decentralized.</p>
<p><strong>Centralized stablecoins</strong> are issued and controlled by a single entity. That entity could adjust supply, freeze funds, or decide who gets access. Similar to how things already work with traditional institutions. The trade-off is simplicity: they’re easy to understand and usually backed 1:1 with reserves. The biggest examples, USDT(<a href="https://tether.to/en/">Tether</a>) and USDC(<a href="https://www.circle.com/">Circle</a>) are centralized, with Circle and Tether holding equivalent dollars in reserve for every one of their stables in existence.</p>
<p><strong>Decentralized stablecoins</strong>, on the other hand, run autonomously on-chain. They aren’t controlled by one company, and no single entity controls access. That makes them harder to tamper with but also more complex and sometimes fragile. And we’ve seen what it looks like when decentralized models <a href="https://rekt.news/luna-rekt">fail to hold their peg</a> in the past.</p>
<p>Both types have a place. In high-trust environments, centralized stablecoins can be efficient and effective. But in low-trust environments, where institutions can’t be relied on, decentralized models matter. Decentralization for its own sake is pointless, but decentralization as a shield from failure or abuse is essential.</p>
<h3 id="the-infrastructure-gap">The infrastructure gap</h3>
<p>There are now hundreds of stablecoins out in the wild. But in reality, only a few dominate, mainly USDT and USDC. But even though they’re all meant to represent “a dollar,” <sup id="fnref:5"><a href="#fn:5" class="footnote-ref" role="doc-noteref">5</a></sup> they don’t all move easily between each other.</p>
<p>That creates two problems:</p>
<ol>
<li><strong>Too many versions of the same thing (Fragmentation)</strong>. Imagine if Starbucks only accepted one type of $20 note and your grocery store only took another. That’s what stablecoin fragmentation is like.</li>
<li><strong>They don’t talk to each other (Interoperability)</strong>. Switching between them, or between different currencies like USD and JPY, is clunky and expensive.
The result? People often end up going back through banks and centralized exchanges just to make simple transfers. That defeats the whole point of using stablecoins as digital cash.</li>
</ol>
<p>What’s missing is the digital equivalent of foreign exchange that works instantly, on the blockchain, without middlemen. Until that exists, stablecoins won’t work well as money. They’ll just be alternate versions of dollars that don’t quite connect.</p>
<h3 id="the-future">The Future</h3>
<p>Once the infrastructure gap closes, the real consumer innovation will come quickly.</p>
<p>Think about what neobanks did to high street banks, stablecoin-native products will do the same to legacy fintech. With an on-chain FX layer and regulatory clarity, we’ll see services emerge that feel like “less than a bank, but somehow more.” Accounts, cards, payments, and savings but all digitally native, running on open rails.</p>
<p>We’re already seeing this with products like <a href="https://gnosispay.com/">Gnosis Pay</a>. Combine that with regulatory green lights and interoperable stablecoins, and blockchain stops being a backend curiosity and starts acting like a global settlement layer. SWIFT then becomes optional&hellip;</p>
<p>Stablecoins are mainstream now. But the real story isn’t just who issues them. It’s what kind of financial system we build on top and whether it actually serves the people who need it most.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>A digital asset designed to maintain stable value by being pegged to a traditional fiat currency (e.g., USD, EUR).&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:2">
<p>Unlike Bitcoin or Ether, which fluctuate in price, stablecoins are structured to track a reference asset. This can be done via full fiat reserves (e.g., USDC), collateralization with other crypto (e.g., DAI), or algorithmic mechanisms (less common and more fragile).&#160;<a href="#fnref:2" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:3">
<p>People already active in the cryptocurrency ecosystem e.g. traders, developers, or DeFi users who often use stablecoins for hedging or liquidity instead of everyday spending.&#160;<a href="#fnref:3" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:4">
<p>Restrictions imposed by governments to regulate money flows such as limiting foreign currency withdrawals or transfers abroad. While sometimes framed as protective policy, in practice they can block citizens from accessing their own funds.&#160;<a href="#fnref:4" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:5">
<p>Not all stablecoins are USD-pegged. Although most are tied to the US dollar, stablecoins also exist for other currencies such as EUR (e.g., EURC), JPY, GBP, and even emerging-market currencies like the Nigerian naira.&#160;<a href="#fnref:5" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>
]]></content>
        </item>
        
        <item>
            <title>Are We Outsourcing Our Minds to Machines ?</title>
            <link>https://www.bayosodimu.com/posts/are-we-outsourcing-our-minds-to-machines/</link>
            <pubDate>Wed, 30 Apr 2025 00:00:00 +0000</pubDate>
            
            <guid>https://www.bayosodimu.com/posts/are-we-outsourcing-our-minds-to-machines/</guid>
            <description>As AI tools become a natural part of our daily workflow, it’s getting easier to offload simple tasks, summarise reports, generate content and solve general problems. All with a single prompt.
But as we make things easier for ourselves, are we making ourselves weaker?
Not physically, cognitively?
Are we outsourcing the mental effort needed to strengthen or even maintain our intelligence?
It’s something I’ve been thinking about a lot. Don&amp;rsquo;t get me wrong, I&amp;rsquo;ve had a lot of fun using and exploring a lot of these new AI tools and have seriously boosted my productivity with their help.</description>
            <content type="html"><![CDATA[<p>As AI tools become a natural part of our daily workflow, it’s getting easier to offload simple tasks, summarise reports, generate content and solve general problems. All with a single prompt.</p>
<p>But as we make things easier for ourselves, are we making ourselves weaker?</p>
<p>Not physically, cognitively?</p>
<p>Are we outsourcing the mental effort needed to strengthen or even maintain our intelligence?</p>
<p>It’s something I’ve been thinking about a lot. Don&rsquo;t get me wrong, I&rsquo;ve had a lot of fun using and exploring a lot of these new AI tools and have seriously boosted my productivity with their help. I now use <a href="https://www.cursor.com/en">Cursor</a> daily for writing code, I’ve leaned into using tools like ChatGPT, NotebookLM and Perplexity, in my day-to-day. It&rsquo;s an exciting time (at least for me) and these tools are genuinely powerful.</p>
<p>But they’re also frictionless&hellip;and that’s where the concern starts.</p>
<p>Because when something becomes too easy, we risk skipping the hard necessary work that turns information into understanding.</p>
<hr>
<h3 id="weve-seen-this-before-move-fast-fix-later">We’ve Seen This Before: Move Fast, Fix Later</h3>
<p>Every time a new technology comes around, we rush to unleash it on the masses, and integrate it into everything. Every SaaS tool now has AI integrated. LG built an <a href="https://www.lg.com/uk/tvs-soundbars/ai-tv/">AI powered TV</a>. Samsung released an <a href="https://www.samsung.com/uk/refrigerators/multi-door/rf9000d-rf9000dc-t-style-french-door-21-5inch-family-hub-636l-black-rf65dg9h0eb1eu/">AI enabled fridge</a>.</p>
<p>Who really needs an AI-powered fridge?</p>
<p>But that&rsquo;s beside the point.</p>
<p>Let&rsquo;s be clear, I&rsquo;m not saying that moving fast with technology is a bad thing, speed can unlock innovation. But there’s a familiar pattern: we roll out the tech, celebrate the convenience, and only later ask, “What is this doing to us?”</p>
<p>Social media gave us unlimited connection, and <a href="https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4872178&amp;download=yes">a crisis of attention</a>. Smartphones gave us portable computing and <a href="https://ap.themyersbriggs.com/content/Type_and_the_always_on_culture__TheMyersBriggsCo_2019.pdf">an always-on culture</a>.</p>
<p>Now AI might be delivering the next unintended consequence, a slow erosion of our ability to think<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>.</p>
<hr>
<h3 id="the-muscle-were-not-using">The Muscle We’re Not Using</h3>
<p>Problem-solving, critical thinking and focus. These are mental muscles. The more we use them, the sharper we get. Think about being in the gym and doing resistance training increases <a href="https://en.wikipedia.org/wiki/Muscle_hypertrophy">hypertrophy</a> (muscle growth). But like any muscle, if we stop using them, they <a href="https://en.wikipedia.org/wiki/Muscle_atrophy">atrophy</a> (weaken and shrink).</p>
<p>When we rely on AI to do all the heavy lifting, is this what we’re risking? I’ve noticed in myself, the small resistance to thinking something through when I know I can just ask ChatGPT. The temptation to skip the mental workout. The temptation to skip the struggle.</p>
<p>Struggle is underrated and I fully agree with the statement &ldquo;struggle is the best teacher&rdquo;. It’s where understanding lives. When you figure something out the hard way, you don’t just get the answer, you get the learning. You earn clarity. Think about the last time you struggled to learn or do something and had to use your head to figure it out. What was your experience?</p>
<p>Now imagine a generation growing up rarely having to wrestle with hard ideas on their own.</p>
<p>That’s not a tech issue. That’s a cognitive shift.</p>
<hr>
<h3 id="from-digital-tools-to-digital-dependence">From Digital Tools to Digital Dependence</h3>
<p>The Financial Times recently asked whether we&rsquo;ve reached <a href="https://www.ft.com/content/a8016c64-63b7-458b-a371-e0e1c54a13fc">peak brain power</a> citing OECD data showing a decline in reasoning and problem-solving since 2012. Not just in teens, but adults too.</p>
<p>It aligns with a broader shift in how we interact with information.</p>
<p>We used to browse. Now we scroll. We used to seek. Now we’re fed. We used to question. Now we consume. The shift is subtle but powerful. What once required effort is now automated and handed to us.</p>
<p>This isn’t just about <a href="https://en.wikipedia.org/wiki/Large_language_model">LLMs</a>. It’s about the wider digital environment that encourages passive interaction. AI just happens to be the most advanced form of that so far.</p>
<p>We&rsquo;re not incapable. We’re disengaged. And the more we outsource thinking without reflection, the less practice we get in the most human skill of all, thinking.</p>
<hr>
<h3 id="the-importance-of-friction">The Importance of Friction</h3>
<p>Friction isn’t a bad thing, it’s usually the catalyst for growth. When you struggle to write, you become a better communicator. When you sit with a difficult question, you sharpen your mental edge. Friction is where skill is forged.</p>
<p>AI removes friction. That’s its superpower and its risk. When everything becomes easy, the hard stuff like resilience, discernment, and focus starts to fade.</p>
<hr>
<h3 id="so-when-do-we-feel-the-impact">So When Do We Feel the Impact?</h3>
<p>The short answer: we already are.</p>
<p>The longer answer: it’ll likely show up gradually in our shrinking attention spans, discomfort with uncertainty, and increasing dependence on summaries and “quick takes.”</p>
<p>You’ve probably felt it yourself. The urge to skim, the itch to check your phone, the resistance to sitting with a challenging idea.</p>
<p>I’m not a neuroscientist. This isn’t a peer-reviewed claim. But I’m not the only one sensing the shift.</p>
<p>The tech is still new. But like all powerful tools, the real effects may show up long after the initial hype fades.</p>
<hr>
<h3 id="what-do-we-do">What Do We Do?</h3>
<p>This isn’t a call to abandon AI. It’s a call to use it with intention.</p>
<p>If you ignore AI, you risk being left behind. But if you use it without reflection, you risk letting it shape how you think without even realising. That trade-off isn&rsquo;t hypothetical, it’s happening in real time, and for most people, it’s invisible.</p>
<p>The goal isn’t to be anti-AI. It’s to be pro-agency.</p>
<p>Just like we’ve learned to care for our bodies, brushing our teeth, eating (mostly) well and going to the gym, we now need daily habits to protect and sharpen our minds. Especially now, in a world where the default is outsourcing thought.</p>
<p>This might mean:</p>
<ul>
<li>Reading long-form content without skipping to the TL;DR.</li>
<li>Making notes to process your own thoughts before outsourcing your thinking to an AI model.</li>
<li>Wrestling with a hard concept before prompting for an explanation.</li>
</ul>
<p>None of this means rejecting help, it just means choosing when to struggle first and when to reach for support.</p>
<p>And let&rsquo;s be real: not everyone will feel the impact equally. People who aren&rsquo;t familiar with how these systems work, or who haven’t built strong habits around focus and critical thinking, may be more vulnerable to their downsides. That’s not a personal failing. It’s a systemic challenge.</p>
<p>So here&rsquo;s a question:
Is it crazy to suggest that the people building these tools, engineers (like myself), designers, product managers, consider the ethical and cognitive impacts of what they create?</p>
<p>We expect that kind of responsibility from doctors. From educators. Even from architects<sup id="fnref:2"><a href="#fn:2" class="footnote-ref" role="doc-noteref">2</a></sup>.</p>
<p>If software is shaping how billions of people think, feel, and behave…shouldn’t builders take some responsibility too?</p>
<hr>
<h3 id="cognition-culture">Cognition Culture</h3>
<p>There’s no point raising concern without offering a way forward.</p>
<p>One powerful practice is what Cal Newport calls <a href="https://calnewport.com/deep-work-rules-for-focused-success-in-a-distracted-world/">“deep work”</a> — carving out space for focused, difficult, and meaningful tasks. Research consistently shows this kind of effort boosts concentration, learning, and problem-solving. This <a href="https://asana.com/resources/what-is-deep-work">article</a> from Asana talks more about this.</p>
<p>Other proven habits include:</p>
<ul>
<li>Deliberate practice: pushing your limits to stretch your capability.</li>
<li>Physical exercise: especially aerobic movement, shown to boost <a href="https://en.wikipedia.org/wiki/Executive_functions">executive function</a>.</li>
<li>Mindful journaling: processing your own thoughts deepens clarity and reflection.</li>
<li>Reading physical books: especially challenging material, it forces presence and builds endurance.</li>
</ul>
<p>These aren’t just wellness tips. They’re mental hygiene. Habits that protect and develop your mind, just like brushing your teeth protects your smile.</p>
<p>We built a fitness culture around the body. Now we need a cognition culture for the mind.</p>
<p>Because AI isn’t going anywhere. But how we meet it, passively or actively, will shape the kind of thinkers, creators, and humans we become.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>&ldquo;Thinking&rdquo; isn&rsquo;t a single skill, it&rsquo;s a spectrum (critical, analytical, creative, etc.).&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:2">
<p>Of course, not all doctors, educators, or architects are responsible for cognitive or ethical outcomes in every context. The point is that in many professions, especially those that impact people at scale, we expect a level of responsibility outside of technical competence.&#160;<a href="#fnref:2" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>
]]></content>
        </item>
        
        <item>
            <title>Mastering Chaos: Stoicism in a Tech-Driven World</title>
            <link>https://www.bayosodimu.com/posts/mastering-chaos-stoicism-in-a-tech-world/</link>
            <pubDate>Sat, 25 Jan 2025 00:00:00 +0000</pubDate>
            
            <guid>https://www.bayosodimu.com/posts/mastering-chaos-stoicism-in-a-tech-world/</guid>
            <description>The pace of technological change can definitely feel overwhelming, even for people like me who work in tech. Between constant notifications, endless updates, and the pressure to keep up, it’s easy to feel like the world is moving faster than we can manage.
But what if ancient wisdom could help us cut through all the noise and find clarity in this chaos? Stoicism, a 2,000 year old philosophy, might have the answers we need.</description>
            <content type="html"><![CDATA[<p>The pace of technological change can definitely feel overwhelming, even for people like me who work in tech. Between constant notifications, endless updates, and the pressure to keep up, it’s easy to feel like the world is moving faster than we can manage.</p>
<p>But what if ancient wisdom could help us cut through all the noise and find clarity in this chaos? Stoicism, a 2,000 year old philosophy, might have the answers we need.</p>
<hr>
<h3 id="the-basics-of-stoicism"><strong>The Basics of Stoicism</strong></h3>
<p>At its core, Stoicism focuses on one basic idea:</p>
<blockquote>
<p><strong>Separate what you can control from what you can’t.</strong></p>
</blockquote>
<p>This just sounds like common sense, right? But how often do we waste time and energy stressing about things outside our control? The Stoics believed that by focusing only on what’s within our power (our thoughts and actions), we could find peace of mind.</p>
<p>Stoicism has definitely gotten more popular in recent years. Why? It’s practical. We live in times where life sometimes feels unpredictable and overwhelming, people are turning to timeless Stoic principles like resilience, perspective, and living in alignment with virtue. These ideas aren’t just abstract philosophy, they’re tools for everyday life.</p>
<hr>
<h3 id="applying-stoicism-to-everyday-life"><strong>Applying Stoicism to Everyday Life</strong></h3>
<p>So, how does this ancient philosophy fit into a modern, tech-driven world? Here are a few practical examples:</p>
<ol>
<li>
<p><strong>Dealing with Constant Notifications</strong><br>
Our attention is one of the few things we can truly control. Instead of letting endless pings and notifications dictate your day, practice intentional focus. Turn off non-essential notifications, or be like me and just turn of all notification. Set boundaries, and remind yourself:</p>
<blockquote>
<p><strong>You</strong> control your attention, not your apps.</p>
</blockquote>
</li>
<li>
<p><strong>Managing Career Uncertainty</strong><br>
Tech moves fast, and in this day and age job security can feel fleeting especially with the recent <a href="https://techcrunch.com/2025/01/23/tech-layoffs-2024-list/">tech layoffs</a>. Stoicism teaches us to embrace impermanence. Change is inevitable, so instead of fearing it, prepare for it. Invest in lifelong learning, adapt, and trust in your ability to react to challenges.</p>
</li>
<li>
<p><strong>Reframing Failure</strong><br>
The Stoics believed that failure isn’t the end, it’s a stepping stone. Every setback is an opportunity to grow. Missed a promotion? Lost a client? Try to shift your perspective. What can you learn from this, and how will it make you better? One of my biggest breakthroughs came from analyzing a failed project, identifying gaps in my approach, and applying those lessons to future projects. This has become a regular practice for me. When something doesn’t go the way I hoped, I reflect on the experience and look for ways to improve for next time.</p>
</li>
</ol>
<hr>
<h3 id="technology-and-stoicism"><strong>Technology and Stoicism</strong></h3>
<p>Some of today’s best productivity tools align well with Stoic principles. Time-blocking, for example, is basically the art of controlling your schedule. Focus apps? They’re tools for mastering your attention. Even the growing trend of <a href="https://calnewport.com/on-digital-minimalism/">digital minimalism</a> feels like a modern take on Stoic values, removing distractions to focus on what actually matters.</p>
<p>One habit I&rsquo;ve picked up and stuck with is time-blocking. Every night, I plan out the things I want to get done the next day using an app called <a href="https://www.morgen.so/">Morgen</a> to block out time for each task. It helps me stay focused and ensures my day feels intentional, not reactive. For me, this ties directly to the Stoic principle of focusing on what’s in my control, which has boosted my productivity and helped me avoid overwhelm.</p>
<p>Practicing Stoicism in the digital age doesn’t mean getting rid of technology, it means using it intentionally. By aligning our tech habits with our values, we can reduce stress and regain a sense of control.</p>
<hr>
<h3 id="your-stoic-challenge"><strong>Your Stoic Challenge</strong></h3>
<p>Stoicism is timeless because it’s practical. It gives us the tools to thrive in any era, even one driven by constant change and innovation.</p>
<p>If you’re thinking about giving Stoicism a try, start small.</p>
<p>Here’s a simple challenge:</p>
<p>For one week, practice the “Evening Reflection.” Each night, take 5-10 minutes to ask yourself:</p>
<ol>
<li>What did I do well today?</li>
<li>What could I have done better today?</li>
<li>How can I improve tomorrow?</li>
</ol>
<p>Notice how shifting your focus changes your perspective. You may find yourself less stressed, more productive, and better equipped to handle whatever comes your way.</p>
<p>Or you may just find it&rsquo;s a complete waste of time  ¯_(ツ)_/¯</p>
<p>Regardless, mastering the chaos of a tech-driven world isn’t easy, but with some ancient wisdom, it’s definitely possible.</p>
]]></content>
        </item>
        
        <item>
            <title>The Promise of Blockchain: Ethereum, The World Computer</title>
            <link>https://www.bayosodimu.com/posts/ethereum-the-world-computer/</link>
            <pubDate>Fri, 22 Nov 2024 00:00:00 +0000</pubDate>
            
            <guid>https://www.bayosodimu.com/posts/ethereum-the-world-computer/</guid>
            <description>Imagine your home computer, a Mac or Windows PC, running all your favourite apps: a web browser, a note taking app, maybe even an app for managing finances. All of these apps are installed on your computer with some of the data on your physical computer and some under control of the companies that built the apps.
Now picture a different kind of &amp;ldquo;computer&amp;rdquo;, one that isn&amp;rsquo;t just sitting on your desk or in your pocket, but exists as a network spread over thousands of machines worldwide.</description>
            <content type="html"><![CDATA[<p>Imagine your home computer, a Mac or Windows PC, running all your favourite apps: a web browser, a note taking app, maybe even an app for managing finances. All of these apps are installed on your computer with some of the data on your physical computer and some under control of the companies that built the apps.</p>
<p>Now picture a different kind of &ldquo;computer&rdquo;, one that isn&rsquo;t just sitting on your desk or in your pocket, but exists as a network spread over thousands of machines worldwide. This computer isn&rsquo;t owned by any single person or company, and it’s designed to be extremely difficult to shut down or censor. By shifting applications and data onto a decentralized system, users gain more control over their information and benefit from a network that’s always on and accessible.</p>
<p>This is the main idea behind <a href="https://ethereum.org/en/">Ethereum</a>, often referred to as the &ldquo;World Computer&rdquo;. It&rsquo;s more than a blockchain for sending digital money, it&rsquo;s a platform for building decentralized applications (dApps) that redefine how we handle data, trust and collaborate in the digital age.</p>
<h2 id="smart-contracts-the-game-changer">Smart contracts: The Game Changer</h2>
<p>When Bitcoin introduced the world to decentralized digital currencies, it laid the groundwork for a financial revolution by showing that transactions could be secure and trustless without traditional intermediaries. But Ethereum pushed this concept further. In 2013, Vitalik Buterin and his co-founders came up with the idea for a blockchain capable of running smart contracts, self-executing agreements written in code. These contracts automatically enforce terms when predefined conditions are met, reducing the need for third-parties and lowering transaction costs.</p>
<p>These could be used to build applications, to facilitate:</p>
<ul>
<li><strong>Real Estate:</strong> Transferring property ownership automatically when payment is received</li>
<li><strong>Rent Payments:</strong> Schedule rent deductions without relying on third parties.</li>
<li><strong>Business Transactions:</strong> Secure management of funds among several parties, with transparent rules built directly into the contract.</li>
</ul>
<p>To make all this possible, Ethereum introduced the Ethereum Virtual Machine (EVM), a decentralized computing environment that processes smart contracts consistently across thousands of independent computers around the world. This design ensures transactions are transparent, tamper-proof, and consistent everywhere. The EVM’s success inspired other blockchains like Binance Smart Chain, Sonic(previously Fantom) and Celo to adopt EVM-compatible designs, making Ethereum the foundation of a growing decentralized ecosystem. This innovation is what really made Ethereum into a hub for decentralized apps and paved the way for the new internet era, one where trust is built into the code.</p>
<h2 id="the-reality-check">The Reality Check</h2>
<p>Ethereum’s vision is exciting (at least to me), but it’s still maturing. High network fees (“gas”) can spike under heavy traffic, and managing wallets or private keys can be intimidating for newcomers. Although developers continue searching for a “killer app,” <strong>Decentralized Finance (DeFi)</strong> has emerged as the biggest success so far. Essentially “banking without banks,” DeFi enables anyone to lend, borrow, or trade assets without traditional intermediaries. In places with unreliable banking, DeFi can be a crucial financial lifeline.</p>
<p>Despite the hurdles, the ecosystem is still evolving. <strong>Layer 2 solutions</strong>, like rollups, help to help bundle or offload transactions to reduce fees and congestion. We will cover Layer 2 solutions in another post, however they help to make the network more affordable and efficient. Beyond finance, new decentralized apps are being made in gaming, social media, and other sectors, showing Ethereum’s, and other blockchains, potential beyond money. As these solutions mature, the vision of an internet owned and operated by its users gets even closer to reality.</p>
<h2 id="why-should-you-care">Why Should You Care?</h2>
<p>Even if you&rsquo;re not interested in cryptocurrency or blockchain technology, Ethereum represents something important: a new way of thinking about how we can structure digital systems and agreements that reduces the reliance on middlemen.</p>
<p>Just as the internet changed how we share information, Ethereum and other blockchains might change how we handle digital agreements, ownership, and collaboration. Whether you&rsquo;re a developer, entrepreneur, or just someone interested in technology, understanding Ethereum helps you peek into a possible future of digital interaction, one that puts users in control</p>
]]></content>
        </item>
        
        <item>
            <title>Bits, Bytes, Storage Slots &amp; Forge</title>
            <link>https://www.bayosodimu.com/posts/bits-bytes-storage-slots-and-forge/</link>
            <pubDate>Sat, 28 Sep 2024 00:00:00 +0000</pubDate>
            
            <guid>https://www.bayosodimu.com/posts/bits-bytes-storage-slots-and-forge/</guid>
            <description>Recently, I found myself playing with bit manipulation and modifying storage slots during a fork test.
In hindsight, it was definitely unnecessary, but regardless it was a nice refresher on storage in smart contracts, bit manipulation, and the Foundry toolkit. This was particularly nice for me since I&amp;rsquo;d been focused on the application layer lately.
The Problem The team at Mento Labs recently established a separate governance system for the Mento Protocol, which is currently owned by Celo governance.</description>
            <content type="html"><![CDATA[<p>Recently, I found myself playing with bit manipulation and modifying storage slots during a fork test.</p>
<p>In hindsight, it was definitely unnecessary, but regardless it was a nice refresher on storage in smart contracts, bit manipulation, and the Foundry toolkit. This was particularly nice for me since I&rsquo;d been focused on the application layer lately.</p>
<h3 id="the-problem">The Problem</h3>
<p>The team at Mento Labs recently established a separate governance system for the Mento Protocol, which is currently owned by Celo governance. The new governance structure involved the creation of the MENTO token, along with additional contracts that allow holders to participate in protocol governance. Before deploying these contracts to the Celo mainnet, we first deployed them to the Alfajores testnet and created a suite of tests to ensure the new governance system functioned as expected.</p>
<p>As part of the new Mento governance framework, it was decided to temporarily pause the transferability of the MENTO token until a later date. To acheive this, the OpenZeppelin <code>Pausable</code> contract module was used. The contract was created in a paused state, meaning that token transfers are initially disabled and would only be allowed once the contract was unpaused. A public method was added to unpause the contract, which can only be called by the contract&rsquo;s owner(Mento governance in this case). Importantly, after the contract is unpaused, it can&rsquo;t be paused again, ensuring that transfers remain permanently enabled once governance decides to allow them.</p>
<p>To make sure the pausability functioned as expected, tests were included specifically for the paused transferability, along with other tests that assumed the token would remain non-transferable. After completing these tests, we moved on to create and execute some on-chain test governance proposals, one of which involved enabling the transferability of the MENTO token on Alfajores.</p>
<p>This worked as expected but introduced a problem:</p>
<ol>
<li>Our fork test relied on the token being non-transferable.</li>
<li>After completing the tests, we submitted and passed a proposal on Alfajores unpause the token and enable transferability.</li>
<li>Since we were forking from Alfajores, the tests now failed because the token had become transferable, and there was no function to disable it again</li>
</ol>
<h3 id="the-solution">The Solution</h3>
<p>So here&rsquo;s what I should have done.</p>
<p>These tests were using a local Hardhat forked node. By default, Hardhat forks from a recent block, which is fine in some cases, but for consistent behavior in your tests, you typically want the state to remain the same. If the state changes between test runs, one day(or one block) your tests could be green, and the next day they might be red, which is exactly what happened to us.</p>
<p>Hardhat allows you to pin your fork to a specific block number, ensuring consistent state and behavior. The problem could have easily been fixed by pinning the fork to the block of or after the token contract was deployed. This is a one line change in the hardhat config file.</p>
<p>The hardhat config file:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span><span style="color:#960050;background-color:#1e0010">hardhat:</span> {
</span></span><span style="display:flex;"><span>	<span style="color:#960050;background-color:#1e0010">forking:</span> <span style="color:#960050;background-color:#1e0010">{</span>
</span></span><span style="display:flex;"><span>		<span style="color:#960050;background-color:#1e0010">enabled:</span> <span style="color:#960050;background-color:#1e0010">true,</span>
</span></span><span style="display:flex;"><span>		<span style="color:#960050;background-color:#1e0010">url:</span> <span style="color:#960050;background-color:#1e0010">getNetworkConfig().url,</span>
</span></span><span style="display:flex;"><span>	}<span style="color:#960050;background-color:#1e0010">,</span>
</span></span></code></pre></div><p>The hardhat config file with the block number to pin the fork:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span><span style="color:#960050;background-color:#1e0010">hardhat:</span> {
</span></span><span style="display:flex;"><span>	<span style="color:#960050;background-color:#1e0010">forking:</span> <span style="color:#960050;background-color:#1e0010">{</span>
</span></span><span style="display:flex;"><span>		<span style="color:#960050;background-color:#1e0010">enabled:</span> <span style="color:#960050;background-color:#1e0010">true,</span>
</span></span><span style="display:flex;"><span>		<span style="color:#960050;background-color:#1e0010">url:</span> <span style="color:#960050;background-color:#1e0010">getNetworkConfig().url,</span>
</span></span><span style="display:flex;"><span>		<span style="color:#960050;background-color:#1e0010">blockNumber:</span> <span style="color:#960050;background-color:#1e0010">24195241</span>
</span></span><span style="display:flex;"><span>	}<span style="color:#960050;background-color:#1e0010">,</span>
</span></span></code></pre></div><p>Problem solved.</p>
<p>But I didn&rsquo;t do this and went down another route.</p>
<h3 id="the-long-way">The long way</h3>
<p>So, since this was a fork test and not run on the actual blockchain, it’s possible to directly modify storage with Hardhat in the tests without needing a specific function call in the smart contract.</p>
<p>Using a locally forked Hardhat node, we can directly write to the contract&rsquo;s storage.<br>
However, this is only part of the solution. Before writing to storage, we need to determine two things: what data to write and where to write it.</p>
<p>Before going into that, a quick primer on smart contract storage.</p>
<h4 id="smart-contract-storage">Smart Contract Storage</h4>
<p>Smart contracts deployed on EVM-compatible chains have persistent storage, similar to how databases store data for later retrieval. Unlike relational databases like SQL, smart contract storage is not relational. Instead, it consists of 2^256 storage slots, each 32 bytes in size. Variables are stored in these slots sequentially based on the order they&rsquo;re defined in the contract, including variables from inherited contracts. Each variable usually occupies one full slot(32 bytes) unless smaller variables can be packed together (e.g., multiple <code>uint8</code> variables can be stored within the same slot if their combined size is 32 bytes or less). This packing is done by the Solidity compiler to optimize storage usage.</p>
<p>So, to move forward with this, I needed to figure out which storage slot the <code>paused</code> variable was stored in.</p>
<h4 id="which-storage-slot">Which Storage Slot?</h4>
<p>Foundry is like the swiss army knife you need for blockchain development. It comes with a number of command line tools you can use to help with anything, from performing RPC calls to running a local node or inspecting a contracts storage, Foundry has you covered.</p>
<p>Using Forge, we can examine the actual storage layout of a smart contract. The <code>forge inspect</code> command makes this easy. With the command below, I’m able to view the storage layout of the MentoToken contract:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>forge inspect MentoToken storage-layout --pretty
</span></span></code></pre></div><p>The output of this command shows the layout of the MentoToken contract:<br>
<img src="https://res.cloudinary.com/dl0ui9shk/image/upload/v1724902448/Blog/Pasted_image_20240824220659.png" alt="Forge inspect output"></p>
<p>Let&rsquo;s break down some of this information:</p>
<ol>
<li><strong>Bytes</strong>: This column shows the number of bytes each variable uses in storage.
<ul>
<li>An <code>address</code> takes up 20 bytes</li>
<li>A <code>bool</code> takes up 1 byte</li>
<li>A <code>uint256</code> takes up 32 bytes (256 bits = 32 bytes)</li>
<li>Mappings and strings are more complex and are represented as taking up 32 bytes, but they actually use more space dynamically</li>
</ul>
</li>
<li><strong>Offset</strong>: This column shows the starting position of each variable within its slot.
<ul>
<li>Each slot is 32 bytes (256 bits) long</li>
<li>The offset is the number of bytes from the start of the slot where the variable begins</li>
</ul>
</li>
<li><strong>Slot</strong>: This column indicates which 32-byte slot the variable is stored in.</li>
</ol>
<p>Using this info, we can see that the <code>_paused</code> bool is stored at slot 0 with an offset of 20. This means it starts 20 bytes into the first storage slot. Notice that this is the same slot as the <code>_owner</code> address, which takes up the first 20 bytes of slot 0.</p>
<p>This layout shows how Solidity optimizes storage usage:</p>
<ul>
<li>The <code>_owner</code> address (20 bytes) and <code>_paused</code> bool (1 byte) are packed together in the same 32-byte slot to save space.</li>
<li>Larger variables like <code>uint256</code> and mappings each get their own slot, starting at offset 0.</li>
</ul>
<h4 id="byte-manipulation">Byte Manipulation</h4>
<p>As mentioned above, the Solidity compiler packs variables together in storage slots to save space. In our case, both the <code>owner</code> and the <code>paused</code> bool are stored in the same slot.</p>
<p>The layout of the slot looks like this:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#f92672">[</span> padding <span style="color:#f92672">(</span><span style="color:#ae81ff">11</span> bytes<span style="color:#f92672">)</span> <span style="color:#f92672">][</span> _paused <span style="color:#f92672">(</span><span style="color:#ae81ff">1</span> byte<span style="color:#f92672">)</span> <span style="color:#f92672">][</span> owner <span style="color:#f92672">(</span><span style="color:#ae81ff">20</span> bytes<span style="color:#f92672">)</span> <span style="color:#f92672">]</span>
</span></span></code></pre></div><p>In EVM storage, values are right-aligned within their slot. This means:</p>
<ul>
<li>The <code>owner</code> address is stored in the rightmost 20 bytes of the slot.</li>
<li>The <code>paused</code> boolean is stored in the 21st byte of the storage slot.</li>
<li>The remainder is padding, as the slot takes up 32 bytes total.</li>
</ul>
<p>To update the value of the <code>paused</code> bool, we need to modify the 21st byte without changing any other bytes.</p>
<p>First, we read the current value of the storage slot and convert it to a BigInt for precise 256-bit manipulation:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-typescript" data-lang="typescript"><span style="display:flex;"><span><span style="color:#75715e">// Read the current value of slot 0
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span><span style="color:#66d9ef">const</span> <span style="color:#a6e22e">currentSlotValue</span> <span style="color:#f92672">=</span> <span style="color:#66d9ef">await</span> <span style="color:#a6e22e">ethers</span>.<span style="color:#a6e22e">provider</span>.<span style="color:#a6e22e">getStorage</span>(<span style="color:#a6e22e">mentoTokenAddress</span>,<span style="color:#ae81ff">0</span>,);
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#75715e">// Convert the hex string to a bigint for easier manipulation
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span><span style="color:#66d9ef">let</span> <span style="color:#a6e22e">slotValueBigInt</span> <span style="color:#f92672">=</span> <span style="color:#a6e22e">BigInt</span>(<span style="color:#a6e22e">currentSlotValue</span>);
</span></span></code></pre></div><p>Then, we perform the bitwise manipulation to update the _paused boolean:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-typescript" data-lang="typescript"><span style="display:flex;"><span><span style="color:#75715e">// Set the _paused byte (21st byte) to 1 without modifying the _owner address
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span><span style="color:#a6e22e">slotValueBigInt</span> <span style="color:#f92672">=</span> <span style="color:#a6e22e">slotValueBigInt</span> <span style="color:#f92672">|</span> (<span style="color:#a6e22e">BigInt</span>(<span style="color:#ae81ff">1</span>) <span style="color:#f92672">&lt;&lt;</span> <span style="color:#a6e22e">BigInt</span>(<span style="color:#ae81ff">160</span>));
</span></span></code></pre></div><p>This operation uses a bitwise OR (<code>|</code>) with a left-shifted <code>1</code> to target the byte where <code>_paused</code> is stored. By shifting <code>1</code> left by 160 bits (20 bytes), we position the <code>1</code> exactly at the start of the 21st byte. This sets the <code>_paused</code> boolean to <code>true</code> by modifying the entire byte without affecting the <code>_owner</code> address.</p>
<p>Finally, we convert the modified value back to a 32-byte hex string and update the contract&rsquo;s storage:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-typescript" data-lang="typescript"><span style="display:flex;"><span><span style="color:#66d9ef">const</span> <span style="color:#a6e22e">newSlotValue</span> <span style="color:#f92672">=</span> <span style="color:#a6e22e">ethers</span>.<span style="color:#a6e22e">toBeHex</span>(<span style="color:#a6e22e">slotValueBigInt</span>, <span style="color:#ae81ff">32</span>);
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">await</span> <span style="color:#a6e22e">ethers</span>.<span style="color:#a6e22e">provider</span>.<span style="color:#a6e22e">send</span>(<span style="color:#e6db74">&#39;hardhat_setStorageAt&#39;</span>, [
</span></span><span style="display:flex;"><span>  <span style="color:#a6e22e">mentoTokenAddress</span>,
</span></span><span style="display:flex;"><span>  <span style="color:#e6db74">&#39;0x0&#39;</span>, <span style="color:#75715e">// slot 0
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span>  <span style="color:#a6e22e">newSlotValue</span>,
</span></span><span style="display:flex;"><span>]);
</span></span></code></pre></div><p>So with this approach, I was able to create a function that unpaused the MentoToken before the tests were run.</p>
<p>Modifying storage slots wasn’t the most straightforward solution, however diving into the details of EVM storage was a nice exercise. It reminded me of the importance of understanding how data is managed under the hood, especially when working with smart contracts and ensuring tests run smoothly across different environments.</p>
]]></content>
        </item>
        
        <item>
            <title>Are blockchain and cryptocurrency the same thing?</title>
            <link>https://www.bayosodimu.com/posts/are-blockchain-and-cryptocurrency-the-same-thing/</link>
            <pubDate>Thu, 18 Jul 2024 00:00:00 +0000</pubDate>
            
            <guid>https://www.bayosodimu.com/posts/are-blockchain-and-cryptocurrency-the-same-thing/</guid>
            <description>A question that often comes up in discussions about blockchain is, &amp;ldquo;Are blockchain and cryptocurrencies the same thing?&amp;rdquo; If you&amp;rsquo;ve ever wondered about this yourself, you&amp;rsquo;re not alone. This short post will help clarify the difference between these two related but distinct concepts. By the end, you should have a clear understanding of how blockchain and cryptocurrencies relate to each other.
The short answer For those who want the quick version: No, blockchain and cryptocurrencies are not the same thing.</description>
            <content type="html"><![CDATA[<p>A question that often comes up in discussions about blockchain is, &ldquo;Are blockchain and cryptocurrencies the same thing?&rdquo; If you&rsquo;ve ever wondered about this yourself, you&rsquo;re not alone. This short post will help clarify the difference between these two related but distinct concepts. By the end, you should have a clear understanding of how blockchain and cryptocurrencies relate to each other.</p>
<h3 id="the-short-answer">The short answer</h3>
<p>For those who want the quick version: No, blockchain and cryptocurrencies are not the same thing.</p>
<p>Here&rsquo;s a simple analogy to help explain:</p>
<p>Blockchain is like an engine, while cryptocurrencies are just one type of vehicle that engine can power. Blockchain is the underlying technology, and cryptocurrencies are one of its many potential applications.</p>
<p>If that satisfies your curiosity, you can stop here. But if you want to understand the difference in a little more depth without getting too technical, read on.</p>
<h3 id="so-what-is-a-blockchain">So, what is a blockchain?</h3>
<p>At its core, you could say a blockchain is a special type of database that records transactions across a network of computers. But what makes it unique?</p>
<p><strong>Distributed</strong>: Unlike traditional databases controlled by a single authority, a blockchain is spread across multiple computers. This makes it a type of <a href="https://www.bayosodimu.com/posts/understanding-blockchain-basics/#distributed-ledger-technology">&ldquo;distributed ledger technology.&rdquo;</a></p>
<p><strong>Secure and Immutable</strong>: Information on a blockchain is extremely difficult to change or hack. Here&rsquo;s why:
Transactions are grouped into &ldquo;blocks.&rdquo; Each new block is connected to the previous one, forming a chain. To change data in one block, you&rsquo;d need to change all the subsequent blocks too - a nearly impossible task.</p>
<p><strong>Transparent</strong>: Anyone can view the transactions on most blockchains, though the identities behind the transactions are often anonymous.</p>
<p><strong>Decentralized</strong>: No single entity controls the entire network. This distributed control is a key feature that sets blockchain apart.</p>
<p>Blockchain technology was first introduced with Bitcoin in 2009, but it has since evolved to have numerous applications beyond cryptocurrencies. Today, it has applications in finance, supply chain management, digital identity and more.</p>
<p>Here are some examples of well-known blockchains:</p>
<ul>
<li><strong>Bitcoin</strong>: The first and most famous blockchain, primarily used for digital currency.</li>
<li><strong>Ethereum</strong>: Known for its ability to run &ldquo;smart contracts&rdquo; and host other cryptocurrencies.</li>
<li><strong>Avalanche</strong>: Focuses on fast transaction speeds and low costs.</li>
<li><strong>Tron</strong>: Popular for decentralized applications (dApps) and digital content.</li>
<li><strong>Celo</strong>: Aims to increase financial inclusion through mobile-first design.</li>
</ul>
<p>For a more complete list of blockchains, you can check out the chains list on <a href="https://defillama.com/chains">DefiLlama</a>.</p>
<h3 id="cryptocurrencies">Cryptocurrencies</h3>
<p>Cryptocurrencies(crypto) are a form of digital asset that <strong>only exists</strong> on blockchains. When people speak about cryptocurrencies, there&rsquo;s usually no actual distinction mentioned between the different types. However, there are various types, each with a specific purpose.</p>
<p>Here is a simple breakdown:</p>
<p><strong>Native Tokens</strong>: These are digital currencies like Bitcoin (BTC), Ether (ETH) and Celo (CELO). These operate on their own blockchain networks and function mainly as a medium of exchange or a unit of account.</p>
<p><strong>Tokens</strong>: These are built on existing blockchain platforms (like Ethereum) but do not have their own blockchain. They can represent various assets or rights and are used in specific ecosystems. Utility tokens, which give holders access to a product or service within a specific platform or network, fall under this category.</p>
<p><strong>Governance Tokens</strong>: These are tokens designed to give holders voting rights within a decentralized organization or protocol. Holders can vote on changes or proposals related to the project development. Examples include Uniswap&rsquo;s <a href="https://uniswap.org/governance">UNI token</a> and Mento protocol&rsquo;s <a href="https://forum.celo.org/t/mento-spin-off-and-launch-of-the-mento-token/7747">MENTO token</a>.</p>
<p><strong>Stablecoins</strong>: These tokens are designed to maintain a stable value by maintaining a peg to an asset like the US dollar or gold. Examples include Tether (USDT) and the Celo Kenyan Shilling (<a href="https://reserve.mento.org/">cKES</a>).</p>
<p><strong>Security Tokens</strong>: These represent asset ownership, such as company or real estate shares. They are subject to securities regulations and give holders certain rights, like dividends or voting power.</p>
<p><strong>Memecoins</strong>: These are tokens that are created inspired by memes or internet culture. In most cases they have no use case. Memecoins have gained a lot of popularity, however they carry significant risk due to their speculative nature and lack of fundamental value.</p>
<p>It&rsquo;s important to note that all types of cryptocurrencies, not just memecoins, can be subject to scams and high volatility. Always do research and understand the risks before investing.</p>
<h3 id="blockchain--cryptocurrencies">Blockchain &amp; Cryptocurrencies</h3>
<p>Now that we&rsquo;ve explored both blockchain and cryptocurrencies, it should be crystal clear that they&rsquo;re not the same thing. Blockchain is the underlying technology, while cryptocurrencies are just one of its many applications.</p>
<p>An important point to remember is that blockchains can exist without cryptocurrencies, but cryptocurrencies can&rsquo;t exist in their current form without blockchain technology.</p>
<p>It&rsquo;s important to note that there are multiple types of both blockchains and cryptocurrencies, each with its own characteristics.</p>
<p>Multiple blockchains: Bitcoin, Ethereum, Avalanche, Tron, Celo, and many more are all developing their own versions of blockchain technology.</p>
<p>Various cryptocurrencies: From Bitcoin to utility tokens, stablecoins, governance tokens, and even meme coins like Dogecoin.</p>
<p>Each blockchain and each cryptocurrency has its own unique features and use cases.
So, the next time someone asks you if blockchain and cryptocurrencies are the same thing, you can confidently explain the difference.</p>
]]></content>
        </item>
        
        <item>
            <title>The Promise of Blockchain: Bitcoin Fundamentals</title>
            <link>https://www.bayosodimu.com/posts/bitcoin-fundamentals/</link>
            <pubDate>Fri, 10 May 2024 00:00:00 +0000</pubDate>
            
            <guid>https://www.bayosodimu.com/posts/bitcoin-fundamentals/</guid>
            <description>This is the third post in the series &amp;ldquo;The Promise of Blockchain.&amp;rdquo; If you haven&amp;rsquo;t read the others, you can find them here.
In the last post we looked at how Bitcoin came to be, what it&amp;rsquo;s intended use case was and how it&amp;rsquo;s currently performing for that use case. The goal of this post is to simply help you understand three fundamental features of Bitcoin so that you understand why it&amp;rsquo;s such a big deal today.</description>
            <content type="html"><![CDATA[<p>This is the third post in the series &ldquo;The Promise of Blockchain.&rdquo; If you haven&rsquo;t read the others, you can find them <a href="https://www.bayosodimu.com/series/the-promise-of-blockchain/">here</a>.</p>
<p>In the <a href="https://www.bayosodimu.com/posts/the-birth-of-bitcoin/">last post</a> we looked at how Bitcoin came to be, what it&rsquo;s intended use case was and how it&rsquo;s currently performing for that use case. The goal of this post is to simply help you understand three fundamental features of Bitcoin so that you understand why it&rsquo;s such a big deal today.</p>
<h3 id="peer-to-peer-network">Peer to Peer Network</h3>
<p>At the core of Bitcoin&rsquo;s design is it&rsquo;s <a href="https://bitcoinwiki.org/wiki/peer-to-peer">peer to peer network</a>. In this network, information is shared directly between participants instead of going through a central point.</p>
<p><img src="https://bitcoinwiki.org/wp-content/uploads/2023/12/Peer-to-peer.png" alt="P2P"></p>
<p>Here&rsquo;s how it works:</p>
<ol>
<li>When you send a Bitcoin transaction, you don’t send it directly to the recipient. Instead, you broadcast it to the entire Bitcoin network.</li>
<li>This broadcast is picked up by computers around the world, called nodes. These nodes pass the information along, ensuring it remains accurate as it spreads across the network.</li>
<li>Special participants in the network, called miners, gather these transactions and work to add them to the blockchain by creating blocks. This process involves verifying the transactions and solving a complex puzzle. Once a block is successfully mined, the transactions it contains are confirmed and permanently added to the blockchain.</li>
<li>After validation, your transaction becomes an unchangeable part of Bitcoin’s public ledger, visible to all but controlled by no one.</li>
</ol>
<p>This system removes the need for a central authority like a bank to oversee and verify transactions. It&rsquo;s what makes Bitcoin decentralized and resistant to control by any single entity.</p>
<h3 id="proof-of-work-consensus-mechanism">Proof of Work Consensus Mechanism</h3>
<p>While the peer to peer network enables transactions, it&rsquo;s the consensus mechanism that ensures the security and integrity of the Blockchain. Proof-of-Work(PoW) is the <a href="https://www.kraken.com/learn/what-is-blockchain-consensus-mechanism">consensus mechanism</a> used by the Bitcoin network to determine which miner gets to add the next block of validated transactions to the blockchain.</p>
<p>Imagine the Bitcoin network as a giant, global race. Every 10 minutes, a new race starts. The participants are computers all around the world, running special Bitcoin software. These computers are called miners.</p>
<p>Here&rsquo;s how the PoW mechanism works:</p>
<ol>
<li><strong>Transaction Broadcast</strong>: When you make a Bitcoin transaction, it gets broadcast to the network and joins a pool of unconfirmed transactions, aka the <a href="https://coinmarketcap.com/academy/glossary/mempool">mempool</a></li>
<li><strong>Block Creation</strong>: Miners gather these transactions and package them into what we call a &ldquo;block.&rdquo;</li>
<li><strong>Puzzle Solving</strong>: Miners must solve a complex mathematical puzzle to add this block to the blockchain (our public ledger). This puzzle is designed to be hard to solve but easy to verify.</li>
<li><strong>Competition</strong>: Miners around the world compete to solve this puzzle first. The first one to solve it gets the right to add the new block to the blockchain.</li>
<li><strong>Rewards</strong>: The winning miner gets some newly created bitcoin as a reward for their effort (and electricity bill). This is how new Bitcoin enters circulation.</li>
</ol>
<p>So what&rsquo;s the point in even going through all of this?🤔 Well, it&rsquo;s Bitcoin&rsquo;s way of ensuring security and consensus without a central authority.</p>
<p>This is why it works:</p>
<ul>
<li><strong>Deterring Cheating</strong>: It&rsquo;s expensive and time-consuming to participate, which deters cheating.</li>
<li><strong>Difficulty Adjustment</strong>: The puzzle&rsquo;s difficulty <a href="https://www.coindesk.com/learn/bitcoin-mining-difficulty-everything-you-need-to-know/">adjusts automatically</a> to ensure blocks are added at a consistent rate, regardless of how much computing power is used.</li>
<li><strong>Security</strong>: Once a block is added, it&rsquo;s computationally impractical to alter it without redoing all the work for that block and all blocks after it.</li>
</ul>
<p>This system makes tampering with the Bitcoin ledger very difficult and expensive. To cheat the system, you&rsquo;d need to control more than half of the network&rsquo;s computing power—a scenario that&rsquo;s economically just not practical.</p>
<p>In essence, Proof-of-Work replaces trust in a central authority with trust in the laws of mathematics and economics. It keeps Bitcoin secure and trustworthy without needing a bank or government to oversee it.</p>
<h3 id="limited-supply-21-million-cap">Limited Supply (21 Million Cap)</h3>
<p>You&rsquo;ve probably heard that governments can print money whenever they want.</p>
<p><img src="https://res.cloudinary.com/dl0ui9shk/image/upload/v1723328260/Blog/money-printer-go-brr-jerome-powell.gif" alt="Animated GIF of Jerome Powell, chair of the Federal Reserve, operating a money printing machine" title="Money Printer Go Brrr"></p>
<p>Need to pay for a war? Print money. Economic crisis? Print money. This ability to create currency out of thin air is why you hear people complain about inflation and the decreasing value of money over time. But Bitcoin? It plays by different rules.</p>
<p>Bitcoin has a fixed supply cap of 21 million. That&rsquo;s it. No more, no less. This isn&rsquo;t just a promise or a policy - it&rsquo;s hardcoded into Bitcoin&rsquo;s DNA. Here&rsquo;s how it works:</p>
<ol>
<li><strong>Controlled Release</strong>: New Bitcoin is created as a reward for miners (remember those special participants solving complex puzzles?). But these rewards aren&rsquo;t constant.</li>
<li><strong>Halving Events</strong>: Every 210,000 blocks (roughly every four years), the reward for mining a block is cut in half. This is called a &ldquo;<a href="https://www.investopedia.com/bitcoin-halving-4843769">halving</a>.&rdquo;</li>
<li><strong>Diminishing Supply</strong>: At the time of writing, miners get 3.125 bitcoins per block. In 2028, it&rsquo;ll be 1.526. This halving continues until all 21 million bitcoins are mined.</li>
<li><strong>Final Bitcoin</strong>: Based on this schedule, the last bitcoin is expected to be mined around the year 2140.</li>
</ol>
<p>So why is this limited supply such a big deal?</p>
<p><strong>Scarcity:</strong> Bitcoin’s limited supply is often compared to gold. Just as there’s a finite amount of gold on Earth, there will never be more than 21 million bitcoins in existence. This scarcity is a key factor in determining Bitcoin&rsquo;s value.</p>
<p><strong>Predictability</strong>: Unlike <a href="https://www.investopedia.com/terms/f/fiatmoney.asp#:~:text=Fiat%20money%20is%20a%20government%2Dissued%20currency%20that%20is%20not,U.S.%20dollar%2C%20are%20fiat%20currencies.">fiat currencies</a>, everyone knows exactly how many bitcoins will ever exist.</p>
<p><strong>Inflation Resistance</strong>: No government or central bank can decide to &ldquo;print&rdquo; more bitcoin, potentially protecting it from inflation.</p>
<p>It&rsquo;s important to note that scarcity alone does not automatically guarantee value. The value of Bitcoin, similar to any currency or asset, ultimately relies on people perceiving it as valuable and being willing to use or invest in it.</p>
<p>In essence, Bitcoin&rsquo;s limited supply is a huge shift from how we&rsquo;ve traditionally thought about money. It&rsquo;s an experiment in digital scarcity that aims to create a new kind of &ldquo;<a href="https://www.soundmoneydefense.org/sound-money-explained">sound money</a>&rdquo; tailored for the digital age.</p>
<h3 id="wrapping-up">Wrapping Up</h3>
<p>Bitcoin&rsquo;s fundamental features—peer-to-peer networking, Proof of Work consensus, and limited supply—have revolutionized our concept of money since its 2009 beginnings. From the first real-world transaction of <a href="https://www.investopedia.com/news/bitcoin-pizza-day-celebrating-20-million-pizza-order/">10,000 BTC for two pizzas</a> in 2010, to its current status as a global financial phenomenon, Bitcoin has consistently challenged traditional notions of currency and value. While Bitcoin opened the door to decentralized digital currencies, it was just the beginning of the blockchain revolution.</p>
<p>In the next post, we&rsquo;ll explore how Ethereum built upon Bitcoin&rsquo;s foundation, introducing the concept of a &ldquo;world computer&rdquo; and smart contracts. These innovations expanded blockchain&rsquo;s potential, enabling a wide range of applications far beyond digital currency and setting the stage for a new era of decentralized technology.</p>
]]></content>
        </item>
        
        <item>
            <title>The Promise of Blockchain: The Birth of Bitcoin</title>
            <link>https://www.bayosodimu.com/posts/the-birth-of-bitcoin/</link>
            <pubDate>Fri, 01 Mar 2024 00:00:00 +0000</pubDate>
            
            <guid>https://www.bayosodimu.com/posts/the-birth-of-bitcoin/</guid>
            <description>This is the second post in the series &amp;ldquo;The Promise of Blockchain.&amp;rdquo; If you haven&amp;rsquo;t read the others, you can find them here.
2008, the year the global economy went skydiving without a parachute. Banks were handing out mortgages like they were free samples at a shopping center.
Back then, borrowers could get 100% mortgages without proving any income, jobs, or assets. NINJA loans (no income, no job, and no assets) is what they were called, and they significantly contributed to the subprime mortgage crisis.</description>
            <content type="html"><![CDATA[<p>This is the second post in the series &ldquo;The Promise of Blockchain.&rdquo; If you haven&rsquo;t read the others, you can find them <a href="https://www.bayosodimu.com/series/the-promise-of-blockchain/">here</a>.</p>
<p>2008, the year the global economy went skydiving without a parachute. Banks were handing out mortgages like they were free samples at a shopping center.</p>
<p><img src="https://res.cloudinary.com/dl0ui9shk/image/upload/v1722572855/Blog/mortgage.jpg" alt="Mortgages"></p>
<p>Back then, borrowers could get 100% mortgages without proving any income, jobs, or assets. <a href="https://www.investopedia.com/terms/n/ninja-loan.asp">NINJA loans</a> (no income, no job, and no assets) is what they were called, and they significantly contributed to <a href="https://en.wikipedia.org/wiki/Subprime_mortgage_crisis">the subprime mortgage crisis</a>. Risky mortgages like these were bundled into complex financial instruments and sold to investors worldwide. When the housing market eventually crashed, these securities tanked in value, leading to huge financial losses.</p>
<p>People lost their jobs, their homes, and watched their life savings evaporate.</p>
<p>This crisis exposed significant flaws in the financial system, particularly the lack of transparency, which hid the risks associated with these complex financial instruments. The centralization of power within a handful of large financial institutions concentrated risk, meaning that the failure of one institution could trigger a systemic crisis. And as we know, that&rsquo;s exactly what happened.</p>
<p>These were grim times and needed <a href="https://en.wikipedia.org/wiki/Government_intervention_during_the_subprime_mortgage_crisis">government intervention</a> to bail out the banks deemed <a href="https://en.wikipedia.org/wiki/Too_big_to_fail">&ldquo;too big to fail.&rdquo;</a> While this intervention brought some stability, it also led to serious public distrust in traditional financial institutions. It was during this period of uncertainty and distrust that Satoshi Nakamoto published <a href="https://bitcoin.org/bitcoin.pdf">the Bitcoin white paper</a> on October 31, 2008.</p>
<hr>
<h3 id="the-birth-of-bitcoin">The Birth of Bitcoin</h3>
<p>Nobody knows the real identity of Satoshi Nakamoto. We don&rsquo;t even know if this name refers to an individual or a group of people. All we know is that the timing of Bitcoin&rsquo;s introduction was almost perfect: it came out during a crisis of trust in financial institutions, almost like a middle finger to centralized power in the financial system. Bitcoin offered an innovative alternative when the world was primed for new financial solutions.</p>
<p><img src="https://res.cloudinary.com/dl0ui9shk/image/upload/v1722098452/Blog/rise_of_bitcoin.webp" alt="The birth of Bitcoin"></p>
<p>You&rsquo;ve probably seen, or even know, people who&rsquo;ve made massive gains from buying Bitcoin. But Bitcoin wasn&rsquo;t made for speculation or investment purposes. In simple terms, Bitcoin was designed to enable direct payments between parties without the need for a central authority like a bank or financial institution. But what is Bitcoin?</p>
<h3 id="blockchain-or-cryptocurrency">Blockchain or Cryptocurrency</h3>
<p><img src="https://res.cloudinary.com/dl0ui9shk/image/upload/v1722523431/Blog/bitcoin-crypto-blockchain.jpg" alt="Blockchain or Crypto"></p>
<p>Bitcoin is both a blockchain network and the name of the digital currency that operates on that network. You can think of Bitcoin as a huge, global system - like the internet, but specifically for a digital currency. This system includes all the computers running Bitcoin software, the rules they follow, and the connections between them. This is the Bitcoin network.</p>
<p>The digital &ldquo;coins&rdquo; that people buy, sell, and trade are also called Bitcoin. These Bitcoin exist as entries in a distributed ledger on the Bitcoin network. When we say Bitcoins are &ldquo;sent&rdquo; or &ldquo;received,&rdquo; what&rsquo;s actually happening is that the ledger is being updated to reflect changes in account balances. There are no physical coins or even individual digital tokens moving around - it&rsquo;s all about adjusting numbers in this shared, decentralized ledger.</p>
<p>So if we say &ldquo;Bitcoin operates on a network,&rdquo; we&rsquo;re actually talking about Bitcoin (the crypto currency) operating on the Bitcoin network. It&rsquo;s a bit like saying &ldquo;email operates on the internet&rdquo; - email is both the system(technically called <a href="https://www.cloudflare.com/learning/email-security/what-is-smtp/#:~:text=The%20Simple%20Mail%20Transfer%20Protocol%20(SMTP)%20is%20a%20technical%20standard,their%20underlying%20hardware%20or%20software.">SMTP</a>) and the thing being sent through that system.</p>
<p>This dual nature of Bitcoin being both a network and a currency isn&rsquo;t unique to Bitcoin. It&rsquo;s a common thing in the blockchain world. Some blockchain networks have what&rsquo;s called a native token, like Bitcoin, which is usually named after the network itself. The native token acts as a reward for the computers (nodes) that keep the network running, is used to pay transaction fees on the network, and it often functions as a tradable digital asset. Think of it as the &lsquo;official currency&rsquo; of that particular blockchain network.</p>
<p>In some other cases the native token will have a name that is different to the name of the network. For example, Ethereum, another blockchain network we&rsquo;ll talk about in future posts, has a native token called Ether serving similar functions there as Bitcoin does on its network.</p>
<p>As a decentralized digital currency, Bitcoin&rsquo;s potential to facilitate financial transactions becomes clear when we look at real-world scenarios.</p>
<h3 id="shelly-anns-story">Shelly-Ann&rsquo;s Story</h3>
<p>Shelly-Ann, a 32-year-old second generation Jamaican immigrant living in London, sends £100 monthly to her family in Jamaica via a high street money transfer service. Here&rsquo;s how it breaks down:</p>
<ol>
<li>The money transfer service deducts a transfer fee of £2</li>
<li>They use their exchange rate: 1 GBP = 197.90 JMD (vs. mid-market rate of 1 GBP = 200.911 JMD) to convert the pounds to Jamaican dollars</li>
<li>Amount received: 19,394 JMD</li>
</ol>
<p>The transfer would usually be completed in about 1-5 days.</p>
<p><img src="https://res.cloudinary.com/dl0ui9shk/image/upload/v1722529148/Blog/Shelly-jn-time.png" alt="Money transfer service"></p>
<p>Shelly-Ann loses about £3.47 to fees and exchange rate markup. £98 worth of Jamaican dollars (at the transfer service&rsquo;s exchange rate) reaches her family, which is equivalent to £96.53 at the true exchange rate, despite her sending £100. These numbers were taken from the <a href="https://www.jnmoneytransfer.com/Web/TransferCalculator/Index">transfer calculator</a> on the JN money transfer website. Whether or not this transfer is expensive is subjective, but you could think about how much it would cost you to transfer the same amount in your home country to a friend.</p>
<p>The key points here are:</p>
<ul>
<li>There is a reliance on a centralised service. Money transfer services, or any middleman, can charge whatever fees they want to facilitate the transfer. These fees are usually higher for remote or less developed countries.</li>
<li>The transfer time is long. This could be problematic especially in times of emergency</li>
</ul>
<p>If Shelly-Ann were to use Bitcoin instead, she would need to do the following:</p>
<ol>
<li>
<p><strong>Buy Bitcoin using a crypto exchange:</strong> These platforms, similar to high street currency exchanges, operate online and allow people to exchange fiat currencies for cryptocurrencies and vice-versa. Examples include Kraken, Coinbase, and Binance. The fees for buying Bitcoin vary depending on the platform and payment method used. For example, using a bank transfer might incur fees around 0.1% to 1.49%, while using a credit or debit card could result in higher fees, sometimes between 3.5% and 5%.</p>
</li>
<li>
<p><strong>Send Bitcoin to her family&rsquo;s Bitcoin wallet in Jamaica:</strong> This transaction would include a network fee which, at the time of writing, is <a href="https://www.theblock.co/data/on-chain-metrics/bitcoin/average-transaction-fee-on-bitcoin-7dma">on average $1.12</a> (about 0.000017299296 BTC)</p>
</li>
<li>
<p><strong>Sell Bitcoin for Jamaican Dollars:</strong> Once the family receives the Bitcoin, they would need to sell it for Jamaican dollars using a local crypto exchange, which would charge similar fees to buying Bitcoin</p>
</li>
</ol>
<p>Here&rsquo;s how her £100 transfer might look:</p>
<ol>
<li>Exchange fee to buy Bitcoin with GBP: £1.49 (1.49% fee)</li>
<li>GBP to BTC exchange rate: 1 GBP = 0.0000188766 BTC</li>
<li>BTC Received: 0.001859534681193 BTC</li>
<li>Bitcoin network fee: 0.000017299296 BTC</li>
<li>Exchange fee to sell Bitcoin for JMD: 0.000027449307 BTC (1.49% of remaining BTC)</li>
<li>BTC amount after fees: 0.001814786078193 BTC</li>
<li>BTC to JMD exchange rate: 1 BTC = 10,636,600 JMD</li>
<li>Final JMD received: 19,303 JMD</li>
</ol>
<p>The transfer would usually be completed in about 10-60 minutes.</p>
<p>The time a Bitcoin transfer takes depends on a couple of factors. This <a href="https://coinmarketcap.com/academy/article/how-long-does-a-bitcoin-transaction-take">article</a> does a good job of explaining them.</p>
<p><img src="https://res.cloudinary.com/dl0ui9shk/image/upload/v1722565616/Blog/Shelly-btc-time-updated.png" alt="Transfer via Bitcoin"></p>
<p>In this example, the fees lost were still minimal (just under £5), but we are still in the same situation as before. The transfer still relies on centralized services at both ends of the transaction who can set whatever fees they want and in some cases deny service to users based on where they live or other factors. The Bitcoin network fee is also variable and instead of being set by a centralized entity, depends on the network usage. So in times of high traffic the network fee could be much higher.</p>
<p>Additionally, the volatility of Bitcoin can significantly impact the value of the transferred amount, with potential losses if the price drops during the transaction period. To address these issues, stablecoins were introduced. Stablecoins are cryptocurrencies pegged to stable assets like the US dollar, which help get around the volatility risk associated with Bitcoin(and other crypto currencies), ensuring a more predictable value during transactions. Stablecoins are a great appliation of blockchain technology which we will explore in a future post.</p>
<h3 id="comparison">Comparison</h3>
<p>Here&rsquo;s a comparison of the traditional money transfer vs. Bitcoin transfers:</p>
<table>
<thead>
<tr>
<th>Aspect</th>
<th>Traditional Money Transfer</th>
<th>Bitcoin Transfer</th>
</tr>
</thead>
<tbody>
<tr>
<td>Speed</td>
<td>1-5 days</td>
<td>10-60 minutes</td>
</tr>
<tr>
<td>Complexity</td>
<td>Simple, familiar process</td>
<td>More complex, requires technical knowledge</td>
</tr>
<tr>
<td>Cost (in this example)</td>
<td>£3.47 in fees and exchange rate markup</td>
<td>About £4.97 in total fees</td>
</tr>
<tr>
<td>Reliance on centralized services</td>
<td>Single centralized service</td>
<td>Multiple centralized exchanges</td>
</tr>
<tr>
<td>Volatility</td>
<td>Stable</td>
<td>Subject to market fluctuations</td>
</tr>
<tr>
<td>Adoption</td>
<td>Widely accepted</td>
<td>Limited adoption</td>
</tr>
<tr>
<td>Regulatory clarity</td>
<td>Well-established regulations</td>
<td>Evolving regulatory landscape</td>
</tr>
</tbody>
</table>
<p>This comparison shows that while Bitcoin offers some advantages like speed, it also comes with its own set of challenges. The current state of crypto adoption means that fully realizing Satoshi Nakamoto&rsquo;s vision of peer-to-peer electronic cash without intermediaries is still a work in progress.</p>
<h3 id="future-improvements-and-alternatives">Future Improvements and Alternatives</h3>
<p>While Bitcoin faces challenges for everyday transactions, the blockchain space continues to evolve. Developments like the <a href="https://lightning.network/#intro">Lightning Network</a> aim to make Bitcoin transactions faster and cheaper. Other blockchains, such as <a href="https://ripple.com/solutions/cross-border-payments/">Ripple</a> and <a href="https://stellar.org/use-cases/payments">Stellar</a> focus on international transfers, while stablecoins like Mento <a href="https://www.mento.org/">cUSD</a> and Tether <a href="https://tether.to/en/">USDT</a> address volatility concerns. These look promising, but also face their own hurdles in realizing Satoshi&rsquo;s vision of efficient, decentralized value transfer.</p>
<h3 id="conclusion">Conclusion</h3>
<p>Shelly-Ann&rsquo;s story shows the potential benefits and current limitations of using Bitcoin for international transfers, it&rsquo;s just one example of how this technology can be applied. To really appreciate the nature of Bitcoin, we need to look a bit deeper into its technical foundations.</p>
<p>Bitcoin&rsquo;s emergence following the 2008 financial crisis wasn&rsquo;t coincidental, it was a response to a flawed system. From its mysterious origins to potential real-world applications like Shelly-Ann&rsquo;s case, Bitcoin represents a paradigm shift in financial transactions and trust. While facing adoption challenges and technical hurdles, its core features—blockchain foundation, peer-to-peer network, and limited supply—address many issues exposed by the crisis, offering an alternative to traditional finance&rsquo;s opacity and centralized control. As the technology evolves, new solutions are emerging to address additional challenges like scalability, further expanding blockchain&rsquo;s potential. In the next post, we&rsquo;ll look at Bitcoin&rsquo;s fundamental features, exploring how they work and why they matter in reshaping our financial future.</p>
]]></content>
        </item>
        
        <item>
            <title>The Promise of Blockchain: Understanding the Basics</title>
            <link>https://www.bayosodimu.com/posts/understanding-blockchain-basics/</link>
            <pubDate>Tue, 30 Jan 2024 00:00:00 +0000</pubDate>
            
            <guid>https://www.bayosodimu.com/posts/understanding-blockchain-basics/</guid>
            <description>On October 31, 2008, an individual or group known as Satoshi Nakamoto published a 9-page document online that would change the digital landscape forever. This document detailed the specifications for Bitcoin, the first blockchain network, and set in motion a technological revolution that continues to this day.
But with all the buzz and complex terminology around blockchain and cryptocurrencies, it&amp;rsquo;s easy to feel overwhelmed or left behind. That&amp;rsquo;s where this series comes in.</description>
            <content type="html"><![CDATA[<p>On October 31, 2008, an individual or group known as Satoshi Nakamoto published a <a href="https://bitcoin.org/bitcoin.pdf">9-page document</a> online that would change the digital landscape forever. This document detailed the specifications for <a href="https://bitcoin.org/en/">Bitcoin</a>, the first blockchain network, and set in motion a technological revolution that continues to this day.</p>
<p>But with all the buzz and complex terminology around blockchain and cryptocurrencies, it&rsquo;s easy to feel overwhelmed or left behind. That&rsquo;s where this series comes in.</p>
<p>This series is for you - maybe you&rsquo;re a busy professional juggling a demanding job and a hectic personal life. Maybe you&rsquo;re a physiotherapist working long hours, or a parent trying to balance raising kids with maintaining a relationship. You&rsquo;ve heard the hype around blockchain and cryptocurrencies, but haven&rsquo;t had the time to really dig in and understand what it&rsquo;s all about. Consider this your opportunity to get a clear, no-nonsense explanation of what blockchain is, why it matters, and what it might mean for our future.</p>
<p>So, in this series we&rsquo;ll explore <a href="/series/the-promise-of-blockchain/">the promise of blockchain</a> technology. We&rsquo;ll look at its origins, how it&rsquo;s evolved, and where it stands today. We’ll dive into the current landscape, examining both innovative applications and challenges. We&rsquo;ll also take a look at the key players in the blockchain world and how they&rsquo;re shaping its future.</p>
<p>Before we begin, let&rsquo;s clear up a common misconception: blockchain and cryptocurrency aren&rsquo;t the same thing. Blockchain is the underlying technology, while cryptocurrencies are just one of its many potential applications. Think of blockchain as the engine, and cryptocurrencies as one type of vehicle it can power.</p>
<p>Now let&rsquo;s get into some essential definitions and core concepts. Understanding these will give us a solid foundation for exploring other ideas later in the series.</p>
<h3 id="distributed-ledger-technology">Distributed Ledger Technology</h3>
<p>Okay, so at its core, a blockchain can be described as a distributed ledger. But what does this even mean? ¯\_(ツ)_/¯</p>
<p>Let&rsquo;s break it down.</p>
<p>A ledger is just a record of transactions. Traditionally, each entry in a ledger would have some additional information attached to it - things like a description of the transaction, who&rsquo;s involved (the parties making and receiving payment), the date, and the amount. In the past, businesses would typically maintain several ledgers but they were usually kept in one place and managed by a select few people.</p>
<p>A key requirement of a ledger is that it needs to have one source of truth. You can&rsquo;t have different versions floating around. But in reality, multiple people often need to update the ledger. So how can this be done easily?</p>
<p>This is where distributed ledger technology comes in. Applications were developed that enabled people to change the ledger data, audit it, and verify that transactions are valid - all while keeping everything in sync across multiple copies. You can think of it as a shared Google Sheet, but more secure and with a complete history of every single change ever made.</p>
<p><img src="https://res.cloudinary.com/dl0ui9shk/image/upload/v1719782031/Blog/intro-distributed-ledgers.png" alt="Distributed Ledgers" title="Distributed Ledgers"></p>
<p>This technology evolved to become the core of what powers blockchains today. In a blockchain, a network of computers (often called nodes) work together to maintain a single, agreed-upon version of the truth without needing a central authority to keep everything in check. The way these computers come to agreement is called a consensus mechanism - you can think of it as a set of rules that all the nodes follow to decide what information is correct and should be added to the ledger. We won&rsquo;t be getting into consensus mechanisms in detail here, but if you&rsquo;re interested in learning more, this <a href="https://www.kraken.com/learn/what-is-blockchain-consensus-mechanism">guide</a> is a good starting point.</p>
<p>The beauty of this system is that it&rsquo;s transparent (anyone can see the ledger), secure (it&rsquo;s incredibly difficult to tamper with), and decentralized (no single entity controls it). These features are what make blockchain potentially such a game-changer in many industries, not just finance.</p>
<h3 id="decentralization-as-the-key-feature">Decentralization as the Key Feature</h3>
<p>Now, we can talk about what really sets blockchain technology apart: decentralization. It&rsquo;s the main feature that makes this technology potentially so revolutionary.</p>
<p>In traditional systems, you have central authorities calling the shots. Think of a bank managing your money or a government agency keeping records. These centralized systems have worked for a long time, but they have downsides. They can be vulnerable to hacks, prone to corruption, or just plain inefficient.</p>
<p>Blockchain flips this idea on its head. Instead of one central authority, you instead have a network of nodes (remember, these are basically just computers) all working together. Each node has a copy of the entire ledger, and they all work together to verify and record transactions. When a new transaction is made, it&rsquo;s broadcast to all nodes in the network. These nodes then work to validate the transaction based on a set of rules they all agree on.</p>
<p>The key thing here is that there&rsquo;s no single point of failure. If one node goes down, the network keeps on working. If someone tries to tamper with the data on one node, the others will catch it. It&rsquo;s comparable to having thousands of accountants checking each other&rsquo;s work in real-time.</p>
<p><img src="https://res.cloudinary.com/dl0ui9shk/image/upload/v1719782032/Blog/intro-decentralised-vs-centralised.png" alt="Centralized vs Decentralized" title="Centralized vs Decentralized"></p>
<p>This decentralization also means that no single entity has control over your data or assets on the blockchain. It&rsquo;s a shift of power from institutions and private corporations back to individuals.</p>
<p>Unlike a traditional bank where your account could be frozen or your transaction denied by a single authority, in a decentralized blockchain system like Bitcoin, no single entity can prevent you from sending or receiving funds - your transaction is processed by the network as a whole.</p>
<h3 id="immutability-and-transparency">Immutability and transparency</h3>
<p>We&rsquo;ve covered decentralization. But there are two other features of blockchains that go hand in hand: immutability and transparency.</p>
<p>Let&rsquo;s start with immutability. In simple terms, it means &ldquo;can&rsquo;t be changed.&rdquo; Once a transaction is recorded on the blockchain, it&rsquo;s there for good.</p>
<p>When a new transaction happens, it&rsquo;s grouped with other recent transactions into a &ldquo;block.&rdquo; This block is then added to the chain of previous blocks (hence, &ldquo;blockchain&rdquo;) using <a href="https://blog.cfte.education/what-is-cryptography-in-blockchain/">cryptographic</a> methods to ensure security and integrity.</p>
<p>The critical aspect of a blockchain&rsquo;s structure is this: each block contains a reference to the block before it. This creates an important safeguard. If someone tries to change a transaction in an earlier block, they&rsquo;d have to change every block that came after it. Not only that, but they would have to do this on the majority of nodes in the network, all at the same time. It&rsquo;s not impossible, but it&rsquo;s very difficult. This feature could be game-changing for industries like finance or real estate, where maintaining an unalterable record of transactions is crucial.</p>
<p>Now, let&rsquo;s talk transparency. In most blockchain networks, anyone can view the entire ledger of transactions. It&rsquo;s all out in the open, and usually can be viewed though a public block explorer for the network.</p>
<p>The video below shows a random <a href="https://basescan.org/tx/0x1a1fcd7108de59086281ebdd1ca21525785e495ae6a43244d110d3ab97a0a9db">transaction</a> on the <a href="https://www.base.org/">Base blockchain</a> viewed on <a href="https://basescan.org/">Basescan</a>, a block explorer for Base.</p>
<p><img src="https://res.cloudinary.com/dl0ui9shk/image/upload/v1719784845/Blog/intro-base-explorer.gif" alt="Base Blockchain Explorer" title="Base Blockchain Explorer"></p>
<p>Looking at the transaction, we can see the following key elements:</p>
<ul>
<li><strong>Transaction hash</strong>: This is the unique identifier of the transaction. It&rsquo;s like a digital fingerprint that ensures the transaction&rsquo;s integrity.</li>
<li><strong>Block number</strong>: This indicates which block in the blockchain includes this transaction. It helps in tracking the transaction&rsquo;s place in the blockchain&rsquo;s history.</li>
<li><strong>Timestamp</strong>: This shows the date and time the transaction occurred.</li>
<li><strong>From address</strong>: This is the address of the account that initiated the transaction.</li>
<li><strong>To address</strong>: This is the address of the account receiving the transaction.</li>
<li><strong>Value</strong>: This represents the amount of cryptocurrency(in this case <a href="https://www.investopedia.com/terms/e/ether-cryptocurrency.asp">ETH</a>) that sent in the transaction.</li>
<li><strong>Transaction fee</strong>: This is the cost of processing the transaction on the network. It&rsquo;s paid to miners or validators who maintain the blockchain.</li>
<li><strong>Status</strong>: This indicates whether the transaction was successful or failed.</li>
<li><strong>Gas price</strong>: This represents the price per unit of gas for the transaction. In blockchain networks, <a href="https://www.coinbase.com/learn/crypto-basics/what-are-gas-fees">gas</a> refers to the computational effort required to execute operations. The gas price affects how quickly the transaction is processed.</li>
<li><strong>Input data</strong>: This field can contain additional information or instructions for the transaction.</li>
</ul>
<p><img src="https://res.cloudinary.com/dl0ui9shk/image/upload/v1719786114/Blog/intro-tx-key.png" alt="Base Random Transaction" title="Base RandomTransaction"></p>
<p>You might be thinking, &ldquo;Wait, isn&rsquo;t that a privacy nightmare?&rdquo; Not exactly. While the transactions are visible, the identities behind them are often pseudonymous. You can see that a transaction happened, but you might not be able to identify who was involved.</p>
<p>This transparency has some big implications. It means you can audit the entire history of transactions if you want to. No more taking someone&rsquo;s word for it - you can check for yourself. This can be a useful for things like supply chain management, voting systems, or any situation where trust and verification are important.</p>
<p>Together, immutability and transparency create a system that&rsquo;s incredibly difficult to corrupt or manipulate. It&rsquo;s a new level of trust in a digital world where trust can be hard to come by.</p>
<h3 id="wrapping-up">Wrapping Up</h3>
<p>In this post we covered the core elements of blockchain: distributed ledger technology, decentralization, immutability, and transparency. These concepts are the foundation of what makes blockchain a transformative technology with applications in more than just digital currencies.</p>
<p>In the next post we&rsquo;ll look at the origins and evolution of blockchain. We&rsquo;ll explore the brief history and original concept put forward by Satoshi Nakamoto. Also, we&rsquo;ll cover key milestones in blockchain development and the emergence of alternative blockchains with their diverse applications.</p>
<p>I hope this intro has been useful and maybe even sparked your interest in blockchain. There&rsquo;s a lot more to get into, so keep an eye out for the next post in this series.</p>
]]></content>
        </item>
        
    </channel>
</rss>
