<rss
      xmlns:atom="http://www.w3.org/2005/Atom"
      xmlns:media="http://search.yahoo.com/mrss/"
      xmlns:content="http://purl.org/rss/1.0/modules/content/"
      xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
      xmlns:dc="http://purl.org/dc/elements/1.1/"
      version="2.0"
    >
      <channel>
        <title><![CDATA[Pruk]]></title>
        <description><![CDATA[Bitcoiner, Researcher, Beer lover and Coffee addict]]></description>
        <link>https://pruk.npub.pro/tag/bitcoin/</link>
        <atom:link href="https://pruk.npub.pro/tag/bitcoin/rss/" rel="self" type="application/rss+xml"/>
        <itunes:new-feed-url>https://pruk.npub.pro/tag/bitcoin/rss/</itunes:new-feed-url>
        <itunes:author><![CDATA[Cypherpruk]]></itunes:author>
        <itunes:subtitle><![CDATA[Bitcoiner, Researcher, Beer lover and Coffee addict]]></itunes:subtitle>
        <itunes:type>episodic</itunes:type>
        <itunes:owner>
          <itunes:name><![CDATA[Cypherpruk]]></itunes:name>
          <itunes:email><![CDATA[Cypherpruk]]></itunes:email>
        </itunes:owner>
            
      <pubDate>Wed, 14 Aug 2024 04:31:36 GMT</pubDate>
      <lastBuildDate>Wed, 14 Aug 2024 04:31:36 GMT</lastBuildDate>
      
      <itunes:image href="https://image.nostr.build/73aa28e035ac688806e07b71c3ab338239c59716b2d53c30481dfc6858a9a326.jpg#m=image%2Fjpeg&amp;dim=886x1182&amp;blurhash=_TH%2Cw%7C9d-PI%3Abbwbj%5D%7D%3Dw%5DI%3DR%2BbFNIbHt7X7NGxFWCn%25W%3AOXbbadnjxFR%2Bs.-ot6jYWCbIj%40WB%251xaRkS1R*bHj%5DxujaniaefPWUoKS%24SNV%40oKWDjZWpg3oLjZoejGayoK&amp;x=bab5672d2c7b9bf7851e3f544b290a7e23e008c47b8b895d8bae9fc9b3d9bd19" />
      <image>
        <title><![CDATA[Pruk]]></title>
        <link>https://pruk.npub.pro/tag/bitcoin/</link>
        <url>https://image.nostr.build/73aa28e035ac688806e07b71c3ab338239c59716b2d53c30481dfc6858a9a326.jpg#m=image%2Fjpeg&dim=886x1182&blurhash=_TH%2Cw%7C9d-PI%3Abbwbj%5D%7D%3Dw%5DI%3DR%2BbFNIbHt7X7NGxFWCn%25W%3AOXbbadnjxFR%2Bs.-ot6jYWCbIj%40WB%251xaRkS1R*bHj%5DxujaniaefPWUoKS%24SNV%40oKWDjZWpg3oLjZoejGayoK&x=bab5672d2c7b9bf7851e3f544b290a7e23e008c47b8b895d8bae9fc9b3d9bd19</url>
      </image>
      <item>
      <title><![CDATA[Entropy, Proof of Work, and Bitcoin’s Decentralization
]]></title>
      <description><![CDATA[This article explores the concept of entropy within the context of Bitcoin’s decentralized system, focusing on the role of Proof of Work (PoW) in managing and reducing entropy. Entropy, a measure of uncertainty and disorder, is examined from both an information-theoretic and thermodynamic perspective. Information entropy, introduced by Claude Shannon, quantifies the unpredictability in the state of Bitcoin's blockchain. In Bitcoin, PoW serves as a mechanism to reduce this entropy by transforming physical computational effort into a structured and ordered blockchain. This process imposes a cost on adding new blocks, thereby providing a clear and agreed-upon ledger state. By contrast, Proof of Stake (PoS), which does not involve physical energy expenditure, is less effective in managing entropy and maintaining decentralization. The article also draws parallels between thermodynamic entropy and the entropy dynamics in Bitcoin, illustrating how physical energy used in PoW aligns with concepts of order and disorder in thermodynamics. Ultimately, Bitcoin’s use of PoW ensures its true decentralization by managing entropy effectively, while the limitations of PoS highlight the unique role of physical work in sustaining decentralized systems.]]></description>
             <itunes:subtitle><![CDATA[This article explores the concept of entropy within the context of Bitcoin’s decentralized system, focusing on the role of Proof of Work (PoW) in managing and reducing entropy. Entropy, a measure of uncertainty and disorder, is examined from both an information-theoretic and thermodynamic perspective. Information entropy, introduced by Claude Shannon, quantifies the unpredictability in the state of Bitcoin's blockchain. In Bitcoin, PoW serves as a mechanism to reduce this entropy by transforming physical computational effort into a structured and ordered blockchain. This process imposes a cost on adding new blocks, thereby providing a clear and agreed-upon ledger state. By contrast, Proof of Stake (PoS), which does not involve physical energy expenditure, is less effective in managing entropy and maintaining decentralization. The article also draws parallels between thermodynamic entropy and the entropy dynamics in Bitcoin, illustrating how physical energy used in PoW aligns with concepts of order and disorder in thermodynamics. Ultimately, Bitcoin’s use of PoW ensures its true decentralization by managing entropy effectively, while the limitations of PoS highlight the unique role of physical work in sustaining decentralized systems.]]></itunes:subtitle>
      <pubDate>Wed, 14 Aug 2024 04:31:36 GMT</pubDate>
      <link>https://pruk.npub.pro/post/4e5e124227d409ab/</link>
      <comments>https://pruk.npub.pro/post/4e5e124227d409ab/</comments>
      <guid isPermaLink="false">naddr1qqgrgef4v5cnydpjxgmkgdps89skyq3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65w9h3yt2</guid>
      <category>Bitcoin</category>
      
        <media:content url="https://image.nostr.build/202b6faff8f67737afc6dfe195d78021573bbed4309d1e4f7a6a25b591edcb24.jpg" medium="image"/>
        <enclosure 
          url="https://image.nostr.build/202b6faff8f67737afc6dfe195d78021573bbed4309d1e4f7a6a25b591edcb24.jpg" length="0" 
          type="image/jpeg" 
        />
      <noteId>naddr1qqgrgef4v5cnydpjxgmkgdps89skyq3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65w9h3yt2</noteId>
      <npub>npub1pruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngys9pnj2f</npub>
      <dc:creator><![CDATA[Cypherpruk]]></dc:creator>
      <content:encoded><![CDATA[<h1>Introduction</h1>
<p>Bitcoin is often cited as a prime example of a truly decentralized system. Unlike traditional financial systems that rely on central authorities, Bitcoin operates on a decentralized network of nodes, where each node independently validates and records transactions. This decentralization is critical for Bitcoin’s security, trust, and resistance to censorship. Understanding how entropy and Proof of Work (PoW) contribute to this decentralization helps elucidate why Bitcoin remains a robust and effective decentralized system. Additionally, examining how these concepts relate to thermodynamics can provide a deeper insight into the physical and informational transformations involved.</p>
<h1>Understanding Entropy in Bitcoin</h1>
<p>In the context of Bitcoin, entropy can be understood both from a physical perspective and an information-theoretic perspective:</p>
<ol>
<li><p><strong>Entropy in Physical Terms</strong>: In Bitcoin, physical entropy arises from the distributed nature of the network and the computational work involved in mining. Each miner competes to find a valid hash that meets a specific target by adjusting a nonce in the block header. This process introduces randomness and unpredictability into the network, leading to a high degree of entropy in terms of computational effort and energy consumption.</p>
</li>
<li><p><strong>Entropy in Information Theory</strong>: Information entropy, introduced by Claude Shannon in 1948, measures the uncertainty or unpredictability associated with a random variable. In Bitcoin, this concept applies to the state of the blockchain. The entropy of Bitcoin's blockchain can be understood as the uncertainty in the ledger’s state before and after a new block is added [1][2].</p>
</li>
</ol>
<h2>Formulation of Information Entropy:</h2>
<p>Shannon defined entropy H(X) for a discrete random variable X with a probability mass function P(x), where x represents the possible outcomes of X. The entropy H(X) is given by:</p>
<p><code>$$H(X) = -\sum_{x \in X} P(x) \log_2 P(x)$$</code></p>
<p>where:</p>
<ul>
<li>The sum is taken over all possible outcomes x of X,</li>
<li>The logarithm base 2 measures entropy in bits.</li>
</ul>
<p>In Bitcoin, X can be considered as the state of the blockchain, and P(x) represents the probability distribution of different blockchain states. High entropy indicates high uncertainty or disorder in the blockchain's state [1][2].</p>
<h1>Proof of Work and Reducing Entropy</h1>
<p><strong>Proof of Work (PoW)</strong> plays a crucial role in Bitcoin’s mechanism for managing entropy and maintaining decentralization. Here’s how PoW works to reduce entropy in Bitcoin:</p>
<ol>
<li><p><strong>PoW and Hashing</strong></p>
<p>Bitcoin miners perform PoW by repeatedly hashing the block header using the SHA-256 algorithm until they find a hash value that is less than or equal to the current target threshold. This process involves trial and error, where miners adjust a small variable called a nonce to generate new hash values. The difficulty of this task is adjusted periodically to ensure that new blocks are added roughly every 10 minutes.</p>
<p>The randomness and unpredictability of the hashing process introduce entropy into the mining process. However, once a valid hash is found, it imposes order on the blockchain by allowing the miner to add a new block, reducing the overall entropy of the ledger state [3].</p>
</li>
<li><p><strong>Block Addition and Entropy Reduction</strong></p>
<p>When a miner successfully finds a valid hash that meets the difficulty target, they add a new block to the blockchain. This process involves:</p>
<ul>
<li><strong>Verification</strong>: The solution (i.e., the valid hash) is verified by other nodes, confirming the correctness and integrity of the block.</li>
<li><strong>Consensus</strong>: The new block is propagated across the network, and nodes update their copies of the blockchain.</li>
</ul>
<p>The addition of a new block with a valid PoW solution reduces the entropy of the ledger state S. To quantify this, let’s relate the reduction in entropy to the probability of finding a valid hash:</p>
</li>
</ol>
<h2>Entropy Reduction Quantification</h2>
<p>The probability of finding a valid hash p affects the entropy of the blockchain state. Initially, the entropy H(S) of the ledger state before adding the block can be modeled as:</p>
<p><code>$$H(S) = -\sum_{s \in S} P(s) \log_2 P(s)$$</code></p>
<p>After a block is mined and added to the blockchain, the entropy H(S') of the new ledger state S' can be expressed as:</p>
<p><code>$$H(S') = -\sum_{s' \in S'} P(s') \log_2 P(s')$$</code></p>
<p>To determine H(S'), consider the effect of p. The addition of a block with a valid PoW solution implies that the blockchain state is more certain and less variable. This leads to a more concentrated probability distribution over valid states. </p>
<p>If the probability distribution P(s') of the new states is more concentrated due to the successful addition of a block, the entropy H(S') decreases. Mathematically, this concentration can be approximated by the lower entropy due to the fewer number of valid states s':</p>
<p><code>$$H(S') = -p\log_2(p)-(1-p)log_2(1-p)$$</code></p>
<p>With high difficulty, the probability p of successfully finding a valid hash is very low, which means that only a few states are valid. As a result, the entropy contribution of these few valid states is reduced, leading to a lower overall entropy H(S′). This is because the logarithm of a small probability is large and negative, but when multiplied by a very small probability, the result is small. Thus, the overall entropy H(S′) decreases.</p>
<p>Therefore, the reduction in entropy due to PoW can then be represented as:</p>
<p><code>$$ΔH=H(S′)−H(S)$$</code></p>
<p>Given that H(S′)&lt;H(S), ΔH is negative, reflecting the decrease in uncertainty about the blockchain state due to the successful resolution of the PoW.</p>
<p>This reduction in entropy highlights how PoW helps maintain the order and consistency of the blockchain, even as new blocks are added.</p>
<h1>Proof of Work as a Mechanism for Order</h1>
<p>PoW transforms physical work into a structured record. The process ensures that adding new blocks requires solving computational puzzles, which imposes a cost on creating new records. This cost (in terms of computational effort and energy) acts as a deterrent against tampering and contributes to maintaining the order and consistency of the blockchain.</p>
<p>The reduction in entropy due to PoW can be formalized by noting that the probability distribution of valid ledger states becomes more concentrated after a block is added. This makes the state of the ledger more predictable and less uncertain, reducing the overall entropy.</p>
<h1>Relation to Thermodynamics</h1>
<p>The concept of entropy in thermodynamics refers to the measure of disorder or randomness in a physical system. In thermodynamics:</p>
<ol>
<li><p><strong>Entropy and Energy</strong>: In thermodynamics, entropy is a measure of the amount of energy in a system that is not available to do work. When energy is added to a system, it often leads to an increase in entropy, reflecting the system's transition to a more disordered state.</p>
</li>
<li><p><strong>Entropy Reduction</strong>: To reduce entropy in a thermodynamic system, energy must be expended to impose order. For example, cooling a system can reduce its entropy by decreasing its temperature and organizing the particles in a more orderly state.</p>
</li>
</ol>
<h1>Applying Thermodynamic Concepts to Bitcoin</h1>
<ol>
<li><p><strong>Physical Work in PoW</strong>: In Bitcoin, PoW can be analogously related to thermodynamic processes. The computational work required for PoW is akin to expending physical energy in thermodynamics. The physical energy used by miners in finding a valid hash can be seen as a mechanism to impose order on the blockchain, similar to how energy can be used to reduce entropy in a physical system.</p>
</li>
<li><p><strong>Transforming Physical to Informational Order</strong>: PoW transforms physical work into informational order. Just as energy expenditure in thermodynamics can lead to a more ordered state, the computational work done in PoW helps organize and secure the blockchain, reducing the entropy of the ledger state.</p>
</li>
<li><p><strong>Balancing Order and Disorder</strong>: The relationship between energy and entropy in thermodynamics mirrors the balance between order and disorder in Bitcoin’s blockchain. The work done in PoW introduces structure and consistency, reducing entropy and enhancing the system's overall stability.</p>
</li>
</ol>
<h1>Proof of Stake: Limitations in Reducing Entropy</h1>
<p>In contrast, <strong>Proof of Stake (PoS)</strong>, while offering a different approach to consensus, faces limitations in managing entropy:</p>
<ol>
<li><p><strong>No Physical Energy Input</strong>: PoS does not involve physical work or energy expenditure. Validators are chosen based on their financial stake rather than their computational efforts, which limits its ability to impose order and structure.</p>
</li>
<li><p><strong>Internal System Dynamics</strong>: PoS operates within a closed system of staked assets, relying on the existing wealth of participants rather than external physical resources. This does not effectively reduce entropy in the same way that PoW does.</p>
</li>
<li><p><strong>Potential for Centralization</strong>: PoS can lead to centralization if a few participants control a large portion of the stake, introducing new forms of entropy and inequality.</p>
</li>
</ol>
<h1>Bitcoin: A Truly Decentralized System</h1>
<p>Bitcoin’s decentralization is supported by its use of Proof of Work, which effectively reduces entropy by transforming physical energy into a structured and ordered blockchain. This ensures that the network remains secure, consistent, and resistant to tampering while maintaining its decentralized nature. The relationship between physical energy, information entropy, and thermodynamic entropy underscores the complex interplay between order and disorder in Bitcoin’s design and operation.</p>
<h1>Acknowledgments</h1>
<p>This article benefited from the assistance of ChatGPT, an AI language model developed by OpenAI, which provided valuable insights and suggestions for understanding and explaining concepts related to entropy in decentralized systems and Bitcoin mining.</p>
<h1>References</h1>
<ol>
<li><p>Shannon, C. E. (1948). "A Mathematical Theory of Communication." <em>The Bell System Technical Journal</em>, 27(3), 379-423.</p>
</li>
<li><p>Cover, T. M., &amp; Thomas, J. A. (2006). <em>Elements of Information Theory</em> (2nd ed.). Wiley.</p>
</li>
<li><p>Nakamoto, S. (2008). "Bitcoin: A Peer-to-Peer Electronic Cash System." <a href="https://bitcoin.org/bitcoin.pdf">Link to paper</a></p>
</li>
</ol>
]]></content:encoded>
      <itunes:author><![CDATA[Cypherpruk]]></itunes:author>
      <itunes:summary><![CDATA[<h1>Introduction</h1>
<p>Bitcoin is often cited as a prime example of a truly decentralized system. Unlike traditional financial systems that rely on central authorities, Bitcoin operates on a decentralized network of nodes, where each node independently validates and records transactions. This decentralization is critical for Bitcoin’s security, trust, and resistance to censorship. Understanding how entropy and Proof of Work (PoW) contribute to this decentralization helps elucidate why Bitcoin remains a robust and effective decentralized system. Additionally, examining how these concepts relate to thermodynamics can provide a deeper insight into the physical and informational transformations involved.</p>
<h1>Understanding Entropy in Bitcoin</h1>
<p>In the context of Bitcoin, entropy can be understood both from a physical perspective and an information-theoretic perspective:</p>
<ol>
<li><p><strong>Entropy in Physical Terms</strong>: In Bitcoin, physical entropy arises from the distributed nature of the network and the computational work involved in mining. Each miner competes to find a valid hash that meets a specific target by adjusting a nonce in the block header. This process introduces randomness and unpredictability into the network, leading to a high degree of entropy in terms of computational effort and energy consumption.</p>
</li>
<li><p><strong>Entropy in Information Theory</strong>: Information entropy, introduced by Claude Shannon in 1948, measures the uncertainty or unpredictability associated with a random variable. In Bitcoin, this concept applies to the state of the blockchain. The entropy of Bitcoin's blockchain can be understood as the uncertainty in the ledger’s state before and after a new block is added [1][2].</p>
</li>
</ol>
<h2>Formulation of Information Entropy:</h2>
<p>Shannon defined entropy H(X) for a discrete random variable X with a probability mass function P(x), where x represents the possible outcomes of X. The entropy H(X) is given by:</p>
<p><code>$$H(X) = -\sum_{x \in X} P(x) \log_2 P(x)$$</code></p>
<p>where:</p>
<ul>
<li>The sum is taken over all possible outcomes x of X,</li>
<li>The logarithm base 2 measures entropy in bits.</li>
</ul>
<p>In Bitcoin, X can be considered as the state of the blockchain, and P(x) represents the probability distribution of different blockchain states. High entropy indicates high uncertainty or disorder in the blockchain's state [1][2].</p>
<h1>Proof of Work and Reducing Entropy</h1>
<p><strong>Proof of Work (PoW)</strong> plays a crucial role in Bitcoin’s mechanism for managing entropy and maintaining decentralization. Here’s how PoW works to reduce entropy in Bitcoin:</p>
<ol>
<li><p><strong>PoW and Hashing</strong></p>
<p>Bitcoin miners perform PoW by repeatedly hashing the block header using the SHA-256 algorithm until they find a hash value that is less than or equal to the current target threshold. This process involves trial and error, where miners adjust a small variable called a nonce to generate new hash values. The difficulty of this task is adjusted periodically to ensure that new blocks are added roughly every 10 minutes.</p>
<p>The randomness and unpredictability of the hashing process introduce entropy into the mining process. However, once a valid hash is found, it imposes order on the blockchain by allowing the miner to add a new block, reducing the overall entropy of the ledger state [3].</p>
</li>
<li><p><strong>Block Addition and Entropy Reduction</strong></p>
<p>When a miner successfully finds a valid hash that meets the difficulty target, they add a new block to the blockchain. This process involves:</p>
<ul>
<li><strong>Verification</strong>: The solution (i.e., the valid hash) is verified by other nodes, confirming the correctness and integrity of the block.</li>
<li><strong>Consensus</strong>: The new block is propagated across the network, and nodes update their copies of the blockchain.</li>
</ul>
<p>The addition of a new block with a valid PoW solution reduces the entropy of the ledger state S. To quantify this, let’s relate the reduction in entropy to the probability of finding a valid hash:</p>
</li>
</ol>
<h2>Entropy Reduction Quantification</h2>
<p>The probability of finding a valid hash p affects the entropy of the blockchain state. Initially, the entropy H(S) of the ledger state before adding the block can be modeled as:</p>
<p><code>$$H(S) = -\sum_{s \in S} P(s) \log_2 P(s)$$</code></p>
<p>After a block is mined and added to the blockchain, the entropy H(S') of the new ledger state S' can be expressed as:</p>
<p><code>$$H(S') = -\sum_{s' \in S'} P(s') \log_2 P(s')$$</code></p>
<p>To determine H(S'), consider the effect of p. The addition of a block with a valid PoW solution implies that the blockchain state is more certain and less variable. This leads to a more concentrated probability distribution over valid states. </p>
<p>If the probability distribution P(s') of the new states is more concentrated due to the successful addition of a block, the entropy H(S') decreases. Mathematically, this concentration can be approximated by the lower entropy due to the fewer number of valid states s':</p>
<p><code>$$H(S') = -p\log_2(p)-(1-p)log_2(1-p)$$</code></p>
<p>With high difficulty, the probability p of successfully finding a valid hash is very low, which means that only a few states are valid. As a result, the entropy contribution of these few valid states is reduced, leading to a lower overall entropy H(S′). This is because the logarithm of a small probability is large and negative, but when multiplied by a very small probability, the result is small. Thus, the overall entropy H(S′) decreases.</p>
<p>Therefore, the reduction in entropy due to PoW can then be represented as:</p>
<p><code>$$ΔH=H(S′)−H(S)$$</code></p>
<p>Given that H(S′)&lt;H(S), ΔH is negative, reflecting the decrease in uncertainty about the blockchain state due to the successful resolution of the PoW.</p>
<p>This reduction in entropy highlights how PoW helps maintain the order and consistency of the blockchain, even as new blocks are added.</p>
<h1>Proof of Work as a Mechanism for Order</h1>
<p>PoW transforms physical work into a structured record. The process ensures that adding new blocks requires solving computational puzzles, which imposes a cost on creating new records. This cost (in terms of computational effort and energy) acts as a deterrent against tampering and contributes to maintaining the order and consistency of the blockchain.</p>
<p>The reduction in entropy due to PoW can be formalized by noting that the probability distribution of valid ledger states becomes more concentrated after a block is added. This makes the state of the ledger more predictable and less uncertain, reducing the overall entropy.</p>
<h1>Relation to Thermodynamics</h1>
<p>The concept of entropy in thermodynamics refers to the measure of disorder or randomness in a physical system. In thermodynamics:</p>
<ol>
<li><p><strong>Entropy and Energy</strong>: In thermodynamics, entropy is a measure of the amount of energy in a system that is not available to do work. When energy is added to a system, it often leads to an increase in entropy, reflecting the system's transition to a more disordered state.</p>
</li>
<li><p><strong>Entropy Reduction</strong>: To reduce entropy in a thermodynamic system, energy must be expended to impose order. For example, cooling a system can reduce its entropy by decreasing its temperature and organizing the particles in a more orderly state.</p>
</li>
</ol>
<h1>Applying Thermodynamic Concepts to Bitcoin</h1>
<ol>
<li><p><strong>Physical Work in PoW</strong>: In Bitcoin, PoW can be analogously related to thermodynamic processes. The computational work required for PoW is akin to expending physical energy in thermodynamics. The physical energy used by miners in finding a valid hash can be seen as a mechanism to impose order on the blockchain, similar to how energy can be used to reduce entropy in a physical system.</p>
</li>
<li><p><strong>Transforming Physical to Informational Order</strong>: PoW transforms physical work into informational order. Just as energy expenditure in thermodynamics can lead to a more ordered state, the computational work done in PoW helps organize and secure the blockchain, reducing the entropy of the ledger state.</p>
</li>
<li><p><strong>Balancing Order and Disorder</strong>: The relationship between energy and entropy in thermodynamics mirrors the balance between order and disorder in Bitcoin’s blockchain. The work done in PoW introduces structure and consistency, reducing entropy and enhancing the system's overall stability.</p>
</li>
</ol>
<h1>Proof of Stake: Limitations in Reducing Entropy</h1>
<p>In contrast, <strong>Proof of Stake (PoS)</strong>, while offering a different approach to consensus, faces limitations in managing entropy:</p>
<ol>
<li><p><strong>No Physical Energy Input</strong>: PoS does not involve physical work or energy expenditure. Validators are chosen based on their financial stake rather than their computational efforts, which limits its ability to impose order and structure.</p>
</li>
<li><p><strong>Internal System Dynamics</strong>: PoS operates within a closed system of staked assets, relying on the existing wealth of participants rather than external physical resources. This does not effectively reduce entropy in the same way that PoW does.</p>
</li>
<li><p><strong>Potential for Centralization</strong>: PoS can lead to centralization if a few participants control a large portion of the stake, introducing new forms of entropy and inequality.</p>
</li>
</ol>
<h1>Bitcoin: A Truly Decentralized System</h1>
<p>Bitcoin’s decentralization is supported by its use of Proof of Work, which effectively reduces entropy by transforming physical energy into a structured and ordered blockchain. This ensures that the network remains secure, consistent, and resistant to tampering while maintaining its decentralized nature. The relationship between physical energy, information entropy, and thermodynamic entropy underscores the complex interplay between order and disorder in Bitcoin’s design and operation.</p>
<h1>Acknowledgments</h1>
<p>This article benefited from the assistance of ChatGPT, an AI language model developed by OpenAI, which provided valuable insights and suggestions for understanding and explaining concepts related to entropy in decentralized systems and Bitcoin mining.</p>
<h1>References</h1>
<ol>
<li><p>Shannon, C. E. (1948). "A Mathematical Theory of Communication." <em>The Bell System Technical Journal</em>, 27(3), 379-423.</p>
</li>
<li><p>Cover, T. M., &amp; Thomas, J. A. (2006). <em>Elements of Information Theory</em> (2nd ed.). Wiley.</p>
</li>
<li><p>Nakamoto, S. (2008). "Bitcoin: A Peer-to-Peer Electronic Cash System." <a href="https://bitcoin.org/bitcoin.pdf">Link to paper</a></p>
</li>
</ol>
]]></itunes:summary>
      <itunes:image href="https://image.nostr.build/202b6faff8f67737afc6dfe195d78021573bbed4309d1e4f7a6a25b591edcb24.jpg"/>
      </item>
      
      <item>
      <title><![CDATA[Chaumian e-cash: เงินสดในโลกดิจิทัลที่จะมาต่อยอดการใช้งาน Bitcoin ในอนาคต]]></title>
      <description><![CDATA[สวัสดีครับเพื่อน ๆ Bitcoiner!! บทความนี้เรามาทำความรู้จักกับ Chaumian e-cash เทคโนโลยีที่อาจเป็นกุญแจสำคัญในการยกระดับ Bitcoin ให้เร็วขึ้น ปลอดภัยขึ้น และเป็นส่วนตัวมากขึ้น โดยไม่ทิ้งจุดแข็งด้านการกระจายศูนย์ พร้อมแล้วหรือยัง? มาดูกันว่า Chaumian e-cash จะเปลี่ยนโฉมหน้าการใช้งาน Bitcoin ไปอย่างไร!!]]></description>
             <itunes:subtitle><![CDATA[สวัสดีครับเพื่อน ๆ Bitcoiner!! บทความนี้เรามาทำความรู้จักกับ Chaumian e-cash เทคโนโลยีที่อาจเป็นกุญแจสำคัญในการยกระดับ Bitcoin ให้เร็วขึ้น ปลอดภัยขึ้น และเป็นส่วนตัวมากขึ้น โดยไม่ทิ้งจุดแข็งด้านการกระจายศูนย์ พร้อมแล้วหรือยัง? มาดูกันว่า Chaumian e-cash จะเปลี่ยนโฉมหน้าการใช้งาน Bitcoin ไปอย่างไร!!]]></itunes:subtitle>
      <pubDate>Fri, 02 Aug 2024 17:33:32 GMT</pubDate>
      <link>https://pruk.npub.pro/post/eb5b0ccd28be90b0/</link>
      <comments>https://pruk.npub.pro/post/eb5b0ccd28be90b0/</comments>
      <guid isPermaLink="false">naddr1qqgx2c34vgcxxcmyxguxyefexp3rqq3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65wmypx8a</guid>
      <category>siamstr</category>
      
        <media:content url="https://image.nostr.build/2033a8cafcd443ceedd55aa7a4f73837e1859f4642e60e835a4af6dc9e5d77bf.jpg" medium="image"/>
        <enclosure 
          url="https://image.nostr.build/2033a8cafcd443ceedd55aa7a4f73837e1859f4642e60e835a4af6dc9e5d77bf.jpg" length="0" 
          type="image/jpeg" 
        />
      <noteId>naddr1qqgx2c34vgcxxcmyxguxyefexp3rqq3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65wmypx8a</noteId>
      <npub>npub1pruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngys9pnj2f</npub>
      <dc:creator><![CDATA[Cypherpruk]]></dc:creator>
      <content:encoded><![CDATA[<blockquote>
<p>อย่างที่เราทราบกัน Bitcoin เป็นระบบการเงินที่มีจุดแข็งในเรื่องการกระจายศูนย์และความปลอดภัย แต่มันก็มีข้อจำกัดที่สำคัญเช่นกันครับ</p>
</blockquote>
<p>ลองนึกภาพว่าคุณกำลังจะซื้อกาแฟสักแก้วด้วย Bitcoin แต่คุณต้องรอถึง 10 นาทีกว่าการทำธุรกรรมจะเสร็จสิ้นสมบูรณ์ และบางครั้งค่าธรรมเนียมก็อาจจะแพงกว่าค่ากาแฟเสียอีก นี่เป็นปัญหาที่ทำให้หลายคนลังเลที่จะใช้ Bitcoin ในชีวิตประจำวันครับ</p>
<p>เพื่อแก้ปัญหานี้ lightning Network จึงถูกพัฒนาขึ้นเพื่อเป็น layer ที่สองบน Bitcoin ช่วยให้สามารถทำธุรกรรมได้เร็วขึ้นและมีค่าธรรมเนียมต่ำลง โดยไม่ต้องรอการยืนยันธุรกรรมบน blockchain </p>
<p>แต่ lightning Network ก็มีความท้าทายของมันเองครับ การใช้งานมันไม่ได้ง่ายสำหรับทุกคน โดยเฉพาะความซับซ้อนในการจัดการ lightning node และการจัดสรรสภาพคล่อง ซึ่งไม่เหมาะสำหรับผู้ใช้ทั่วไป หากใครเคยได้ลองศึกษาการรัน lightning node ก็จะทราบดีว่า มันไม่ง่ายเลย ต้องใช้ความรู้ทางเทคนิคสูงมาก</p>
<p>ดังนั้นในปัจจุบัน จึงมีบริการ Custodial เกิดขึ้นเพื่อจัดการความซับซ้อนเหล่านี้แทนผู้ใช้ โดยผู้ให้บริการ Custodial นี้เสนอตัวเป็นคนจัดการกระเป๋าหรือ lightning node นั้นให้กับผู้ใช้ แต่ก็แลกมาด้วยความเสี่ยงที่สำคัญ ที่อาจทำให้ผู้ใช้สูญเสียความเป็นส่วนตัวและเสี่ยงต่อการถูกควบคุมโดยคนอื่นครับ</p>
<p>ในสถานการณ์นี้ ผู้ใช้ Bitcoin บน lightning network ก็ต้องตัดสินใจว่าจะเลือกทางไหนดีระหว่างสองทางเลือก </p>
<p>ทางเลือกแรกคือ การจัดการ lightning node ด้วยตัวเอง ซึ่งมีความซับซ้อนและต้องใช้ความรู้ทางเทคนิคสูง </p>
<p>หรือ ทางเลือกที่สอง คือการใช้บริการ Custodial ที่สะดวกกว่า แต่ก็ต้องยอมรับความเสี่ยงที่มาพร้อมกับมัน อย่างไรก็ตาม หากเลือกใช้บริการ Custodial ผู้ใช้ก็สามารถบริหารความเสี่ยงได้โดยการฝาก Bitcoin ไว้ในจำนวนที่น้อย เท่าที่ยอมรับความเสี่ยงได้เท่านั้นครับ</p>
<p>และนี่คือจุดที่ Chaumian e-cash เข้ามามีบทบาทสำคัญ โดยนำเสนอทางเลือกที่อาจช่วยแก้ไขข้อจำกัดของทั้ง Bitcoin และ lightning network ได้ ในหัวข้อถัดไป เราจะมาทำความเข้าใจว่า Chaumian e-cash คืออะไร และมันจะช่วยแก้ปัญหาที่กล่าวมาได้อย่างไร เราจะมาคุยกันต่อในหัวข้อถัดไปนะครับ</p>
<h1>Chaumian e-cash คืออะไร?</h1>
<p>เรามาลองนึกถึงการใช้เงินสดในชีวิตประจำวันกันก่อนครับ โดยปกติแล้วเวลาที่เราใช้เงินสด เราก็แค่ยื่นธนบัตรหรือเหรียญให้กัน รู้กันเพียงแค่สองคน คือผู้จ่ายกับผู้รับ ไม่ต้องมีใครอื่นมารับรู้ว่าเราใช้จ่ายอะไร มันให้ความเป็นส่วนตัวสูงมากใช่ไหมครับ</p>
<p>Chaumian e-cash ก็เช่นเดียวกันครับ มันถูกออกแบบมาให้ทำงานเป็นเงินสดอิเล็กทรอนิกส์หรือ e-cash ในโลกดิจิทัล เราสามารถส่งเงินให้ใครก็ได้โดยตรง โดยที่ไม่มีคนอื่นรู้ว่าคุณใช้จ่ายอะไร แม้แต่ mint หรือธนาคาร (ต่อไปนี้จะขอเรียกว่า mint นะครับ) ที่ออก e-cash ให้เราก็ไม่รู้ด้วยซ้ำ นี่คือความพิเศษของ Chaumian e-cash ที่พยายามนำความเป็นส่วนตัวของเงินสดมาไว้ในโลกดิจิทัลครับ</p>
<p>ย้อนกลับไปในช่วงทศวรรษ 1980 มีนักวิทยาศาสตร์คอมพิวเตอร์คนหนึ่งชื่อ David Chaum เขาเป็นทั้งนักเข้ารหัสลับและผู้ริเริ่มแนวคิด cypherpunk ซึ่งเชื่อในเรื่องความเป็นส่วนตัวและการลดการพึ่งพาตัวกลาง </p>
<p>e-cash ของ Chaum นี้มีความพิเศษตรงที่ใช้เทคนิคที่เรียกว่า "blind signature" ครับ ลองนึกภาพว่า blind signature ทำงานคล้าย ๆ กับการใช้กระดาษคาร์บอนในการเซ็นเอกสารครับ มาดูทีละขั้นตอนตามภาพข้างล่างกันนะครับ</p>
<p><img src="https://fedimint.org/assets/images/blind-signing-12c89c6dece70a0a674fc3883d9ed1ef.png" alt="image"><br><em>การอธิบาย blind signatures โดย David Chaum เปรียบเทียบกับการประทับลายเซ็นบนข้อความโดยใช้กระดาษคาร์บอน<br>(อ้างอิง: <np-embed url="https://fedimint.org/docs/CommonTerms/Blind%20Signatures"><a href="https://fedimint.org/docs/CommonTerms/Blind%20Signatures">https://fedimint.org/docs/CommonTerms/Blind%20Signatures</a></np-embed>)</em></p>
<ol>
<li>ขั้นแรก เราเขียนข้อความลงบนกระดาษ แล้วใส่กระดาษนั้นลงในซองจดหมายที่มีกระดาษคาร์บอนอยู่ข้างใน นี่เหมือนกับการ blind หรือ "ปิดบัง" เนื้อหาของข้อความครับ</li>
<li>ต่อมา เราส่งซองจดหมายนี้ให้คนที่จะเซ็นรับรอง เขาจะเซ็นชื่อลงบนซองโดยกดปากกาแรง ๆ ทำให้ลายเซ็นติดลงบนกระดาษข้างในผ่านกระดาษคาร์บอน แต่เขาไม่สามารถเห็นข้อความจริง ๆ ได้</li>
<li>สุดท้าย เมื่อเราได้ซองจดหมายกลับมา เมื่อเปิดซองออกมาเราจะได้กระดาษที่มีทั้งข้อความของเราและลายเซ็นรับรอง โดยที่ผู้เซ็นไม่เคยเห็นเนื้อหาของข้อความเลย</li>
</ol>
<p>นี่แหละครับคือหลักการของ Blind signature ในระบบ Chaumian e-cash เราสามารถขอให้ mint เซ็นรับรอง e-cash ของเราได้ โดยที่ mint ไม่รู้ว่ากำลังเซ็นรับรองเหรียญไหนอยู่ ทำให้ mint ไม่สามารถติดตามการใช้จ่ายของเราได้ในภายหลัง เป็นการรักษาความเป็นส่วนตัวได้อย่างดีเยี่ยมครับ</p>
<p>แล้ว Chaumian e-cash ทำงานยังไงล่ะ? ลองมาดูตามภาพข้างล่างกันทีละขั้นตอนนะครับ</p>
<p><img src="https://image.nostr.build/44660095a1646ef3731a5688609a6c318bb80b12d5596c1c0b0b99ec1264f5e6.jpg" alt="image"><br><em>การทำงานของ Chaumian e-cash</em></p>
<ol>
<li>สมมติว่า Alice ขอให้ mint ออก e-cash ให้ครับ ตรงนี้แหละที่เทคนิค blind signature เข้ามามีบทบาท Alice จะ "ปิดบัง" ข้อมูลของ e-cash ก่อนส่งให้ mint ลงลายเซ็นต์หรือ signature โดยที่ mint ไม่รู้ว่ากำลังลงลายเซ็นต์บน e-cash ตัวไหน</li>
<li>ต่อมา Alice อยากส่งเงินให้เพื่อนชื่อ Bob ก็แค่เพียงส่ง e-cash นั้นไปให้ Bob โดยไม่ต้องผ่าน mint เหมือนกับการส่งเงินสดจริง ๆ เลยครับ</li>
<li>แล้ว Bob จะรู้ได้ยังไงว่าเงินที่คุณส่งให้นั้นใช้ได้จริง? Bob สามารถเอา e-cash นั้นไปตรวจสอบกับ mint ได้ครับ mint จะยืนยันว่า e-cash นั้นถูกต้อง แต่จะไม่รู้เลยว่าเป็น e-cash ที่ออกให้ Alice</li>
</ol>
<p>ที่น่าสนใจก็คือ Chaumian e-cash ต่างจากบริการ custodial ที่จัดการเงินทุนแบบเห็นทุกอย่าง ผู้ดูแล mint จะไม่รู้เลยว่ามีผู้ใช้กี่คน ไม่รู้ว่าผู้ใช้เป็นใคร ไม่รู้ยอดเงินในบัญชี และไม่รู้ประวัติการทำธุรกรรมครับ นอกจากนี้ การทำธุรกรรมผ่าน mint ยังมีค่าใช้จ่ายต่ำ และสามารถทำได้โดยไม่มีข้อจำกัดอีกด้วย</p>
<p>ที่สำคัญ ระบบนี้สามารถป้องกันการใช้เงินซ้ำ (double spending) ได้ด้วยครับ เพราะทุกครั้งที่มีการใช้ e-cash mint จะบันทึกไว้ ถ้า Alice พยายามใช้ e-cash ตัวเดิมอีก mint ก็จะรู้ทันทีและปฏิเสธการทำธุรกรรมนั้น</p>
<p>วิธีนี้ทำให้ Chaumian e-cash รักษาความเป็นส่วนตัวของผู้ใช้ได้สูง แต่ก็ยังคงความปลอดภัยทางการเงินไว้ได้ด้วยครับ เป็นระบบที่นำข้อดีของเงินสดมาไว้ในโลกดิจิทัลนั่นเองครับ</p>
<h1>การแบ่งย่อย e-cash</h1>
<p>สมมติว่า Alice มี e-cash มูลค่า 100 sat แต่ต้องการจ่ายค่ากาแฟให้ Bob เพียง 30 sat Alice จะสามารถจ่ายเงินให้ Bob ได้อย่างไร?</p>
<p>Chaumian e-cash มีคุณสมบัติที่สำคัญอีกอย่างหนึ่งก็คือ "การแบ่งย่อย" หรือ split ครับ มันทำงานคล้าย ๆ กับการแลกเงินในชีวิตจริงเลยครับ ลองนึกภาพตามดังนี้ครับ</p>
<ol>
<li>Alice ส่งคำขอไปยัง mint เพื่อแลก e-cash 100 sat เป็น e-cash มูลค่าย่อย คือ 30 sat และ 70 sat</li>
<li>mint จะสร้าง e-cash ใหม่ตามมูลค่าที่ Alice ขอ โดยใช้ blind signature เช่นเดิม ทำให้ mint ไม่รู้ว่า e-cash ใหม่เหล่านี้เชื่อมโยงกับ e-cash เดิมของ Alice อย่างไร</li>
<li>Alice จะได้รับ e-cash ใหม่กลับมา และสามารถใช้ e-cash มูลค่า 30 sat จ่ายให้ Bob ได้ทันที</li>
<li>ส่วน e-cash มูลค่า 70 sat ที่เหลือ Alice ก็สามารถเก็บไว้ใช้ในโอกาสต่อไป คล้าย ๆ กับเงินทอนนั่นเองครับ</li>
</ol>
<p><img src="https://image.nostr.build/4387441379eff92f45452ff251fedafa66f3e180652321dc57950c34901323ac.jpg" alt="image"><br><em>การแบ่งย่อย e-cash</em></p>
<p>การแบ่ง e-cash นี้ช่วยให้ผู้ใช้สามารถจ่ายเงินได้ตรงตามจำนวนที่ต้องการ ไม่ต้องกังวลว่าจะมีเหรียญย่อยไม่พอ มีความคล่องตัวสูง เลียนแบบการใช้เงินสดในชีวิตจริงได้อย่างใกล้เคียงมากขึ้น ทำให้ผู้ใช้สามารถจัดการเงินของตนได้อย่างอิสระและเป็นส่วนตัว โดยที่ mint ยังคงสามารถรักษาความปลอดภัยของระบบโดยรวมไว้ได้ครับ</p>
<h1>Federated Mint: ลดการรวมศูนย์และเพิ่มความปลอดภัย</h1>
<p>Mint หรือผู้ออก e-cash นั้น แม้จะมีข้อดีหลายประการ แต่ก็ยังมีความเสี่ยงที่เราต้องคำนึงถึงครับ เหมือนกับบริการรับฝากเงินแบบรวมศูนย์ทั่วไป mint ก็อาจทำให้ผู้ใช้เผชิญกับความเสี่ยงในรูปแบบต่าง ๆ เช่น ผู้ดูแลระบบอาจหนีหายไปพร้อมกับเงินของผู้ใช้ หรือ การบริหารจัดการที่ผิดพลาดอาจนำไปสู่การสูญเสียเงินของผู้ใช้</p>
<p>แต่ไม่ต้องกังวลไปครับ เพราะเรามีวิธีแก้ปัญหานี้!! นั่นคือการทำให้การทำงานของ mint กระจายตัวออกไป หรือที่เรียกว่า "Federated Mint"</p>
<p>วิธีการนี้คือ แทนที่จะมี mint เพียงแห่งเดียว เราจะมีหลาย ๆ mint ที่ทำงานร่วมกัน โดยทุกการดำเนินงานจะต้องได้รับการยืนยันจากกลุ่มของโหนดที่ควบคุมโดยหลายฝ่าย เพิ่มการกระจายศูนย์ โดยลดความเสี่ยงจากการพึ่งพา Mint เพียงแห่งเดียว อีกทั้งเพิ่มความสามารถในการขยายตัว (Scaling) รองรับผู้ใช้และธุรกรรมได้มากขึ้น</p>
<p>ที่สำคัญ แต่ละ mint สามารถส่งเงินให้กันได้ผ่านทั้ง lightning network ทำให้ระบบโดยรวมมีประสิทธิภาพและความปลอดภัยสูงขึ้น</p>
<p>การพัฒนา Federated Mints นี้ แสดงให้เห็นว่าเราสามารถนำข้อดีของ Chaumian e-cash มาใช้ โดยลดข้อเสียของระบบรวมศูนย์ลงได้ นับเป็นก้าวสำคัญในการพัฒนาระบบการเงินที่ทั้งปลอดภัย เป็นส่วนตัว และมีประสิทธิภาพสูงครับ</p>
<p><img src="https://i0.wp.com/bitlyrics.co/wp-content/uploads/2024/01/image-12.png" alt="image"><br><em>การทำงานของ mints มากว่าหนึ่งแห่งทำงานร่วมกัน (อ้างอิง: <np-embed url="https://bitlyrics.co/transcripts/cashu-for-bitcoin/"><a href="https://bitlyrics.co/transcripts/cashu-for-bitcoin/">https://bitlyrics.co/transcripts/cashu-for-bitcoin/</a></np-embed>)</em></p>
<h1>การประยุกต์ Chaumian e-cash กับ Bitcoin ในปัจจุบัน</h1>
<p>ปัจจุบันมีการนำแนวคิด Chaumian e-cash มาประยุกต์ใช้กับ Bitcoin แล้วครับ โดยมีสอง project หลักที่น่าสนใจ คือ Fedimint และ Cashu ลองมาดูรายละเอียดกันครับ</p>
<h2>Fedimint</h2>
<p>เป็นโปรโตคอลโอเพนซอร์สที่พัฒนาโดยบริษัท Fedi ซึ่งมีผู้สนับสนุนและนักลงทุนที่มีชื่อเสียง จุดเด่นของ Fedimint คือ สินทรัพย์ bitcoin จะถูกเก็บรักษาโดยหลายฝ่าย เรียกว่า "Guardian" ซึ่งรวมกันเป็น "Federation"</p>
<p>ระบบการเก็บรักษาคล้ายกับ multisig wallet ที่ต้องการลายเซ็นจากหลายฝ่าย เหมาะสำหรับชุมชนขนาดใหญ่หรือผู้ให้บริการแพลตฟอร์มที่ต้องการให้บริการ lightning network ให้กับลูกค้าหรือสมาชิก</p>
<p>Fedimint เรียกการ custody รูปแบบนี้ว่า "community custody" ซึ่งอยู่ระหว่าง self-custody และ full custody</p>
<p><img src="https://fedimint.org/assets/images/fm-logical.excalidraw-ac5db1fe8e9d27851eccd5ee7190dc37.png" alt="image"><br><em>การทำงานของ Fedimint (อ้างอิง: <np-embed url="https://fedimint.org/docs/GettingStarted/What-is-a-Fedimint"><a href="https://fedimint.org/docs/GettingStarted/What-is-a-Fedimint">https://fedimint.org/docs/GettingStarted/What-is-a-Fedimint</a></np-embed>)</em></p>
<h2>Cashu</h2>
<p>เป็นแนวทางที่แตกต่างจาก Fedimint ครับ โดยใช้รูปแบบ single-mint setup คือมีผู้ดูแลเพียงรายเดียว ไม่ใช่หลายรายแบบ Fedimint</p>
<p>จุดเด่นสำคัญของ Cashu ที่ทำให้มันแตกต่างคือ Cashu อนุญาตให้ตั้ง mint ได้ง่ายมากครับ แค่มี semi-custodial wallet เช่น LNbits ก็สามารถตั้ง mint ได้แล้ว ไม่จำเป็นต้องมีถึงระดับ full lightning node ซึ่งต้องใช้ทรัพยากรมากกว่า</p>
<p>ด้วยความง่ายในการตั้ง mint นี้ ทำให้มี mint ให้เลือกใช้งานจำนวนมากครับ ผู้ใช้สามารถเลือก mint ที่เหมาะสมกับความต้องการของตนได้</p>
<p>แม้ว่า Cashu จะมีความปลอดภัยน้อยกว่า Fedimint ในแง่ของการมีผู้ดูแลเพียงรายเดียวต่อ mint แต่ด้วยความสามารถในการกระจาย e-cash ไปยัง mint หลาย ๆ แห่ง ก็ช่วยชดเชยความเสี่ยงนี้ได้บางส่วนครับ</p>
<p>Cashu จึงเป็นทางเลือกที่น่าสนใจสำหรับผู้ที่ต้องการความยืดหยุ่นสูง ต้องการควบคุมการกระจายเงินของตนเอง และเหมาะสำหรับการใช้งานในวงแคบหรือในชุมชนขนาดเล็กถึงขนาดกลางครับ</p>
<p><img src="https://blockdyor.com/content/images/2024/02/How-Cashu-Works.webp" alt="image"><br><em>การทำงานของ Cashu (อ้างอิง: <np-embed url="https://blockdyor.com/cashu/"><a href="https://blockdyor.com/cashu/">https://blockdyor.com/cashu/</a></np-embed>)</em></p>
<h1>บทสรุปส่งท้าย</h1>
<p>บทความนี้ เราได้เรียนรู้เกี่ยวกับ Chaumian e-cash และการประยุกต์ใช้กับ Bitcoin ผ่านสอง project หลัก คือ Fedimint และ Cashu ครับ แต่ละ project ก็มีจุดเด่นและเหมาะกับการใช้งานที่แตกต่างกันไป</p>
<p>สำหรับผมแล้ว Cashu มีความน่าสนใจเป็นพิเศษครับ เพราะมันสามารถใช้งานได้ง่าย และเข้าถึงคนได้ง่ายกว่า ด้วยความสามารถในการตั้ง Mint ได้อย่างง่ายดาย ทำให้ Cashu มีศักยภาพในการขยายการใช้งานได้อย่างรวดเร็ว และเหมาะสำหรับการนำไปใช้ในชีวิตประจำวันของคนทั่วไปครับ</p>
<p>ในบทความหน้า ผมจะพาท่านผู้อ่านเจาะลึกลงไปในเรื่องของ Cashu ครับ โดยจะอธิบายรายละเอียดเพิ่มเติมและสอนวิธีการใช้งาน Cashu เพื่อให้ท่านผู้อ่านสามารถนำไปทดลองใช้งานได้จริง และเข้าใจถึงประโยชน์ของ Chaumian e-cash ในชีวิตประจำวันได้มากขึ้นครับ</p>
<p>หวังว่าบทความนี้จะช่วยให้ท่านเข้าใจภาพรวมของ Chaumian e-cash และการประยุกต์ใช้กับ Bitcoin ได้มากขึ้นนะครับ และอย่าลืมติดตามบทความถัดไปเกี่ยวกับ Cashu ที่จะมาเร็ว ๆ นี้ครับ ขอบคุณที่ติดตามอ่านครับ!!</p>
]]></content:encoded>
      <itunes:author><![CDATA[Cypherpruk]]></itunes:author>
      <itunes:summary><![CDATA[<blockquote>
<p>อย่างที่เราทราบกัน Bitcoin เป็นระบบการเงินที่มีจุดแข็งในเรื่องการกระจายศูนย์และความปลอดภัย แต่มันก็มีข้อจำกัดที่สำคัญเช่นกันครับ</p>
</blockquote>
<p>ลองนึกภาพว่าคุณกำลังจะซื้อกาแฟสักแก้วด้วย Bitcoin แต่คุณต้องรอถึง 10 นาทีกว่าการทำธุรกรรมจะเสร็จสิ้นสมบูรณ์ และบางครั้งค่าธรรมเนียมก็อาจจะแพงกว่าค่ากาแฟเสียอีก นี่เป็นปัญหาที่ทำให้หลายคนลังเลที่จะใช้ Bitcoin ในชีวิตประจำวันครับ</p>
<p>เพื่อแก้ปัญหานี้ lightning Network จึงถูกพัฒนาขึ้นเพื่อเป็น layer ที่สองบน Bitcoin ช่วยให้สามารถทำธุรกรรมได้เร็วขึ้นและมีค่าธรรมเนียมต่ำลง โดยไม่ต้องรอการยืนยันธุรกรรมบน blockchain </p>
<p>แต่ lightning Network ก็มีความท้าทายของมันเองครับ การใช้งานมันไม่ได้ง่ายสำหรับทุกคน โดยเฉพาะความซับซ้อนในการจัดการ lightning node และการจัดสรรสภาพคล่อง ซึ่งไม่เหมาะสำหรับผู้ใช้ทั่วไป หากใครเคยได้ลองศึกษาการรัน lightning node ก็จะทราบดีว่า มันไม่ง่ายเลย ต้องใช้ความรู้ทางเทคนิคสูงมาก</p>
<p>ดังนั้นในปัจจุบัน จึงมีบริการ Custodial เกิดขึ้นเพื่อจัดการความซับซ้อนเหล่านี้แทนผู้ใช้ โดยผู้ให้บริการ Custodial นี้เสนอตัวเป็นคนจัดการกระเป๋าหรือ lightning node นั้นให้กับผู้ใช้ แต่ก็แลกมาด้วยความเสี่ยงที่สำคัญ ที่อาจทำให้ผู้ใช้สูญเสียความเป็นส่วนตัวและเสี่ยงต่อการถูกควบคุมโดยคนอื่นครับ</p>
<p>ในสถานการณ์นี้ ผู้ใช้ Bitcoin บน lightning network ก็ต้องตัดสินใจว่าจะเลือกทางไหนดีระหว่างสองทางเลือก </p>
<p>ทางเลือกแรกคือ การจัดการ lightning node ด้วยตัวเอง ซึ่งมีความซับซ้อนและต้องใช้ความรู้ทางเทคนิคสูง </p>
<p>หรือ ทางเลือกที่สอง คือการใช้บริการ Custodial ที่สะดวกกว่า แต่ก็ต้องยอมรับความเสี่ยงที่มาพร้อมกับมัน อย่างไรก็ตาม หากเลือกใช้บริการ Custodial ผู้ใช้ก็สามารถบริหารความเสี่ยงได้โดยการฝาก Bitcoin ไว้ในจำนวนที่น้อย เท่าที่ยอมรับความเสี่ยงได้เท่านั้นครับ</p>
<p>และนี่คือจุดที่ Chaumian e-cash เข้ามามีบทบาทสำคัญ โดยนำเสนอทางเลือกที่อาจช่วยแก้ไขข้อจำกัดของทั้ง Bitcoin และ lightning network ได้ ในหัวข้อถัดไป เราจะมาทำความเข้าใจว่า Chaumian e-cash คืออะไร และมันจะช่วยแก้ปัญหาที่กล่าวมาได้อย่างไร เราจะมาคุยกันต่อในหัวข้อถัดไปนะครับ</p>
<h1>Chaumian e-cash คืออะไร?</h1>
<p>เรามาลองนึกถึงการใช้เงินสดในชีวิตประจำวันกันก่อนครับ โดยปกติแล้วเวลาที่เราใช้เงินสด เราก็แค่ยื่นธนบัตรหรือเหรียญให้กัน รู้กันเพียงแค่สองคน คือผู้จ่ายกับผู้รับ ไม่ต้องมีใครอื่นมารับรู้ว่าเราใช้จ่ายอะไร มันให้ความเป็นส่วนตัวสูงมากใช่ไหมครับ</p>
<p>Chaumian e-cash ก็เช่นเดียวกันครับ มันถูกออกแบบมาให้ทำงานเป็นเงินสดอิเล็กทรอนิกส์หรือ e-cash ในโลกดิจิทัล เราสามารถส่งเงินให้ใครก็ได้โดยตรง โดยที่ไม่มีคนอื่นรู้ว่าคุณใช้จ่ายอะไร แม้แต่ mint หรือธนาคาร (ต่อไปนี้จะขอเรียกว่า mint นะครับ) ที่ออก e-cash ให้เราก็ไม่รู้ด้วยซ้ำ นี่คือความพิเศษของ Chaumian e-cash ที่พยายามนำความเป็นส่วนตัวของเงินสดมาไว้ในโลกดิจิทัลครับ</p>
<p>ย้อนกลับไปในช่วงทศวรรษ 1980 มีนักวิทยาศาสตร์คอมพิวเตอร์คนหนึ่งชื่อ David Chaum เขาเป็นทั้งนักเข้ารหัสลับและผู้ริเริ่มแนวคิด cypherpunk ซึ่งเชื่อในเรื่องความเป็นส่วนตัวและการลดการพึ่งพาตัวกลาง </p>
<p>e-cash ของ Chaum นี้มีความพิเศษตรงที่ใช้เทคนิคที่เรียกว่า "blind signature" ครับ ลองนึกภาพว่า blind signature ทำงานคล้าย ๆ กับการใช้กระดาษคาร์บอนในการเซ็นเอกสารครับ มาดูทีละขั้นตอนตามภาพข้างล่างกันนะครับ</p>
<p><img src="https://fedimint.org/assets/images/blind-signing-12c89c6dece70a0a674fc3883d9ed1ef.png" alt="image"><br><em>การอธิบาย blind signatures โดย David Chaum เปรียบเทียบกับการประทับลายเซ็นบนข้อความโดยใช้กระดาษคาร์บอน<br>(อ้างอิง: <np-embed url="https://fedimint.org/docs/CommonTerms/Blind%20Signatures"><a href="https://fedimint.org/docs/CommonTerms/Blind%20Signatures">https://fedimint.org/docs/CommonTerms/Blind%20Signatures</a></np-embed>)</em></p>
<ol>
<li>ขั้นแรก เราเขียนข้อความลงบนกระดาษ แล้วใส่กระดาษนั้นลงในซองจดหมายที่มีกระดาษคาร์บอนอยู่ข้างใน นี่เหมือนกับการ blind หรือ "ปิดบัง" เนื้อหาของข้อความครับ</li>
<li>ต่อมา เราส่งซองจดหมายนี้ให้คนที่จะเซ็นรับรอง เขาจะเซ็นชื่อลงบนซองโดยกดปากกาแรง ๆ ทำให้ลายเซ็นติดลงบนกระดาษข้างในผ่านกระดาษคาร์บอน แต่เขาไม่สามารถเห็นข้อความจริง ๆ ได้</li>
<li>สุดท้าย เมื่อเราได้ซองจดหมายกลับมา เมื่อเปิดซองออกมาเราจะได้กระดาษที่มีทั้งข้อความของเราและลายเซ็นรับรอง โดยที่ผู้เซ็นไม่เคยเห็นเนื้อหาของข้อความเลย</li>
</ol>
<p>นี่แหละครับคือหลักการของ Blind signature ในระบบ Chaumian e-cash เราสามารถขอให้ mint เซ็นรับรอง e-cash ของเราได้ โดยที่ mint ไม่รู้ว่ากำลังเซ็นรับรองเหรียญไหนอยู่ ทำให้ mint ไม่สามารถติดตามการใช้จ่ายของเราได้ในภายหลัง เป็นการรักษาความเป็นส่วนตัวได้อย่างดีเยี่ยมครับ</p>
<p>แล้ว Chaumian e-cash ทำงานยังไงล่ะ? ลองมาดูตามภาพข้างล่างกันทีละขั้นตอนนะครับ</p>
<p><img src="https://image.nostr.build/44660095a1646ef3731a5688609a6c318bb80b12d5596c1c0b0b99ec1264f5e6.jpg" alt="image"><br><em>การทำงานของ Chaumian e-cash</em></p>
<ol>
<li>สมมติว่า Alice ขอให้ mint ออก e-cash ให้ครับ ตรงนี้แหละที่เทคนิค blind signature เข้ามามีบทบาท Alice จะ "ปิดบัง" ข้อมูลของ e-cash ก่อนส่งให้ mint ลงลายเซ็นต์หรือ signature โดยที่ mint ไม่รู้ว่ากำลังลงลายเซ็นต์บน e-cash ตัวไหน</li>
<li>ต่อมา Alice อยากส่งเงินให้เพื่อนชื่อ Bob ก็แค่เพียงส่ง e-cash นั้นไปให้ Bob โดยไม่ต้องผ่าน mint เหมือนกับการส่งเงินสดจริง ๆ เลยครับ</li>
<li>แล้ว Bob จะรู้ได้ยังไงว่าเงินที่คุณส่งให้นั้นใช้ได้จริง? Bob สามารถเอา e-cash นั้นไปตรวจสอบกับ mint ได้ครับ mint จะยืนยันว่า e-cash นั้นถูกต้อง แต่จะไม่รู้เลยว่าเป็น e-cash ที่ออกให้ Alice</li>
</ol>
<p>ที่น่าสนใจก็คือ Chaumian e-cash ต่างจากบริการ custodial ที่จัดการเงินทุนแบบเห็นทุกอย่าง ผู้ดูแล mint จะไม่รู้เลยว่ามีผู้ใช้กี่คน ไม่รู้ว่าผู้ใช้เป็นใคร ไม่รู้ยอดเงินในบัญชี และไม่รู้ประวัติการทำธุรกรรมครับ นอกจากนี้ การทำธุรกรรมผ่าน mint ยังมีค่าใช้จ่ายต่ำ และสามารถทำได้โดยไม่มีข้อจำกัดอีกด้วย</p>
<p>ที่สำคัญ ระบบนี้สามารถป้องกันการใช้เงินซ้ำ (double spending) ได้ด้วยครับ เพราะทุกครั้งที่มีการใช้ e-cash mint จะบันทึกไว้ ถ้า Alice พยายามใช้ e-cash ตัวเดิมอีก mint ก็จะรู้ทันทีและปฏิเสธการทำธุรกรรมนั้น</p>
<p>วิธีนี้ทำให้ Chaumian e-cash รักษาความเป็นส่วนตัวของผู้ใช้ได้สูง แต่ก็ยังคงความปลอดภัยทางการเงินไว้ได้ด้วยครับ เป็นระบบที่นำข้อดีของเงินสดมาไว้ในโลกดิจิทัลนั่นเองครับ</p>
<h1>การแบ่งย่อย e-cash</h1>
<p>สมมติว่า Alice มี e-cash มูลค่า 100 sat แต่ต้องการจ่ายค่ากาแฟให้ Bob เพียง 30 sat Alice จะสามารถจ่ายเงินให้ Bob ได้อย่างไร?</p>
<p>Chaumian e-cash มีคุณสมบัติที่สำคัญอีกอย่างหนึ่งก็คือ "การแบ่งย่อย" หรือ split ครับ มันทำงานคล้าย ๆ กับการแลกเงินในชีวิตจริงเลยครับ ลองนึกภาพตามดังนี้ครับ</p>
<ol>
<li>Alice ส่งคำขอไปยัง mint เพื่อแลก e-cash 100 sat เป็น e-cash มูลค่าย่อย คือ 30 sat และ 70 sat</li>
<li>mint จะสร้าง e-cash ใหม่ตามมูลค่าที่ Alice ขอ โดยใช้ blind signature เช่นเดิม ทำให้ mint ไม่รู้ว่า e-cash ใหม่เหล่านี้เชื่อมโยงกับ e-cash เดิมของ Alice อย่างไร</li>
<li>Alice จะได้รับ e-cash ใหม่กลับมา และสามารถใช้ e-cash มูลค่า 30 sat จ่ายให้ Bob ได้ทันที</li>
<li>ส่วน e-cash มูลค่า 70 sat ที่เหลือ Alice ก็สามารถเก็บไว้ใช้ในโอกาสต่อไป คล้าย ๆ กับเงินทอนนั่นเองครับ</li>
</ol>
<p><img src="https://image.nostr.build/4387441379eff92f45452ff251fedafa66f3e180652321dc57950c34901323ac.jpg" alt="image"><br><em>การแบ่งย่อย e-cash</em></p>
<p>การแบ่ง e-cash นี้ช่วยให้ผู้ใช้สามารถจ่ายเงินได้ตรงตามจำนวนที่ต้องการ ไม่ต้องกังวลว่าจะมีเหรียญย่อยไม่พอ มีความคล่องตัวสูง เลียนแบบการใช้เงินสดในชีวิตจริงได้อย่างใกล้เคียงมากขึ้น ทำให้ผู้ใช้สามารถจัดการเงินของตนได้อย่างอิสระและเป็นส่วนตัว โดยที่ mint ยังคงสามารถรักษาความปลอดภัยของระบบโดยรวมไว้ได้ครับ</p>
<h1>Federated Mint: ลดการรวมศูนย์และเพิ่มความปลอดภัย</h1>
<p>Mint หรือผู้ออก e-cash นั้น แม้จะมีข้อดีหลายประการ แต่ก็ยังมีความเสี่ยงที่เราต้องคำนึงถึงครับ เหมือนกับบริการรับฝากเงินแบบรวมศูนย์ทั่วไป mint ก็อาจทำให้ผู้ใช้เผชิญกับความเสี่ยงในรูปแบบต่าง ๆ เช่น ผู้ดูแลระบบอาจหนีหายไปพร้อมกับเงินของผู้ใช้ หรือ การบริหารจัดการที่ผิดพลาดอาจนำไปสู่การสูญเสียเงินของผู้ใช้</p>
<p>แต่ไม่ต้องกังวลไปครับ เพราะเรามีวิธีแก้ปัญหานี้!! นั่นคือการทำให้การทำงานของ mint กระจายตัวออกไป หรือที่เรียกว่า "Federated Mint"</p>
<p>วิธีการนี้คือ แทนที่จะมี mint เพียงแห่งเดียว เราจะมีหลาย ๆ mint ที่ทำงานร่วมกัน โดยทุกการดำเนินงานจะต้องได้รับการยืนยันจากกลุ่มของโหนดที่ควบคุมโดยหลายฝ่าย เพิ่มการกระจายศูนย์ โดยลดความเสี่ยงจากการพึ่งพา Mint เพียงแห่งเดียว อีกทั้งเพิ่มความสามารถในการขยายตัว (Scaling) รองรับผู้ใช้และธุรกรรมได้มากขึ้น</p>
<p>ที่สำคัญ แต่ละ mint สามารถส่งเงินให้กันได้ผ่านทั้ง lightning network ทำให้ระบบโดยรวมมีประสิทธิภาพและความปลอดภัยสูงขึ้น</p>
<p>การพัฒนา Federated Mints นี้ แสดงให้เห็นว่าเราสามารถนำข้อดีของ Chaumian e-cash มาใช้ โดยลดข้อเสียของระบบรวมศูนย์ลงได้ นับเป็นก้าวสำคัญในการพัฒนาระบบการเงินที่ทั้งปลอดภัย เป็นส่วนตัว และมีประสิทธิภาพสูงครับ</p>
<p><img src="https://i0.wp.com/bitlyrics.co/wp-content/uploads/2024/01/image-12.png" alt="image"><br><em>การทำงานของ mints มากว่าหนึ่งแห่งทำงานร่วมกัน (อ้างอิง: <np-embed url="https://bitlyrics.co/transcripts/cashu-for-bitcoin/"><a href="https://bitlyrics.co/transcripts/cashu-for-bitcoin/">https://bitlyrics.co/transcripts/cashu-for-bitcoin/</a></np-embed>)</em></p>
<h1>การประยุกต์ Chaumian e-cash กับ Bitcoin ในปัจจุบัน</h1>
<p>ปัจจุบันมีการนำแนวคิด Chaumian e-cash มาประยุกต์ใช้กับ Bitcoin แล้วครับ โดยมีสอง project หลักที่น่าสนใจ คือ Fedimint และ Cashu ลองมาดูรายละเอียดกันครับ</p>
<h2>Fedimint</h2>
<p>เป็นโปรโตคอลโอเพนซอร์สที่พัฒนาโดยบริษัท Fedi ซึ่งมีผู้สนับสนุนและนักลงทุนที่มีชื่อเสียง จุดเด่นของ Fedimint คือ สินทรัพย์ bitcoin จะถูกเก็บรักษาโดยหลายฝ่าย เรียกว่า "Guardian" ซึ่งรวมกันเป็น "Federation"</p>
<p>ระบบการเก็บรักษาคล้ายกับ multisig wallet ที่ต้องการลายเซ็นจากหลายฝ่าย เหมาะสำหรับชุมชนขนาดใหญ่หรือผู้ให้บริการแพลตฟอร์มที่ต้องการให้บริการ lightning network ให้กับลูกค้าหรือสมาชิก</p>
<p>Fedimint เรียกการ custody รูปแบบนี้ว่า "community custody" ซึ่งอยู่ระหว่าง self-custody และ full custody</p>
<p><img src="https://fedimint.org/assets/images/fm-logical.excalidraw-ac5db1fe8e9d27851eccd5ee7190dc37.png" alt="image"><br><em>การทำงานของ Fedimint (อ้างอิง: <np-embed url="https://fedimint.org/docs/GettingStarted/What-is-a-Fedimint"><a href="https://fedimint.org/docs/GettingStarted/What-is-a-Fedimint">https://fedimint.org/docs/GettingStarted/What-is-a-Fedimint</a></np-embed>)</em></p>
<h2>Cashu</h2>
<p>เป็นแนวทางที่แตกต่างจาก Fedimint ครับ โดยใช้รูปแบบ single-mint setup คือมีผู้ดูแลเพียงรายเดียว ไม่ใช่หลายรายแบบ Fedimint</p>
<p>จุดเด่นสำคัญของ Cashu ที่ทำให้มันแตกต่างคือ Cashu อนุญาตให้ตั้ง mint ได้ง่ายมากครับ แค่มี semi-custodial wallet เช่น LNbits ก็สามารถตั้ง mint ได้แล้ว ไม่จำเป็นต้องมีถึงระดับ full lightning node ซึ่งต้องใช้ทรัพยากรมากกว่า</p>
<p>ด้วยความง่ายในการตั้ง mint นี้ ทำให้มี mint ให้เลือกใช้งานจำนวนมากครับ ผู้ใช้สามารถเลือก mint ที่เหมาะสมกับความต้องการของตนได้</p>
<p>แม้ว่า Cashu จะมีความปลอดภัยน้อยกว่า Fedimint ในแง่ของการมีผู้ดูแลเพียงรายเดียวต่อ mint แต่ด้วยความสามารถในการกระจาย e-cash ไปยัง mint หลาย ๆ แห่ง ก็ช่วยชดเชยความเสี่ยงนี้ได้บางส่วนครับ</p>
<p>Cashu จึงเป็นทางเลือกที่น่าสนใจสำหรับผู้ที่ต้องการความยืดหยุ่นสูง ต้องการควบคุมการกระจายเงินของตนเอง และเหมาะสำหรับการใช้งานในวงแคบหรือในชุมชนขนาดเล็กถึงขนาดกลางครับ</p>
<p><img src="https://blockdyor.com/content/images/2024/02/How-Cashu-Works.webp" alt="image"><br><em>การทำงานของ Cashu (อ้างอิง: <np-embed url="https://blockdyor.com/cashu/"><a href="https://blockdyor.com/cashu/">https://blockdyor.com/cashu/</a></np-embed>)</em></p>
<h1>บทสรุปส่งท้าย</h1>
<p>บทความนี้ เราได้เรียนรู้เกี่ยวกับ Chaumian e-cash และการประยุกต์ใช้กับ Bitcoin ผ่านสอง project หลัก คือ Fedimint และ Cashu ครับ แต่ละ project ก็มีจุดเด่นและเหมาะกับการใช้งานที่แตกต่างกันไป</p>
<p>สำหรับผมแล้ว Cashu มีความน่าสนใจเป็นพิเศษครับ เพราะมันสามารถใช้งานได้ง่าย และเข้าถึงคนได้ง่ายกว่า ด้วยความสามารถในการตั้ง Mint ได้อย่างง่ายดาย ทำให้ Cashu มีศักยภาพในการขยายการใช้งานได้อย่างรวดเร็ว และเหมาะสำหรับการนำไปใช้ในชีวิตประจำวันของคนทั่วไปครับ</p>
<p>ในบทความหน้า ผมจะพาท่านผู้อ่านเจาะลึกลงไปในเรื่องของ Cashu ครับ โดยจะอธิบายรายละเอียดเพิ่มเติมและสอนวิธีการใช้งาน Cashu เพื่อให้ท่านผู้อ่านสามารถนำไปทดลองใช้งานได้จริง และเข้าใจถึงประโยชน์ของ Chaumian e-cash ในชีวิตประจำวันได้มากขึ้นครับ</p>
<p>หวังว่าบทความนี้จะช่วยให้ท่านเข้าใจภาพรวมของ Chaumian e-cash และการประยุกต์ใช้กับ Bitcoin ได้มากขึ้นนะครับ และอย่าลืมติดตามบทความถัดไปเกี่ยวกับ Cashu ที่จะมาเร็ว ๆ นี้ครับ ขอบคุณที่ติดตามอ่านครับ!!</p>
]]></itunes:summary>
      <itunes:image href="https://image.nostr.build/2033a8cafcd443ceedd55aa7a4f73837e1859f4642e60e835a4af6dc9e5d77bf.jpg"/>
      </item>
      
      <item>
      <title><![CDATA[มาวัดแต้มบุญกับเครื่องขุดบิตคอยน์จิ๋ว DIY กันเถอะ]]></title>
      <description><![CDATA[มาสร้างเครื่องขุดบิตคอยน์จิ๋วเป็นของตัวเองกันครับ]]></description>
             <itunes:subtitle><![CDATA[มาสร้างเครื่องขุดบิตคอยน์จิ๋วเป็นของตัวเองกันครับ]]></itunes:subtitle>
      <pubDate>Sun, 08 Oct 2023 00:24:02 GMT</pubDate>
      <link>https://pruk.npub.pro/post/nddpp_6x-_g3y_x1dqjef/</link>
      <comments>https://pruk.npub.pro/post/nddpp_6x-_g3y_x1dqjef/</comments>
      <guid isPermaLink="false">naddr1qq25u3ry2pc97dnc9405wv6etavrzez3ffzkvq3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65w2guxkv</guid>
      <category>Bitcoin</category>
      
        <media:content url="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696724642751-YAKIHONNES3.png" medium="image"/>
        <enclosure 
          url="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696724642751-YAKIHONNES3.png" length="0" 
          type="image/png" 
        />
      <noteId>naddr1qq25u3ry2pc97dnc9405wv6etavrzez3ffzkvq3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65w2guxkv</noteId>
      <npub>npub1pruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngys9pnj2f</npub>
      <dc:creator><![CDATA[Cypherpruk]]></dc:creator>
      <content:encoded><![CDATA[<p><em>ตั้งแต่ที่ผมได้เริ่มต้นศึกษาบิตคอยน์มาก็เกิดความรู้สึกที่อยากลองขุดบิตคอยน์ดูสักหน่อย</em> แต่การขุดนี้ก็ดูเหมือนจะเป็นเรื่องใหญ่โต ทั้งการหาซื้อเครื่อง asic และแหล่งพลังงานราคาถูกที่ทำให้การขุดเกิดความคุ้มค่า จนกระทั่งวันนึงผมมาเจอ Nerd Miner เครื่องขุดขนาดจิ๋ว กะปุ๊กลุกน่ารักมุ้ง ใช้กำลังไฟต่ำ แต่ขุดได้รึเปล่าว่ากันอีกเรื่องนึง 555 ราคาค่อนข้างย่อมเยา ประมาณ 30–50 ปอนด์ หรือ 1300–2300 บาท ลองดูรายละเอียดเพิ่มเติมได้ดังนี้ครับ</p>
<ul>
<li><a href="https://nerdminers.com/product/nerd-miner-t-display-s3/">Nerd Miner T Display S3 | Fully Setup</a></li>
<li><a href="https://shop.lnbits.com/product/nerdminer-s9">NerdMiner S9 - LNbits Web Shop</a></li>
</ul>
<p>แต่อย่างไรก็ตาม ผมมีข่าวดีก็คือเราสามารถสร้างเจ้า Nerd Miner เองได้ครับ และใช้ค่าจ่ายถูกกว่าอีกต่างหาก เยี่ยมไปเลยใช่มั้ยครับ นั่นก็เพราะว่า Nerd Miner นั้นเป็นโปรเจคแบบ open source โค้ดต่างๆ ที่ใช้ในการพัฒนาเปิดเผยทั้งหมด อีกทั้งอุปกรณ์ฮาร์ดแวร์ที่ใช้ในการพัฒนาก็สามารถหาซื้อได้ง่าย ใช้แค่ microcontroller ESP32-S3 ซึ่งเป็นที่รู้จักกันดีในกลุ่มนักพัฒนาอุปกรณ์ DIY ต่างๆ โดยบอร์ดพัฒนา ESP32 นี้เราจะนำมาโปรแกรม Stratum protocol เพื่อขุดบิตคอยน์ให้กับเรา โดยที่เราสามารถเลือก Pool สำหรับการขุดเองได้</p>
<p>ในบทความนี้ผมก็จะสอนเพื่อนๆ Bitcoiner ชาว Nostr และ Siamstr ทุกท่านมาลองสร้างเครื่องขุดบิตคอยน์จิ๋ว DIY กัน แม้ว่ากำลังขุดจะน้อยนิดจนเราไม่ได้อะไรเลยจากการขุด แต่ถ้าหลายๆ ท่านช่วยกัน Hashrate ของ Prove of Work ในระบบ Bitcoin ก็จะสูงมากขึ้น เลยขอเชิญชวนทุกท่านมาร่วมกันสร้างความแข็งแกร่งให้กับระบบเงินในอนาคตของเรากันครับ</p>
<p><em><strong>ถ้าพร้อมแล้ว… เรามาเริ่มกันเลยครับ</strong></em></p>
<p>อันดับแรกเลยนะครับจะต้องหาซื้อฮาร์ดแวร์กันก่อน ก็คือบอร์ดพัฒนา ESP32 นั่นเองครับ โดยมีรุ่นให้เลือกใช้ได้หลากหลาย ดังนี้ครับ</p>
<ul>
<li>ESP32-WROOM, ESP32-Devkit1..  (<a href="https://shopee.co.th/search?keyword=esp32">Shopee link*</a>) </li>
<li>M5Stack (<a href="https://shopee.co.th/search?keyword=m5stack">Shopee link*</a>)</li>
<li>LILYGO T-QT pro (<a href="https://s.click.aliexpress.com/e/_DBQIr43">Aliexpress link*</a>)</li>
<li>LILYGO T-Display S3 (<a href="https://s.click.aliexpress.com/e/_Ddy7739">Aliexpress link*</a>)</li>
<li>LILYGO T-Display 1.14 (<a href="https://s.click.aliexpress.com/e/_DEqGvSJ">Aliexpress link*</a>)</li>
<li>LILYGO T-Display S3 AMOLED (<a href="https://s.click.aliexpress.com/e/_DmOIK6j">Aliexpress link*</a>)</li>
<li>LILYGO T-Dongle S3 (<a href="https://s.click.aliexpress.com/e/_DmQCPyj">Aliexpress link*</a>)</li>
</ul>
<p><img src="https://bitmaker-hub.github.io/diyflasher/media/fondoOpenSourceMM3.png" alt="image"></p>
<p>เราสามารถเลือกซื้อบอร์ด ESP32 ได้ตามใจชอบเลยนะครับ ถ้าหากท่านมีงบประมาณน้อยก็อาจจะซื้อแค่ ESP32 WROOM เป็นแค่บอร์ดเปล่าซึ่งมีราคาถูกที่สุด แต่ไม่มีจอแสดงผล ถ้าท่านอยากได้แบบมีทั้งจอและ case ด้วย ผมก็แนะนำ LILYGO T-Display S3 ซึ่งผมก็ใช้ตัวนี้ หรือถ้าท่านอยากได้แค่บอร์ดกับจอแล้วมาออกแบบสร้าง Case เองก็ได้ครับ จะได้เครื่องขุดจิ๋วที่หน้าตาไม่เหมือนใคร  มีตัวอย่างไฟล์ 3D print ลองศึกษาเพิ่มเติมดูได้ตามลิงก์นี้ครับ </p>
<blockquote>
<p><a href="https://www.printables.com/model/501547-nerdminer-v2-click-case-w-buttons">Nerdminer V2 click case w/ buttons by stackbit.me | Download free STL model
</a></p>
</blockquote>
<p><img src="https://media.printables.com/media/prints/501547/images/4076573_dd3d0ba2-50a9-4279-8a66-ba65898f2990/thumbs/cover/320x240/jpg/photo_2023-06-08_17-17-44.webp" alt="image"> </p>
<p>ทีนี้ในส่วนของฮาร์ดแวร์ก็จบไปแล้ว เรามาต่อกันที่ซอฟต์แวร์กันครับ การที่จะติดตั้ง firmeare ลงบนบอร์ดได้นั้น ก่อนอื่นเราจำเป็นต้องติดตั้ง Driver ของบอร์ดกันก่อน ท่านสามารถดาวน์โหลดและติดตั้งได้ตามลิงก์นี้เลยครับ</p>
<blockquote>
<p><a href="https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads">CP210x USB to UART Bridge VCP Drivers - Silicon Labs </a></p>
</blockquote>
<p>เมื่อท่านติดตั้ง Driver เรียบร้อยแล้วเมื่อทำการเชื่อมต่อบอร์ด ESP32 เข้ากับคอมพิวเตอร์ด้วยสาย USB ก็จะพบอุปกรณ์ที่เข้ามาเชื่อมต่อครับ </p>
<p>ต่อมาก็มาถึงขั้นตอนการติดตั้ง firmware ของ Nerd Miner ลงบนบอร์ด ESP32 ของเรากันครับ โดยเข้าไปที่หน้าเว็บตามด้านล่างเลยครับ</p>
<blockquote>
<p><a href="https://bitmaker-hub.github.io/diyflasher/">NM DIY Flasher
</a></p>
</blockquote>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696696578169-YAKIHONNES3.PNG" alt="image"></p>
<p>โดยที่ในหน้าเว็บจะมีประเภทของ firmware ของ Nerd Miner ให้เลือกตามบอร์ด ESP32 ที่ท่านเลือกใช้นะครับ หลังจากนั้นก็กดปุ่ม Flash เพื่อทำการติดตั้ง firmware เว็บบราวเซอร์จะถามหา serial port ให้เราเลือกที่เป็นของบอร์ด ESP32 ของท่านนะครับ ในกรณีของผมตามภาพจะเป็น COM9</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696696680784-YAKIHONNES3.PNG" alt="image"></p>
<p>เมื่อแถบ Firmware เต็มและขึ้นคำว่า “Successfully flashed NerdMinerv2 1.6.2 original board T-Display S3” ดังรูปด้านล่าง แสดงว่าการติดตั้งสำเร็จเรียบร้อยครับ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696696737099-YAKIHONNES3.PNG" alt="image"></p>
<p>หลังจากนั้นให้เราทำการรีเซ็ตบอร์ดพัฒนา ESP32 ของท่าน หากบอร์ดหน้าจอแสดงผลจะปรากฏหน้าจอดังรูปครับ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696696799874-YAKIHONNES3.PNG" alt="image"></p>
<p>ต่อมาเราก็จะเข้ามาสู่ขั้นตอนการ Setup Nerd Miner กันนะครับ ให้ทำการเชื่อมต่อกับ WiFi <em><strong>“NerdMinerAP”</strong></em> โดยรหัสผ่านคือ <em><strong>“MineYourCoins”</strong></em> นะครับ หรือท่านใด้จะใช้วิธีสแกน QR code ตามที่ปรากฏบนจอแสดงผลก็ได้นะครับ </p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696696872931-YAKIHONNES3.PNG" alt="image"></p>
<p>เมื่อเชื่อมต่อ WiFi ของ NerdMinerAP เรียบร้อย ระบบก็จะพาท่านมาสู่หน้าเว็บของ NerdMiner หรือจะเข้าผ่าน IP address 192.168.4.1 ก็ได้ครับ ในหน้านี้ให้ท่าเลือก Configure WiFi เพื่อทำการตั้งค่า โดยให้ท่านระบุชื่อ WiFi รหัสผ่านที่ท่าใช้ในการเชื่อมต่ออินเตอร์เน็ต ใส่ address ที่ท่านจะใช้สำหรับรับบิตคอยน์หากท่านขุดได้ (อันนี้ขึ้นอยู่กับดวงของท่านเลยครับ 555) นอกจากนี้ท่านยังสามารถเลือก pool สำหรับขุดได้โดยการตั้งค่า pool url และ port แนะนำว่าควรเลือก pool ที่มี dificulty ต่ำเพราะโอกาสขุดได้เยอะกว่า โดยรายละเอียดของ pool ที่แนะนำก็มีดังนี้ครับ </p>
<table>
<thead>
<tr>
<th>Pool URL</th>
<th>Port</th>
<th>Web URL</th>
</tr>
</thead>
<tbody><tr>
<td>public-pool.io</td>
<td>21496</td>
<td><np-embed url="https://web.public-pool.io"><a href="https://web.public-pool.io">https://web.public-pool.io</a></np-embed></td>
</tr>
<tr>
<td>pool.nerdminer.io</td>
<td>3333</td>
<td><np-embed url="https://nerdminer.io"><a href="https://nerdminer.io">https://nerdminer.io</a></np-embed></td>
</tr>
<tr>
<td>pool.vkbit.com</td>
<td>3333</td>
<td><np-embed url="https://vkbit.com/"><a href="https://vkbit.com/">https://vkbit.com/</a></np-embed></td>
</tr>
</tbody></table>
<p>และสุดท้ายก็ระบุโซนเวลาตามสถานที่ที่ท่านอยู่ครับ ถ้าหากที่ประเทศไทยก็เป็น 7 ครับ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696696955131-YAKIHONNES3.PNG" alt="image"></p>
<p>เมื่อทำการ Setup เรียบร้อย หา WiFi และรหัสผ่านถูกต้อง สามารถเชื่อมต่ออินเตอร์เน็ตได้ Nerd Miner ของท่านก็พร้อมสำหรับการขุดเรียบร้อยครับ โดยที่หน้าจอของ Nerd Miner จะมีอยู่ด้วยกันสามรูปแบบ ปรับเปลี่ยนด้วยการกดปุ่มด้านขวาบนครับ โดยจอแสดงผลการใช้งานทั้งสามแบบของ Nerd Miner ประกอบไปด้วยดังนี้</p>
<ol>
<li><p>NerdMiner Screen ในหน้านี้จะแสดงข้อมูลการขุดของเจ้าเครื่องขุดจิ๋วของท่าน ประกอบไปด้วย ดังนี้</p>
<ul>
<li>Block Template: จำนวนบล็อคที่ได้ขุดไป</li>
<li>Best Difficulty: difficulty สูงสุดที่ขุดได้</li>
<li>32BITs Share: จำนวนครั้งที่เราขุดได้ hash ที่มี 0 นำหน้าตั้งแต่ 32 บิตขึ้นไป</li>
<li>เวลาที่ทำการขุด</li>
<li>Hashrate</li>
<li>จำนวน Hash ที่ได้ทำไปแล้ว</li>
</ul>
</li>
</ol>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696697124503-YAKIHONNES3.PNG" alt="image"></p>
<ol start="2">
<li>ClockMiner Screen ในหน้านี้จะแสดงเวลาปัจจุบัน hashrate และ block height ปัจจุบันของบิทคอยน์โดยท่านอาจใช้หน้านี้เป็นเหมือนนาฬิกา Bitcoin Block Clock ก็ได้ครับ</li>
</ol>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696697132608-YAKIHONNES3.PNG" alt="image"></p>
<ol start="3">
<li>GlobalStats Screen ในหน้านี้จะแสดงสถานะของบิตคอยน์ในปัจจุบันครับ ไม่ว่าจะเป็น ราคา, ค่ากลางของค่าธรรมเนียมธุรกรรม, dificulty ในการขุด, block height ปัจจุบัน และ hashrate ของทั้งโลก</li>
</ol>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696697146301-YAKIHONNES3.PNG" alt="image"></p>
<p>เพียงเท่านี้ทุกท่านก็มีเครื่องขุดขนาดจิ๋วกันแล้วนะครับ หากท่านใดอยากจะศึกษาเพิ่มก็ลองเข้าไปดูซอร์สโค้ดได้ตามลิงก์ด้านล่างได้เลยนะครับ</p>
<blockquote>
<p><a href="https://github.com/BitMaker-hub/NerdMiner_v2">GitHub - BitMaker-hub/NerdMiner_v2: Improved version of first ESP32 NerdMiner</a></p>
</blockquote>
<p>หากท่านใดมีปัญหาในการติดตั้งและการใช้งานต่างๆ หรือต้องการติชมประการใก ก็สามารถคอมเมนต์หรือติดต่อทัก DM ผมมาทาง Nostr ได้เลยครับ สำหรับบทความนี้ก็มีเพียงเท่านี้ <em><strong>ขอให้ทุกท่านโชคดีกับการขุดบิตคอยน์ครับ</strong></em></p>
]]></content:encoded>
      <itunes:author><![CDATA[Cypherpruk]]></itunes:author>
      <itunes:summary><![CDATA[<p><em>ตั้งแต่ที่ผมได้เริ่มต้นศึกษาบิตคอยน์มาก็เกิดความรู้สึกที่อยากลองขุดบิตคอยน์ดูสักหน่อย</em> แต่การขุดนี้ก็ดูเหมือนจะเป็นเรื่องใหญ่โต ทั้งการหาซื้อเครื่อง asic และแหล่งพลังงานราคาถูกที่ทำให้การขุดเกิดความคุ้มค่า จนกระทั่งวันนึงผมมาเจอ Nerd Miner เครื่องขุดขนาดจิ๋ว กะปุ๊กลุกน่ารักมุ้ง ใช้กำลังไฟต่ำ แต่ขุดได้รึเปล่าว่ากันอีกเรื่องนึง 555 ราคาค่อนข้างย่อมเยา ประมาณ 30–50 ปอนด์ หรือ 1300–2300 บาท ลองดูรายละเอียดเพิ่มเติมได้ดังนี้ครับ</p>
<ul>
<li><a href="https://nerdminers.com/product/nerd-miner-t-display-s3/">Nerd Miner T Display S3 | Fully Setup</a></li>
<li><a href="https://shop.lnbits.com/product/nerdminer-s9">NerdMiner S9 - LNbits Web Shop</a></li>
</ul>
<p>แต่อย่างไรก็ตาม ผมมีข่าวดีก็คือเราสามารถสร้างเจ้า Nerd Miner เองได้ครับ และใช้ค่าจ่ายถูกกว่าอีกต่างหาก เยี่ยมไปเลยใช่มั้ยครับ นั่นก็เพราะว่า Nerd Miner นั้นเป็นโปรเจคแบบ open source โค้ดต่างๆ ที่ใช้ในการพัฒนาเปิดเผยทั้งหมด อีกทั้งอุปกรณ์ฮาร์ดแวร์ที่ใช้ในการพัฒนาก็สามารถหาซื้อได้ง่าย ใช้แค่ microcontroller ESP32-S3 ซึ่งเป็นที่รู้จักกันดีในกลุ่มนักพัฒนาอุปกรณ์ DIY ต่างๆ โดยบอร์ดพัฒนา ESP32 นี้เราจะนำมาโปรแกรม Stratum protocol เพื่อขุดบิตคอยน์ให้กับเรา โดยที่เราสามารถเลือก Pool สำหรับการขุดเองได้</p>
<p>ในบทความนี้ผมก็จะสอนเพื่อนๆ Bitcoiner ชาว Nostr และ Siamstr ทุกท่านมาลองสร้างเครื่องขุดบิตคอยน์จิ๋ว DIY กัน แม้ว่ากำลังขุดจะน้อยนิดจนเราไม่ได้อะไรเลยจากการขุด แต่ถ้าหลายๆ ท่านช่วยกัน Hashrate ของ Prove of Work ในระบบ Bitcoin ก็จะสูงมากขึ้น เลยขอเชิญชวนทุกท่านมาร่วมกันสร้างความแข็งแกร่งให้กับระบบเงินในอนาคตของเรากันครับ</p>
<p><em><strong>ถ้าพร้อมแล้ว… เรามาเริ่มกันเลยครับ</strong></em></p>
<p>อันดับแรกเลยนะครับจะต้องหาซื้อฮาร์ดแวร์กันก่อน ก็คือบอร์ดพัฒนา ESP32 นั่นเองครับ โดยมีรุ่นให้เลือกใช้ได้หลากหลาย ดังนี้ครับ</p>
<ul>
<li>ESP32-WROOM, ESP32-Devkit1..  (<a href="https://shopee.co.th/search?keyword=esp32">Shopee link*</a>) </li>
<li>M5Stack (<a href="https://shopee.co.th/search?keyword=m5stack">Shopee link*</a>)</li>
<li>LILYGO T-QT pro (<a href="https://s.click.aliexpress.com/e/_DBQIr43">Aliexpress link*</a>)</li>
<li>LILYGO T-Display S3 (<a href="https://s.click.aliexpress.com/e/_Ddy7739">Aliexpress link*</a>)</li>
<li>LILYGO T-Display 1.14 (<a href="https://s.click.aliexpress.com/e/_DEqGvSJ">Aliexpress link*</a>)</li>
<li>LILYGO T-Display S3 AMOLED (<a href="https://s.click.aliexpress.com/e/_DmOIK6j">Aliexpress link*</a>)</li>
<li>LILYGO T-Dongle S3 (<a href="https://s.click.aliexpress.com/e/_DmQCPyj">Aliexpress link*</a>)</li>
</ul>
<p><img src="https://bitmaker-hub.github.io/diyflasher/media/fondoOpenSourceMM3.png" alt="image"></p>
<p>เราสามารถเลือกซื้อบอร์ด ESP32 ได้ตามใจชอบเลยนะครับ ถ้าหากท่านมีงบประมาณน้อยก็อาจจะซื้อแค่ ESP32 WROOM เป็นแค่บอร์ดเปล่าซึ่งมีราคาถูกที่สุด แต่ไม่มีจอแสดงผล ถ้าท่านอยากได้แบบมีทั้งจอและ case ด้วย ผมก็แนะนำ LILYGO T-Display S3 ซึ่งผมก็ใช้ตัวนี้ หรือถ้าท่านอยากได้แค่บอร์ดกับจอแล้วมาออกแบบสร้าง Case เองก็ได้ครับ จะได้เครื่องขุดจิ๋วที่หน้าตาไม่เหมือนใคร  มีตัวอย่างไฟล์ 3D print ลองศึกษาเพิ่มเติมดูได้ตามลิงก์นี้ครับ </p>
<blockquote>
<p><a href="https://www.printables.com/model/501547-nerdminer-v2-click-case-w-buttons">Nerdminer V2 click case w/ buttons by stackbit.me | Download free STL model
</a></p>
</blockquote>
<p><img src="https://media.printables.com/media/prints/501547/images/4076573_dd3d0ba2-50a9-4279-8a66-ba65898f2990/thumbs/cover/320x240/jpg/photo_2023-06-08_17-17-44.webp" alt="image"> </p>
<p>ทีนี้ในส่วนของฮาร์ดแวร์ก็จบไปแล้ว เรามาต่อกันที่ซอฟต์แวร์กันครับ การที่จะติดตั้ง firmeare ลงบนบอร์ดได้นั้น ก่อนอื่นเราจำเป็นต้องติดตั้ง Driver ของบอร์ดกันก่อน ท่านสามารถดาวน์โหลดและติดตั้งได้ตามลิงก์นี้เลยครับ</p>
<blockquote>
<p><a href="https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads">CP210x USB to UART Bridge VCP Drivers - Silicon Labs </a></p>
</blockquote>
<p>เมื่อท่านติดตั้ง Driver เรียบร้อยแล้วเมื่อทำการเชื่อมต่อบอร์ด ESP32 เข้ากับคอมพิวเตอร์ด้วยสาย USB ก็จะพบอุปกรณ์ที่เข้ามาเชื่อมต่อครับ </p>
<p>ต่อมาก็มาถึงขั้นตอนการติดตั้ง firmware ของ Nerd Miner ลงบนบอร์ด ESP32 ของเรากันครับ โดยเข้าไปที่หน้าเว็บตามด้านล่างเลยครับ</p>
<blockquote>
<p><a href="https://bitmaker-hub.github.io/diyflasher/">NM DIY Flasher
</a></p>
</blockquote>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696696578169-YAKIHONNES3.PNG" alt="image"></p>
<p>โดยที่ในหน้าเว็บจะมีประเภทของ firmware ของ Nerd Miner ให้เลือกตามบอร์ด ESP32 ที่ท่านเลือกใช้นะครับ หลังจากนั้นก็กดปุ่ม Flash เพื่อทำการติดตั้ง firmware เว็บบราวเซอร์จะถามหา serial port ให้เราเลือกที่เป็นของบอร์ด ESP32 ของท่านนะครับ ในกรณีของผมตามภาพจะเป็น COM9</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696696680784-YAKIHONNES3.PNG" alt="image"></p>
<p>เมื่อแถบ Firmware เต็มและขึ้นคำว่า “Successfully flashed NerdMinerv2 1.6.2 original board T-Display S3” ดังรูปด้านล่าง แสดงว่าการติดตั้งสำเร็จเรียบร้อยครับ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696696737099-YAKIHONNES3.PNG" alt="image"></p>
<p>หลังจากนั้นให้เราทำการรีเซ็ตบอร์ดพัฒนา ESP32 ของท่าน หากบอร์ดหน้าจอแสดงผลจะปรากฏหน้าจอดังรูปครับ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696696799874-YAKIHONNES3.PNG" alt="image"></p>
<p>ต่อมาเราก็จะเข้ามาสู่ขั้นตอนการ Setup Nerd Miner กันนะครับ ให้ทำการเชื่อมต่อกับ WiFi <em><strong>“NerdMinerAP”</strong></em> โดยรหัสผ่านคือ <em><strong>“MineYourCoins”</strong></em> นะครับ หรือท่านใด้จะใช้วิธีสแกน QR code ตามที่ปรากฏบนจอแสดงผลก็ได้นะครับ </p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696696872931-YAKIHONNES3.PNG" alt="image"></p>
<p>เมื่อเชื่อมต่อ WiFi ของ NerdMinerAP เรียบร้อย ระบบก็จะพาท่านมาสู่หน้าเว็บของ NerdMiner หรือจะเข้าผ่าน IP address 192.168.4.1 ก็ได้ครับ ในหน้านี้ให้ท่าเลือก Configure WiFi เพื่อทำการตั้งค่า โดยให้ท่านระบุชื่อ WiFi รหัสผ่านที่ท่าใช้ในการเชื่อมต่ออินเตอร์เน็ต ใส่ address ที่ท่านจะใช้สำหรับรับบิตคอยน์หากท่านขุดได้ (อันนี้ขึ้นอยู่กับดวงของท่านเลยครับ 555) นอกจากนี้ท่านยังสามารถเลือก pool สำหรับขุดได้โดยการตั้งค่า pool url และ port แนะนำว่าควรเลือก pool ที่มี dificulty ต่ำเพราะโอกาสขุดได้เยอะกว่า โดยรายละเอียดของ pool ที่แนะนำก็มีดังนี้ครับ </p>
<table>
<thead>
<tr>
<th>Pool URL</th>
<th>Port</th>
<th>Web URL</th>
</tr>
</thead>
<tbody><tr>
<td>public-pool.io</td>
<td>21496</td>
<td><np-embed url="https://web.public-pool.io"><a href="https://web.public-pool.io">https://web.public-pool.io</a></np-embed></td>
</tr>
<tr>
<td>pool.nerdminer.io</td>
<td>3333</td>
<td><np-embed url="https://nerdminer.io"><a href="https://nerdminer.io">https://nerdminer.io</a></np-embed></td>
</tr>
<tr>
<td>pool.vkbit.com</td>
<td>3333</td>
<td><np-embed url="https://vkbit.com/"><a href="https://vkbit.com/">https://vkbit.com/</a></np-embed></td>
</tr>
</tbody></table>
<p>และสุดท้ายก็ระบุโซนเวลาตามสถานที่ที่ท่านอยู่ครับ ถ้าหากที่ประเทศไทยก็เป็น 7 ครับ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696696955131-YAKIHONNES3.PNG" alt="image"></p>
<p>เมื่อทำการ Setup เรียบร้อย หา WiFi และรหัสผ่านถูกต้อง สามารถเชื่อมต่ออินเตอร์เน็ตได้ Nerd Miner ของท่านก็พร้อมสำหรับการขุดเรียบร้อยครับ โดยที่หน้าจอของ Nerd Miner จะมีอยู่ด้วยกันสามรูปแบบ ปรับเปลี่ยนด้วยการกดปุ่มด้านขวาบนครับ โดยจอแสดงผลการใช้งานทั้งสามแบบของ Nerd Miner ประกอบไปด้วยดังนี้</p>
<ol>
<li><p>NerdMiner Screen ในหน้านี้จะแสดงข้อมูลการขุดของเจ้าเครื่องขุดจิ๋วของท่าน ประกอบไปด้วย ดังนี้</p>
<ul>
<li>Block Template: จำนวนบล็อคที่ได้ขุดไป</li>
<li>Best Difficulty: difficulty สูงสุดที่ขุดได้</li>
<li>32BITs Share: จำนวนครั้งที่เราขุดได้ hash ที่มี 0 นำหน้าตั้งแต่ 32 บิตขึ้นไป</li>
<li>เวลาที่ทำการขุด</li>
<li>Hashrate</li>
<li>จำนวน Hash ที่ได้ทำไปแล้ว</li>
</ul>
</li>
</ol>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696697124503-YAKIHONNES3.PNG" alt="image"></p>
<ol start="2">
<li>ClockMiner Screen ในหน้านี้จะแสดงเวลาปัจจุบัน hashrate และ block height ปัจจุบันของบิทคอยน์โดยท่านอาจใช้หน้านี้เป็นเหมือนนาฬิกา Bitcoin Block Clock ก็ได้ครับ</li>
</ol>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696697132608-YAKIHONNES3.PNG" alt="image"></p>
<ol start="3">
<li>GlobalStats Screen ในหน้านี้จะแสดงสถานะของบิตคอยน์ในปัจจุบันครับ ไม่ว่าจะเป็น ราคา, ค่ากลางของค่าธรรมเนียมธุรกรรม, dificulty ในการขุด, block height ปัจจุบัน และ hashrate ของทั้งโลก</li>
</ol>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696697146301-YAKIHONNES3.PNG" alt="image"></p>
<p>เพียงเท่านี้ทุกท่านก็มีเครื่องขุดขนาดจิ๋วกันแล้วนะครับ หากท่านใดอยากจะศึกษาเพิ่มก็ลองเข้าไปดูซอร์สโค้ดได้ตามลิงก์ด้านล่างได้เลยนะครับ</p>
<blockquote>
<p><a href="https://github.com/BitMaker-hub/NerdMiner_v2">GitHub - BitMaker-hub/NerdMiner_v2: Improved version of first ESP32 NerdMiner</a></p>
</blockquote>
<p>หากท่านใดมีปัญหาในการติดตั้งและการใช้งานต่างๆ หรือต้องการติชมประการใก ก็สามารถคอมเมนต์หรือติดต่อทัก DM ผมมาทาง Nostr ได้เลยครับ สำหรับบทความนี้ก็มีเพียงเท่านี้ <em><strong>ขอให้ทุกท่านโชคดีกับการขุดบิตคอยน์ครับ</strong></em></p>
]]></itunes:summary>
      <itunes:image href="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1696724642751-YAKIHONNES3.png"/>
      </item>
      
      </channel>
      </rss>
    