<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/</link>
        <atom:link href="https://pruk.npub.pro/rss/" rel="self" type="application/rss+xml"/>
        <itunes:new-feed-url>https://pruk.npub.pro/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>Thu, 15 May 2025 01:17:18 GMT</pubDate>
      <lastBuildDate>Thu, 15 May 2025 01:17:18 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/</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[Bitcoin Standard: เราอาจได้เห็นเร็วกว่าที่คิด]]></title>
      <description><![CDATA[โลกที่ใช้บิตคอยน์อาจไม่ใช่ภาพในหนังไซไฟ
และเราอาจไม่ได้ “ถือ BTC ไปซื้อกาแฟ” แบบที่ใคร ๆ คิด

แต่ในอีกไม่กี่ปีข้างหน้า
เงินดิจิทัลที่คุณใช้…
แอปที่คุณโอน…
หรือระบบที่ธนาคารใช้…
อาจทั้งหมด “อิงอยู่กับบิตคอยน์”
แม้คุณจะไม่รู้ตัวเลยก็ตาม

Bitcoin Standard กำลังมาทีละชั้น ทีละ Layer
และมันเกิดขึ้นแล้ว]]></description>
             <itunes:subtitle><![CDATA[โลกที่ใช้บิตคอยน์อาจไม่ใช่ภาพในหนังไซไฟ
และเราอาจไม่ได้ “ถือ BTC ไปซื้อกาแฟ” แบบที่ใคร ๆ คิด

แต่ในอีกไม่กี่ปีข้างหน้า
เงินดิจิทัลที่คุณใช้…
แอปที่คุณโอน…
หรือระบบที่ธนาคารใช้…
อาจทั้งหมด “อิงอยู่กับบิตคอยน์”
แม้คุณจะไม่รู้ตัวเลยก็ตาม

Bitcoin Standard กำลังมาทีละชั้น ทีละ Layer
และมันเกิดขึ้นแล้ว]]></itunes:subtitle>
      <pubDate>Thu, 15 May 2025 01:17:18 GMT</pubDate>
      <link>https://pruk.npub.pro/post/3d337601db89be44/</link>
      <comments>https://pruk.npub.pro/post/3d337601db89be44/</comments>
      <guid isPermaLink="false">naddr1qqgrxepnxvmnvvp3v33rswtzv56rgq3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65wvle392</guid>
      <category>siamstr</category>
      
        <media:content url="https://image.nostr.build/601efb357a88ff3f966509c8b10f136acc0c05b7bcbb3f0041d5d5a7e0701683.jpg" medium="image"/>
        <enclosure 
          url="https://image.nostr.build/601efb357a88ff3f966509c8b10f136acc0c05b7bcbb3f0041d5d5a7e0701683.jpg" length="0" 
          type="image/jpeg" 
        />
      <noteId>naddr1qqgrxepnxvmnvvp3v33rswtzv56rgq3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65wvle392</noteId>
      <npub>npub1pruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngys9pnj2f</npub>
      <dc:creator><![CDATA[Cypherpruk]]></dc:creator>
      <content:encoded><![CDATA[<p>เมื่อพูดถึง Bitcoin Standard หลายคนมักนึกถึงภาพโลกอนาคตที่ทุกคนใช้บิตคอยน์ซื้อกาแฟหรือของใช้ในชีวิตประจำวัน<br>ภาพแบบนั้นดูเหมือนไกลตัวและเป็นไปไม่ได้ในความเป็นจริง<br>หลายคนถึงกับพูดว่า “คงไม่ทันเห็นในช่วงชีวิตนี้หรอก”<br>แต่ในมุมมองของผม Bitcoin Standard อาจไม่ได้เริ่มต้นจากการที่เราจ่ายบิตคอยน์โดยตรงในร้านค้า<br>แต่อาจเริ่มจากบางสิ่งที่เงียบกว่า ลึกกว่า และเกิดขึ้นแล้วในขณะนี้<br>นั่นคือ การล่มสลายทีละน้อยของระบบเฟียตที่เราใช้กันอยู่</p>
<p>ระบบเงินที่อิงกับอำนาจรัฐกำลังเข้าสู่ช่วงขาลง<br>รัฐบาลทั่วโลกกำลังจมอยู่ในภาระหนี้ระดับประวัติการณ์<br>แม้แต่ประเทศมหาอำนาจก็เริ่มแสดงสัญญาณของภาวะเสี่ยงผิดนัดชำระหนี้<br>อัตราเงินเฟ้อกลายเป็นปัญหาเรื้อรังที่ไม่มีท่าทีจะหายไป<br>ธนาคารที่เคยโอนฟรีเริ่มกลับมาคิดค่าธรรมเนียม<br>และประชาชนก็เริ่มรู้สึกถึงการเสื่อมศรัทธาในระบบการเงินดั้งเดิม แม้จะยังพูดกันไม่เต็มเสียงก็ตาม</p>
<p>ในขณะเดียวกัน บิตคอยน์เองก็กำลังพัฒนาแบบเงียบ ๆ<br>เงียบ... แต่ไม่เคยหยุด<br>โดยเฉพาะในระดับ Layer 2 ที่เริ่มแสดงศักยภาพอย่างจริงจัง<br>Lightning Network เป็น Layer 2 ที่เปิดใช้งานมาได้ระยะเวลสหนึ่ง และยังคงมีบทบาทสำคัญที่สุดในระบบนิเวศของบิตคอยน์<br>มันทำให้การชำระเงินเร็วขึ้น มีต้นทุนต่ำ และไม่ต้องบันทึกทุกธุรกรรมลงบล็อกเชน<br>เครือข่ายนี้กำลังขยายตัวทั้งในแง่ของโหนดและการใช้งานจริงทั่วโลก</p>
<p>ขณะเดียวกัน Layer 2 ทางเลือกอื่นอย่าง Ark Protocol ก็กำลังพัฒนาเพื่อตอบโจทย์ด้านความเป็นส่วนตัวและประสบการณ์ใช้งานที่ง่าย<br>BitVM เปิดแนวทางใหม่ให้บิตคอยน์รองรับ smart contract ได้ในระดับ Turing-complete ซึ่งทำให้เกิดความเป็นไปได้ในกรณีใช้งานอีกมากมาย<br>และเทคโนโลยีที่น่าสนใจอย่าง Taproot Assets, Cashu และ Fedimint ก็ทำให้การออกโทเคนหรือสกุลเงินที่อิงกับบิตคอยน์เป็นจริงได้บนโครงสร้างของบิตคอยน์เอง</p>
<p>เทคโนโลยีเหล่านี้ไม่ใช่การเติบโตแบบปาฏิหาริย์<br>แต่มันคืบหน้าอย่างต่อเนื่องและมั่นคง<br>และนั่นคือเหตุผลที่มันจะ “อยู่รอด” ได้ในระยะยาว<br>เมื่อฐานของความน่าเชื่อถือไม่ใช่บริษัท รัฐบาล หรือทุน<br>แต่คือสิ่งที่ตรวจสอบได้และเปลี่ยนกฎไม่ได้</p>
<p>แน่นอนว่าบิตคอยน์ต้องแข่งขันกับ stable coin, เงินดิจิทัลของรัฐ และ cryptocurrency อื่น ๆ<br>แต่สิ่งที่ทำให้มันเหนือกว่านั้นไม่ใช่ฟีเจอร์<br>หากแต่เป็นความทนทาน และความมั่นคงของกฎที่ไม่มีใครเปลี่ยนได้<br>ไม่มีทีมพัฒนา ไม่มีบริษัท ไม่มีประตูปิด หรือการยึดบัญชี<br>มันยืนอยู่บนคณิตศาสตร์ พลังงาน และเวลา</p>
<p>หลายกรณีใช้งานที่เคยถูกทดลองในโลกคริปโตจะค่อย ๆ เคลื่อนเข้ามาสู่บิตคอยน์<br>เพราะโครงสร้างของมันแข็งแกร่งกว่า<br>ไม่ต้องการทีมพัฒนาแกนกลาง<br>ไม่ต้องพึ่งกลไกเสี่ยงต่อการผูกขาด<br>และไม่ต้องการ “ความเชื่อใจ” จากใครเลย</p>
<p>Bitcoin Standard ที่ผมพูดถึงจึงไม่ใช่การเปลี่ยนแปลงแบบพลิกหน้ามือเป็นหลังมือ<br>แต่คือการ “เปลี่ยนฐานของระบบ” ทีละชั้น<br>ระบบการเงินใหม่ที่อิงอยู่กับบิตคอยน์กำลังเกิดขึ้นแล้ว<br>มันไม่ใช่โลกที่ทุกคนถือเหรียญบิตคอยน์<br>แต่มันคือโลกที่คนใช้อาจไม่รู้ตัวด้วยซ้ำว่า “สิ่งที่เขาใช้นั้นอิงอยู่กับบิตคอยน์”</p>
<p>ผู้คนอาจใช้เงินดิจิทัลที่สร้างบน Layer 3 หรือ Layer 4<br>ผ่านแอป ผ่านแพลตฟอร์ม หรือผ่านสกุลเงินใหม่ที่ดูไม่ต่างจากเดิม<br>แต่เบื้องหลังของระบบจะผูกไว้กับบิตคอยน์</p>
<p>และถ้ามองในเชิงพัฒนาการ บิตคอยน์ก็เหมือนกับอินเทอร์เน็ต<br>ครั้งหนึ่งอินเทอร์เน็ตก็ถูกมองว่าเข้าใจยาก<br>ต้องพิมพ์ http ต้องรู้จัก TCP/IP ต้องตั้ง proxy เอง<br>แต่ปัจจุบันผู้คนใช้งานอินเทอร์เน็ตโดยไม่รู้ว่าเบื้องหลังมีอะไรเลย<br>บิตคอยน์กำลังเดินตามเส้นทางเดียวกัน<br>โปรโตคอลกำลังถอยออกจากสายตา<br>และวันหนึ่งเราจะ “ใช้มัน” โดยไม่ต้องรู้ว่ามันคืออะไร</p>
<p>หากนับจากช่วงเริ่มต้นของอินเทอร์เน็ตในยุค 1990 จนกลายเป็นโครงสร้างหลักของโลกในสองทศวรรษ<br>เส้นเวลาของบิตคอยน์ก็กำลังเดินตามรอยเท้าของอินเทอร์เน็ต<br>และถ้าเราเชื่อว่าวัฏจักรของเทคโนโลยีมีจังหวะของมันเอง<br>เราก็จะรู้ว่า Bitcoin Standard นั้นไม่ใช่เรื่องของอนาคตไกลโพ้น<br>แต่มันเกิดขึ้นแล้ว</p>
<p><a href='/tag/siamstr/'>#siamstr</a></p>
]]></content:encoded>
      <itunes:author><![CDATA[Cypherpruk]]></itunes:author>
      <itunes:summary><![CDATA[<p>เมื่อพูดถึง Bitcoin Standard หลายคนมักนึกถึงภาพโลกอนาคตที่ทุกคนใช้บิตคอยน์ซื้อกาแฟหรือของใช้ในชีวิตประจำวัน<br>ภาพแบบนั้นดูเหมือนไกลตัวและเป็นไปไม่ได้ในความเป็นจริง<br>หลายคนถึงกับพูดว่า “คงไม่ทันเห็นในช่วงชีวิตนี้หรอก”<br>แต่ในมุมมองของผม Bitcoin Standard อาจไม่ได้เริ่มต้นจากการที่เราจ่ายบิตคอยน์โดยตรงในร้านค้า<br>แต่อาจเริ่มจากบางสิ่งที่เงียบกว่า ลึกกว่า และเกิดขึ้นแล้วในขณะนี้<br>นั่นคือ การล่มสลายทีละน้อยของระบบเฟียตที่เราใช้กันอยู่</p>
<p>ระบบเงินที่อิงกับอำนาจรัฐกำลังเข้าสู่ช่วงขาลง<br>รัฐบาลทั่วโลกกำลังจมอยู่ในภาระหนี้ระดับประวัติการณ์<br>แม้แต่ประเทศมหาอำนาจก็เริ่มแสดงสัญญาณของภาวะเสี่ยงผิดนัดชำระหนี้<br>อัตราเงินเฟ้อกลายเป็นปัญหาเรื้อรังที่ไม่มีท่าทีจะหายไป<br>ธนาคารที่เคยโอนฟรีเริ่มกลับมาคิดค่าธรรมเนียม<br>และประชาชนก็เริ่มรู้สึกถึงการเสื่อมศรัทธาในระบบการเงินดั้งเดิม แม้จะยังพูดกันไม่เต็มเสียงก็ตาม</p>
<p>ในขณะเดียวกัน บิตคอยน์เองก็กำลังพัฒนาแบบเงียบ ๆ<br>เงียบ... แต่ไม่เคยหยุด<br>โดยเฉพาะในระดับ Layer 2 ที่เริ่มแสดงศักยภาพอย่างจริงจัง<br>Lightning Network เป็น Layer 2 ที่เปิดใช้งานมาได้ระยะเวลสหนึ่ง และยังคงมีบทบาทสำคัญที่สุดในระบบนิเวศของบิตคอยน์<br>มันทำให้การชำระเงินเร็วขึ้น มีต้นทุนต่ำ และไม่ต้องบันทึกทุกธุรกรรมลงบล็อกเชน<br>เครือข่ายนี้กำลังขยายตัวทั้งในแง่ของโหนดและการใช้งานจริงทั่วโลก</p>
<p>ขณะเดียวกัน Layer 2 ทางเลือกอื่นอย่าง Ark Protocol ก็กำลังพัฒนาเพื่อตอบโจทย์ด้านความเป็นส่วนตัวและประสบการณ์ใช้งานที่ง่าย<br>BitVM เปิดแนวทางใหม่ให้บิตคอยน์รองรับ smart contract ได้ในระดับ Turing-complete ซึ่งทำให้เกิดความเป็นไปได้ในกรณีใช้งานอีกมากมาย<br>และเทคโนโลยีที่น่าสนใจอย่าง Taproot Assets, Cashu และ Fedimint ก็ทำให้การออกโทเคนหรือสกุลเงินที่อิงกับบิตคอยน์เป็นจริงได้บนโครงสร้างของบิตคอยน์เอง</p>
<p>เทคโนโลยีเหล่านี้ไม่ใช่การเติบโตแบบปาฏิหาริย์<br>แต่มันคืบหน้าอย่างต่อเนื่องและมั่นคง<br>และนั่นคือเหตุผลที่มันจะ “อยู่รอด” ได้ในระยะยาว<br>เมื่อฐานของความน่าเชื่อถือไม่ใช่บริษัท รัฐบาล หรือทุน<br>แต่คือสิ่งที่ตรวจสอบได้และเปลี่ยนกฎไม่ได้</p>
<p>แน่นอนว่าบิตคอยน์ต้องแข่งขันกับ stable coin, เงินดิจิทัลของรัฐ และ cryptocurrency อื่น ๆ<br>แต่สิ่งที่ทำให้มันเหนือกว่านั้นไม่ใช่ฟีเจอร์<br>หากแต่เป็นความทนทาน และความมั่นคงของกฎที่ไม่มีใครเปลี่ยนได้<br>ไม่มีทีมพัฒนา ไม่มีบริษัท ไม่มีประตูปิด หรือการยึดบัญชี<br>มันยืนอยู่บนคณิตศาสตร์ พลังงาน และเวลา</p>
<p>หลายกรณีใช้งานที่เคยถูกทดลองในโลกคริปโตจะค่อย ๆ เคลื่อนเข้ามาสู่บิตคอยน์<br>เพราะโครงสร้างของมันแข็งแกร่งกว่า<br>ไม่ต้องการทีมพัฒนาแกนกลาง<br>ไม่ต้องพึ่งกลไกเสี่ยงต่อการผูกขาด<br>และไม่ต้องการ “ความเชื่อใจ” จากใครเลย</p>
<p>Bitcoin Standard ที่ผมพูดถึงจึงไม่ใช่การเปลี่ยนแปลงแบบพลิกหน้ามือเป็นหลังมือ<br>แต่คือการ “เปลี่ยนฐานของระบบ” ทีละชั้น<br>ระบบการเงินใหม่ที่อิงอยู่กับบิตคอยน์กำลังเกิดขึ้นแล้ว<br>มันไม่ใช่โลกที่ทุกคนถือเหรียญบิตคอยน์<br>แต่มันคือโลกที่คนใช้อาจไม่รู้ตัวด้วยซ้ำว่า “สิ่งที่เขาใช้นั้นอิงอยู่กับบิตคอยน์”</p>
<p>ผู้คนอาจใช้เงินดิจิทัลที่สร้างบน Layer 3 หรือ Layer 4<br>ผ่านแอป ผ่านแพลตฟอร์ม หรือผ่านสกุลเงินใหม่ที่ดูไม่ต่างจากเดิม<br>แต่เบื้องหลังของระบบจะผูกไว้กับบิตคอยน์</p>
<p>และถ้ามองในเชิงพัฒนาการ บิตคอยน์ก็เหมือนกับอินเทอร์เน็ต<br>ครั้งหนึ่งอินเทอร์เน็ตก็ถูกมองว่าเข้าใจยาก<br>ต้องพิมพ์ http ต้องรู้จัก TCP/IP ต้องตั้ง proxy เอง<br>แต่ปัจจุบันผู้คนใช้งานอินเทอร์เน็ตโดยไม่รู้ว่าเบื้องหลังมีอะไรเลย<br>บิตคอยน์กำลังเดินตามเส้นทางเดียวกัน<br>โปรโตคอลกำลังถอยออกจากสายตา<br>และวันหนึ่งเราจะ “ใช้มัน” โดยไม่ต้องรู้ว่ามันคืออะไร</p>
<p>หากนับจากช่วงเริ่มต้นของอินเทอร์เน็ตในยุค 1990 จนกลายเป็นโครงสร้างหลักของโลกในสองทศวรรษ<br>เส้นเวลาของบิตคอยน์ก็กำลังเดินตามรอยเท้าของอินเทอร์เน็ต<br>และถ้าเราเชื่อว่าวัฏจักรของเทคโนโลยีมีจังหวะของมันเอง<br>เราก็จะรู้ว่า Bitcoin Standard นั้นไม่ใช่เรื่องของอนาคตไกลโพ้น<br>แต่มันเกิดขึ้นแล้ว</p>
<p><a href='/tag/siamstr/'>#siamstr</a></p>
]]></itunes:summary>
      <itunes:image href="https://image.nostr.build/601efb357a88ff3f966509c8b10f136acc0c05b7bcbb3f0041d5d5a7e0701683.jpg"/>
      </item>
      
      <item>
      <title><![CDATA[มาลองเล่น Meshtastic : DM หากันแบบส่วนตัวไม่ต้องพึ่งอินเตอร์เน็ต]]></title>
      <description><![CDATA[บทความนี้จะมาแนะนำการเริ่มต้นใช้งาน Meshtastic ระบบสื่อสารไร้ศูนย์กลางที่ใช้เทคโนโลยี LoRa ส่งข้อความส่วนตัวหากันได้อย่างปลอดภัย ไร้การสอดส่องและไม่ต้องพึ่งพาการเชื่อมต่ออินเทอร์เน็ต]]></description>
             <itunes:subtitle><![CDATA[บทความนี้จะมาแนะนำการเริ่มต้นใช้งาน Meshtastic ระบบสื่อสารไร้ศูนย์กลางที่ใช้เทคโนโลยี LoRa ส่งข้อความส่วนตัวหากันได้อย่างปลอดภัย ไร้การสอดส่องและไม่ต้องพึ่งพาการเชื่อมต่ออินเทอร์เน็ต]]></itunes:subtitle>
      <pubDate>Mon, 16 Sep 2024 16:30:04 GMT</pubDate>
      <link>https://pruk.npub.pro/post/ausqf2n5agmr5xrn-tvho/</link>
      <comments>https://pruk.npub.pro/post/ausqf2n5agmr5xrn-tvho/</comments>
      <guid isPermaLink="false">naddr1qq25zatnw9nrym34v9nk65340pfyut25weyy7q3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65wl3cmsx</guid>
      <category>siamstr</category>
      
        <media:content url="https://image.nostr.build/6de88bbabdd8f2d8713af99dc64a677bf9f78841054448b63fe8cebfaa47b0c4.jpg" medium="image"/>
        <enclosure 
          url="https://image.nostr.build/6de88bbabdd8f2d8713af99dc64a677bf9f78841054448b63fe8cebfaa47b0c4.jpg" length="0" 
          type="image/jpeg" 
        />
      <noteId>naddr1qq25zatnw9nrym34v9nk65340pfyut25weyy7q3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65wl3cmsx</noteId>
      <npub>npub1pruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngys9pnj2f</npub>
      <dc:creator><![CDATA[Cypherpruk]]></dc:creator>
      <content:encoded><![CDATA[<p>สวัสดีครับเพื่อน ๆ ชาว <a href='/tag/siamstr/'>#siamstr</a> วันนี้ผมจะมาแนะนำ Meshtastic เครื่องมือสื่อสารที่ไร้ศูนย์กลางที่เพื่อน ๆ ไม่ควรพลาดเป็นอันขาด!! เพราะมันคือเครือข่ายการสื่อสารที่ใช้เทคโนโลยี LoRa (Long Range Radio) ซึ่งสามารถส่งข้อความได้ไกลมาก ๆ เป็นกิโลเลยทีเดียว ที่สำคัญไม่ต้องพึ่งพาโครงสร้างพื้นฐานของอินเทอร์เน็ตและ<strong>ไร้การสอดส่องและควบคุมจากรัฐ</strong></p>
<h1>Meshtastic คืออะไร?</h1>
<p>Meshtastic จะสร้างเครือข่าย "mesh" โดยที่ทุกอุปกรณ์ในเครือข่ายจะช่วยกันรับส่งข้อความต่อ ๆ กันไป ทำให้ทุกคนในเครือข่ายสามารถรับข้อความได้ แม้ว่าจะอยู่ไกลแค่ไหน นอกจากนี้ ข้อความทั้งหมดจะถูก <strong>เข้ารหัสไว้</strong> ทำให้เฉพาะผู้ส่งและผู้รับเท่านั้นที่สามารถอ่านได้ ส่วนอุปกรณ์ที่ส่งต่อข้อความจะไม่สามารถเข้าถึงเนื้อหาได้เลย ในการใช้งานนั้นเพื่อน ๆ สามารถเชื่อมต่ออุปกรณ์ Meshtastic เข้ากับโทรศัพท์มือถือเพื่อทุกคนในเครืองข่ายสามารถสื่อสารกันได้ง่าย ๆ ผ่านแอปส่งข้อความบนมือถือ<br><img src="https://image.nostr.build/b4761643f9391c56d6de1cb8a7ee82d71dc318ce968f2c4cf2185bf992a2ecc7.jpg" alt="image"></p>
<h1><strong>จับมือทำ เริ่มต้นใช้งาน Meshtastic แบบง่าย ๆ</strong></h1>
<p>เพื่อน ๆ อยากลองใช้ Meshtastic แล้วใช่มั้ย? มาดูขั้นตอนง่ายๆ กันเลยครับ</p>
<h3>1. หาซื้ออุปกรณ์ที่ต้องใช้</h3>
<p>ขั้นแรกเลย เราต้องมีอุปกรณ์ LoRa กันก่อนครับ ส่วนตัวผมแนะนำบอร์ด LoRa32 ของ LILYGO ครับ เพราะหาซื้อในไทยและต่างประเทศได้ง่ายมาก โดยจะมีให้เลือกหลายรุ่นมากตามความชอบและการใช้งาน ผมได้ทำตารางเปรียบเทียบคุณสมบัติของแต่ละรุ่นดังนี้</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>MCU</th>
<th>RF option</th>
<th>Battery</th>
<th>GPS</th>
<th>Link</th>
</tr>
</thead>
<tbody><tr>
<td>Lora32 2.1-1.6</td>
<td>ESP32</td>
<td>433/868/915/923 Mhz</td>
<td>no</td>
<td>no</td>
<td><np-embed url="https://a.aliexpress.com/_opRiKMR"><a href="https://a.aliexpress.com/_opRiKMR">https://a.aliexpress.com/_opRiKMR</a></np-embed></td>
</tr>
<tr>
<td>Lora32 T3S3</td>
<td>ESP32</td>
<td>433/868/915 Mhz / 2.4 GHz</td>
<td>no</td>
<td>no</td>
<td><np-embed url="https://a.aliexpress.com/_opRiKMR"><a href="https://a.aliexpress.com/_opRiKMR">https://a.aliexpress.com/_opRiKMR</a></np-embed></td>
</tr>
<tr>
<td>T-Beam v1.1</td>
<td>ESP32</td>
<td>433/868/915/923 Mhz</td>
<td>has batt slot</td>
<td>yes</td>
<td><np-embed url="https://a.aliexpress.com/_oneeH43"><a href="https://a.aliexpress.com/_oneeH43">https://a.aliexpress.com/_oneeH43</a></np-embed></td>
</tr>
<tr>
<td>T-Watch S3</td>
<td>ESP32</td>
<td>433/868/915 Mhz</td>
<td>yes</td>
<td>no</td>
<td><np-embed url="https://a.aliexpress.com/_olkXkLlData"><a href="https://a.aliexpress.com/_olkXkLlData">https://a.aliexpress.com/_olkXkLlData</a></np-embed></td>
</tr>
<tr>
<td>T-Deck</td>
<td>ESP32</td>
<td>433/868/915 Mhz</td>
<td>yes</td>
<td>no</td>
<td><np-embed url="https://a.aliexpress.com/_olkXkLlData"><a href="https://a.aliexpress.com/_olkXkLlData">https://a.aliexpress.com/_olkXkLlData</a></np-embed></td>
</tr>
<tr>
<td>T-Echo</td>
<td>nRF52840</td>
<td>433/868/915 Mhz</td>
<td>yes</td>
<td>yes</td>
<td><np-embed url="https://a.aliexpress.com/_olkXkLlData"><a href="https://a.aliexpress.com/_olkXkLlData">https://a.aliexpress.com/_olkXkLlData</a></np-embed></td>
</tr>
</tbody></table>
<p><img src="https://image.nostr.build/31753c0cd819589f9856ff85788cb6304c4a5a771c555fd9c66d3ed5c932f614.jpg" alt="image"></p>
<p>คุณสมบัติสำคัญที่ควรพิจารณาเป็นหลักในการเลือกอุปกรณ์เลยคือความถี่คลื่นวิทยุ (radio frequency) ครับ เพราะการเลือกความถี่สำหรับใช้งานกับ Meshtastic นั้นขึ้นอยู่กับหลายปัจจัย เช่น กฎระเบียบในประเทศ, ระยะทางที่ต้องการสื่อสาร, และความหนาแน่นของสัญญาณในพื้นที่นั้นๆ<br>อุปกรณ์ LoRa ทำงานที่ความถี่ต่างกันในแต่ละภูมิภาค ตามกฎระเบียบในแต่ละประเทศ เช่น สหรัฐอเมริกาใช้คลื่น 915 MHz, ยุโรปใช้ 868 MHz สำหรับประเทศไทยความถี่ที่ได้รับอนุญาตและไม่มีข้อจำกัดในการใช้งานมีดังนี้ครับ:</p>
<ul>
<li>433 MHz: ความถี่นี้เป็นที่นิยมใช้ในหลายประเทศรวมถึงในยุโรปสำหรับอุปกรณ์ที่ใช้พลังงานต่ำและไม่ต้องขอใบอนุญาต (LPWAN) เหมาะสำหรับการใช้งานส่งสัญญานได้ไกลเพราะความยาวคลื่นยาวที่สุดในบรรดาตัวเลือกทั้งหมด</li>
<li>923 MHz: ความถี่นี้ใช้ได้ในหลายประเทศในเอเชีย รวมถึงประเทศไทยที่อนุญาตให้ใช้อุปกรณ์ IoT ที่สื่อสารระยะไกลอย่าง LoRa ได้รับอนุญาตให้สามารถส่งสัญญาณได้ด้วยกำลังงาน (50mW) ที่สูงกว่าคลื่น 433 MHz (10mW) ถือว่าเป็นความถี่ที่เหมาะสำหรับการใช้งานในไทย</li>
<li>2.4 GHz: เป็นความถี่ที่ใช้กันทั่วโลก และนิยมใช้กับอุปกรณ์หลายประเภท เช่น Wi-Fi และ Bluetooth ความถี่นี้สามารถใช้ในทั่วโลกได้อย่างเสรี แต่มีระยะการส่งสัญญาณที่สั้นกว่าและไม่ค่อยทะลุทะลวงสิ่งกีดขวางได้ดีนัก เหมาะกับพื้นที่ในเมือง</li>
</ul>
<p>ส่วนตัวผมเลือกใช้ความถี่ 433 MHz เพราะมันทะลุทะลวงสิ่งกีดขวางได้ดี เหมาะกับการใช้งานในพื้นที่ที่มีสิ่งกีดขวางเยอะ เช่น ป่าเขา และช่วยให้การสื่อสารครอบคลุมระยะทางไกลโดยไม่ต้องพึ่งอินเทอร์เน็ตครับ</p>
<h3>2. ประกอบอุปกรณ์</h3>
<p> เมื่ออุปกรณ์มาถึง ก็จัดการประกอบเลย! อย่าลืมต่อเสาอากาศและแบตเตอรี่ (ถ้ามี) ให้เรียบร้อยก่อนเปิดเครื่องล่ะ ถ้ารุ่นที่ไม่มีแบตก็ต้องหา power bank อแดปเตอร์จ่ายไฟไว้ให้พร้อมครับ<br><img src="https://image.nostr.build/6a73f7045038b24d7bb4880d17e9bad9cf67819625adf715b554a9a0a82eb92e.jpg" alt="image"></p>
<h3>3. Flash Firmware</h3>
<p>ต่อไปก็มาลงเฟิร์มแวร์ล่าสุดให้กับอุปกรณ์ของคุณ โดยใช้เครื่องมือ <a href="https://flasher.meshtastic.org">Meshtastic Flasher</a> ซึ่งแนะนำให้ใช้ผ่านเบราว์เซอร์ Chrome จะดีที่สุด<br>ภายในเว็บให้เลือกอุปกรณ์ตามรุ่นที่เราซื้อมา เลือกเวอร์ชันของ firmware เป็นล่าสุด แล้วกด flash ได้เลยครับ<br>![image<img src="https://image.nostr.build/362c78edcd72da9c5a0bf42d4527788e9a8384441b6199aff2f807dfdf8bcf49.jpg" alt="image![image]()"><br>](<a href="https://image.nostr.build/93e348b78ec36153e13aff1141d07ad5b22573a984813b19be82b3530b1199e8.jpg">https://image.nostr.build/93e348b78ec36153e13aff1141d07ad5b22573a984813b19be82b3530b1199e8.jpg</a>)</p>
<h3>4. ติดตั้งแอป Meshtastic</h3>
<p>จากนั้นก็ดาวน์โหลดแอป Meshtastic มาลงบนมือถือของคุณได้เลย<br>iPhone: <np-embed url="https://meshtastic.org/docs/software/apple/installation/"><a href="https://meshtastic.org/docs/software/apple/installation/">https://meshtastic.org/docs/software/apple/installation/</a></np-embed><br>Android: <np-embed url="https://meshtastic.org/docs/software/android/installation/"><a href="https://meshtastic.org/docs/software/android/installation/">https://meshtastic.org/docs/software/android/installation/</a></np-embed></p>
<p>หลังจากนั้นเชื่อมต่อกับอุปกรณ์ เปิดแอป Meshtastic แล้วเชื่อมต่ออุปกรณ์ LoRa กับมือถือผ่าน Bluetooth ด้วยการกดที่เครื่องหมาย + ที่ขวาล่างในหน้า setting ดังรูป<br><img src="https://image.nostr.build/e806734e768be7e637dd13a2d2084c1b8aedfc4fc51649e1e4c75dd7078de514.png" alt="image"><br>แอปจะทำการค้นหาและเชื่อมต่ออุปกรณ์ ให้ทำการกรอกหมายเลขตามที่ปรากฏบนหน้าจอของอุปกรณ์ lora<br><img src="https://image.nostr.build/0502a28f3c1d0975e56c8b299b85757628c5bc5208af3c283e782ed3267fd58c.jpg" alt="image"></p>
<h3>5. ปรับแต่งการตั้งค่า</h3>
<p>เข้าไปตั้งค่าในแอป เลือกภูมิภาคตามความถี่ของอุปกรณ์ที่เราซื้อมาครับ ยกตัวอย่างเช่น</p>
<ul>
<li>ความถี่ 433 MHz ให้เลือก EU_433</li>
<li>ความถี่ 923 MHz ให้เลือก TH</li>
<li>ความถี่ 2.4 GHz ให้เลือก LORA_24</li>
</ul>
<p>หลังจากนั้นตั้งชื่ออุปกรณ์ให้เท่ ๆ และปรับแต่งค่าอื่น ๆ ได้ตามใจชอบ<br><img src="https://image.nostr.build/9330b623e79a0d5200f3211a7e64ecabda1e009ff3a8fcb41af1f37dc200017f.png" alt="image"></p>
<h3>6. ทดสอบส่งข้อความ</h3>
<p>ลองส่งข้อความทดสอบไปที่ช่องแชทสาธารณะ "LongFast" ดู แล้วรอคำตอบจากเพื่อน ๆ ในเครือข่าย<br><img src="https://image.nostr.build/3de9d1df63c0fc29a21aab6bb466ea72a193c19ce64269fe30b63bb2e38b1b26.png" alt="image"></p>
<h3>7. สนุกกับการสื่อสารแบบไร้ศูนย์กลาง</h3>
<p>เมื่อทุกอย่างพร้อมแล้ว ก็เริ่มใช้ Meshtastic ได้เลยครับ ลองสำรวจฟังก์ชันต่าง ๆ และสนุกไปกับการแชทส่วนตัวแบบไม่ต้องพึ่งพาเครือข่ายอินเทอร์เน็ตกันเลยครับ<br><img src="https://image.nostr.build/bcac24192c26e8f71c9890354345d8ad55c545b253a6fc3b57d9b86fefd62498.png" alt="image"></p>
<h1>สรุปส่งท้าย</h1>
<p>Meshtastic เป็นโซลูชันการสื่อสารที่ดีและประหยัดสุด ๆ เหมาะกับการใช้ในพื้นที่ที่ไม่มีสัญญาณโทรศัพท์หรืออินเทอร์เน็ต เพราะมันทำงานได้โดยไม่ต้องพึ่งพาโครงสร้างพื้นฐานของเครือข่ายที่รัฐควบคุม เพื่อน ๆ สามารถใช้ Meshtastic ได้อย่างอิสระ ใครได้ลองกันแล้วเป็นยังไงก็อย่าลืมทักกันเข้ามานะครับ จะ DM ผ่าน meshtatic นี้หรือ nostr ก็ได้ หากเพื่อน ๆ มีข้อสงสัยหรือติดปัญหาอะไรก็ทักมาถามกันได้ ไว้พบกันใหม่นะครับ :)</p>
]]></content:encoded>
      <itunes:author><![CDATA[Cypherpruk]]></itunes:author>
      <itunes:summary><![CDATA[<p>สวัสดีครับเพื่อน ๆ ชาว <a href='/tag/siamstr/'>#siamstr</a> วันนี้ผมจะมาแนะนำ Meshtastic เครื่องมือสื่อสารที่ไร้ศูนย์กลางที่เพื่อน ๆ ไม่ควรพลาดเป็นอันขาด!! เพราะมันคือเครือข่ายการสื่อสารที่ใช้เทคโนโลยี LoRa (Long Range Radio) ซึ่งสามารถส่งข้อความได้ไกลมาก ๆ เป็นกิโลเลยทีเดียว ที่สำคัญไม่ต้องพึ่งพาโครงสร้างพื้นฐานของอินเทอร์เน็ตและ<strong>ไร้การสอดส่องและควบคุมจากรัฐ</strong></p>
<h1>Meshtastic คืออะไร?</h1>
<p>Meshtastic จะสร้างเครือข่าย "mesh" โดยที่ทุกอุปกรณ์ในเครือข่ายจะช่วยกันรับส่งข้อความต่อ ๆ กันไป ทำให้ทุกคนในเครือข่ายสามารถรับข้อความได้ แม้ว่าจะอยู่ไกลแค่ไหน นอกจากนี้ ข้อความทั้งหมดจะถูก <strong>เข้ารหัสไว้</strong> ทำให้เฉพาะผู้ส่งและผู้รับเท่านั้นที่สามารถอ่านได้ ส่วนอุปกรณ์ที่ส่งต่อข้อความจะไม่สามารถเข้าถึงเนื้อหาได้เลย ในการใช้งานนั้นเพื่อน ๆ สามารถเชื่อมต่ออุปกรณ์ Meshtastic เข้ากับโทรศัพท์มือถือเพื่อทุกคนในเครืองข่ายสามารถสื่อสารกันได้ง่าย ๆ ผ่านแอปส่งข้อความบนมือถือ<br><img src="https://image.nostr.build/b4761643f9391c56d6de1cb8a7ee82d71dc318ce968f2c4cf2185bf992a2ecc7.jpg" alt="image"></p>
<h1><strong>จับมือทำ เริ่มต้นใช้งาน Meshtastic แบบง่าย ๆ</strong></h1>
<p>เพื่อน ๆ อยากลองใช้ Meshtastic แล้วใช่มั้ย? มาดูขั้นตอนง่ายๆ กันเลยครับ</p>
<h3>1. หาซื้ออุปกรณ์ที่ต้องใช้</h3>
<p>ขั้นแรกเลย เราต้องมีอุปกรณ์ LoRa กันก่อนครับ ส่วนตัวผมแนะนำบอร์ด LoRa32 ของ LILYGO ครับ เพราะหาซื้อในไทยและต่างประเทศได้ง่ายมาก โดยจะมีให้เลือกหลายรุ่นมากตามความชอบและการใช้งาน ผมได้ทำตารางเปรียบเทียบคุณสมบัติของแต่ละรุ่นดังนี้</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>MCU</th>
<th>RF option</th>
<th>Battery</th>
<th>GPS</th>
<th>Link</th>
</tr>
</thead>
<tbody><tr>
<td>Lora32 2.1-1.6</td>
<td>ESP32</td>
<td>433/868/915/923 Mhz</td>
<td>no</td>
<td>no</td>
<td><np-embed url="https://a.aliexpress.com/_opRiKMR"><a href="https://a.aliexpress.com/_opRiKMR">https://a.aliexpress.com/_opRiKMR</a></np-embed></td>
</tr>
<tr>
<td>Lora32 T3S3</td>
<td>ESP32</td>
<td>433/868/915 Mhz / 2.4 GHz</td>
<td>no</td>
<td>no</td>
<td><np-embed url="https://a.aliexpress.com/_opRiKMR"><a href="https://a.aliexpress.com/_opRiKMR">https://a.aliexpress.com/_opRiKMR</a></np-embed></td>
</tr>
<tr>
<td>T-Beam v1.1</td>
<td>ESP32</td>
<td>433/868/915/923 Mhz</td>
<td>has batt slot</td>
<td>yes</td>
<td><np-embed url="https://a.aliexpress.com/_oneeH43"><a href="https://a.aliexpress.com/_oneeH43">https://a.aliexpress.com/_oneeH43</a></np-embed></td>
</tr>
<tr>
<td>T-Watch S3</td>
<td>ESP32</td>
<td>433/868/915 Mhz</td>
<td>yes</td>
<td>no</td>
<td><np-embed url="https://a.aliexpress.com/_olkXkLlData"><a href="https://a.aliexpress.com/_olkXkLlData">https://a.aliexpress.com/_olkXkLlData</a></np-embed></td>
</tr>
<tr>
<td>T-Deck</td>
<td>ESP32</td>
<td>433/868/915 Mhz</td>
<td>yes</td>
<td>no</td>
<td><np-embed url="https://a.aliexpress.com/_olkXkLlData"><a href="https://a.aliexpress.com/_olkXkLlData">https://a.aliexpress.com/_olkXkLlData</a></np-embed></td>
</tr>
<tr>
<td>T-Echo</td>
<td>nRF52840</td>
<td>433/868/915 Mhz</td>
<td>yes</td>
<td>yes</td>
<td><np-embed url="https://a.aliexpress.com/_olkXkLlData"><a href="https://a.aliexpress.com/_olkXkLlData">https://a.aliexpress.com/_olkXkLlData</a></np-embed></td>
</tr>
</tbody></table>
<p><img src="https://image.nostr.build/31753c0cd819589f9856ff85788cb6304c4a5a771c555fd9c66d3ed5c932f614.jpg" alt="image"></p>
<p>คุณสมบัติสำคัญที่ควรพิจารณาเป็นหลักในการเลือกอุปกรณ์เลยคือความถี่คลื่นวิทยุ (radio frequency) ครับ เพราะการเลือกความถี่สำหรับใช้งานกับ Meshtastic นั้นขึ้นอยู่กับหลายปัจจัย เช่น กฎระเบียบในประเทศ, ระยะทางที่ต้องการสื่อสาร, และความหนาแน่นของสัญญาณในพื้นที่นั้นๆ<br>อุปกรณ์ LoRa ทำงานที่ความถี่ต่างกันในแต่ละภูมิภาค ตามกฎระเบียบในแต่ละประเทศ เช่น สหรัฐอเมริกาใช้คลื่น 915 MHz, ยุโรปใช้ 868 MHz สำหรับประเทศไทยความถี่ที่ได้รับอนุญาตและไม่มีข้อจำกัดในการใช้งานมีดังนี้ครับ:</p>
<ul>
<li>433 MHz: ความถี่นี้เป็นที่นิยมใช้ในหลายประเทศรวมถึงในยุโรปสำหรับอุปกรณ์ที่ใช้พลังงานต่ำและไม่ต้องขอใบอนุญาต (LPWAN) เหมาะสำหรับการใช้งานส่งสัญญานได้ไกลเพราะความยาวคลื่นยาวที่สุดในบรรดาตัวเลือกทั้งหมด</li>
<li>923 MHz: ความถี่นี้ใช้ได้ในหลายประเทศในเอเชีย รวมถึงประเทศไทยที่อนุญาตให้ใช้อุปกรณ์ IoT ที่สื่อสารระยะไกลอย่าง LoRa ได้รับอนุญาตให้สามารถส่งสัญญาณได้ด้วยกำลังงาน (50mW) ที่สูงกว่าคลื่น 433 MHz (10mW) ถือว่าเป็นความถี่ที่เหมาะสำหรับการใช้งานในไทย</li>
<li>2.4 GHz: เป็นความถี่ที่ใช้กันทั่วโลก และนิยมใช้กับอุปกรณ์หลายประเภท เช่น Wi-Fi และ Bluetooth ความถี่นี้สามารถใช้ในทั่วโลกได้อย่างเสรี แต่มีระยะการส่งสัญญาณที่สั้นกว่าและไม่ค่อยทะลุทะลวงสิ่งกีดขวางได้ดีนัก เหมาะกับพื้นที่ในเมือง</li>
</ul>
<p>ส่วนตัวผมเลือกใช้ความถี่ 433 MHz เพราะมันทะลุทะลวงสิ่งกีดขวางได้ดี เหมาะกับการใช้งานในพื้นที่ที่มีสิ่งกีดขวางเยอะ เช่น ป่าเขา และช่วยให้การสื่อสารครอบคลุมระยะทางไกลโดยไม่ต้องพึ่งอินเทอร์เน็ตครับ</p>
<h3>2. ประกอบอุปกรณ์</h3>
<p> เมื่ออุปกรณ์มาถึง ก็จัดการประกอบเลย! อย่าลืมต่อเสาอากาศและแบตเตอรี่ (ถ้ามี) ให้เรียบร้อยก่อนเปิดเครื่องล่ะ ถ้ารุ่นที่ไม่มีแบตก็ต้องหา power bank อแดปเตอร์จ่ายไฟไว้ให้พร้อมครับ<br><img src="https://image.nostr.build/6a73f7045038b24d7bb4880d17e9bad9cf67819625adf715b554a9a0a82eb92e.jpg" alt="image"></p>
<h3>3. Flash Firmware</h3>
<p>ต่อไปก็มาลงเฟิร์มแวร์ล่าสุดให้กับอุปกรณ์ของคุณ โดยใช้เครื่องมือ <a href="https://flasher.meshtastic.org">Meshtastic Flasher</a> ซึ่งแนะนำให้ใช้ผ่านเบราว์เซอร์ Chrome จะดีที่สุด<br>ภายในเว็บให้เลือกอุปกรณ์ตามรุ่นที่เราซื้อมา เลือกเวอร์ชันของ firmware เป็นล่าสุด แล้วกด flash ได้เลยครับ<br>![image<img src="https://image.nostr.build/362c78edcd72da9c5a0bf42d4527788e9a8384441b6199aff2f807dfdf8bcf49.jpg" alt="image![image]()"><br>](<a href="https://image.nostr.build/93e348b78ec36153e13aff1141d07ad5b22573a984813b19be82b3530b1199e8.jpg">https://image.nostr.build/93e348b78ec36153e13aff1141d07ad5b22573a984813b19be82b3530b1199e8.jpg</a>)</p>
<h3>4. ติดตั้งแอป Meshtastic</h3>
<p>จากนั้นก็ดาวน์โหลดแอป Meshtastic มาลงบนมือถือของคุณได้เลย<br>iPhone: <np-embed url="https://meshtastic.org/docs/software/apple/installation/"><a href="https://meshtastic.org/docs/software/apple/installation/">https://meshtastic.org/docs/software/apple/installation/</a></np-embed><br>Android: <np-embed url="https://meshtastic.org/docs/software/android/installation/"><a href="https://meshtastic.org/docs/software/android/installation/">https://meshtastic.org/docs/software/android/installation/</a></np-embed></p>
<p>หลังจากนั้นเชื่อมต่อกับอุปกรณ์ เปิดแอป Meshtastic แล้วเชื่อมต่ออุปกรณ์ LoRa กับมือถือผ่าน Bluetooth ด้วยการกดที่เครื่องหมาย + ที่ขวาล่างในหน้า setting ดังรูป<br><img src="https://image.nostr.build/e806734e768be7e637dd13a2d2084c1b8aedfc4fc51649e1e4c75dd7078de514.png" alt="image"><br>แอปจะทำการค้นหาและเชื่อมต่ออุปกรณ์ ให้ทำการกรอกหมายเลขตามที่ปรากฏบนหน้าจอของอุปกรณ์ lora<br><img src="https://image.nostr.build/0502a28f3c1d0975e56c8b299b85757628c5bc5208af3c283e782ed3267fd58c.jpg" alt="image"></p>
<h3>5. ปรับแต่งการตั้งค่า</h3>
<p>เข้าไปตั้งค่าในแอป เลือกภูมิภาคตามความถี่ของอุปกรณ์ที่เราซื้อมาครับ ยกตัวอย่างเช่น</p>
<ul>
<li>ความถี่ 433 MHz ให้เลือก EU_433</li>
<li>ความถี่ 923 MHz ให้เลือก TH</li>
<li>ความถี่ 2.4 GHz ให้เลือก LORA_24</li>
</ul>
<p>หลังจากนั้นตั้งชื่ออุปกรณ์ให้เท่ ๆ และปรับแต่งค่าอื่น ๆ ได้ตามใจชอบ<br><img src="https://image.nostr.build/9330b623e79a0d5200f3211a7e64ecabda1e009ff3a8fcb41af1f37dc200017f.png" alt="image"></p>
<h3>6. ทดสอบส่งข้อความ</h3>
<p>ลองส่งข้อความทดสอบไปที่ช่องแชทสาธารณะ "LongFast" ดู แล้วรอคำตอบจากเพื่อน ๆ ในเครือข่าย<br><img src="https://image.nostr.build/3de9d1df63c0fc29a21aab6bb466ea72a193c19ce64269fe30b63bb2e38b1b26.png" alt="image"></p>
<h3>7. สนุกกับการสื่อสารแบบไร้ศูนย์กลาง</h3>
<p>เมื่อทุกอย่างพร้อมแล้ว ก็เริ่มใช้ Meshtastic ได้เลยครับ ลองสำรวจฟังก์ชันต่าง ๆ และสนุกไปกับการแชทส่วนตัวแบบไม่ต้องพึ่งพาเครือข่ายอินเทอร์เน็ตกันเลยครับ<br><img src="https://image.nostr.build/bcac24192c26e8f71c9890354345d8ad55c545b253a6fc3b57d9b86fefd62498.png" alt="image"></p>
<h1>สรุปส่งท้าย</h1>
<p>Meshtastic เป็นโซลูชันการสื่อสารที่ดีและประหยัดสุด ๆ เหมาะกับการใช้ในพื้นที่ที่ไม่มีสัญญาณโทรศัพท์หรืออินเทอร์เน็ต เพราะมันทำงานได้โดยไม่ต้องพึ่งพาโครงสร้างพื้นฐานของเครือข่ายที่รัฐควบคุม เพื่อน ๆ สามารถใช้ Meshtastic ได้อย่างอิสระ ใครได้ลองกันแล้วเป็นยังไงก็อย่าลืมทักกันเข้ามานะครับ จะ DM ผ่าน meshtatic นี้หรือ nostr ก็ได้ หากเพื่อน ๆ มีข้อสงสัยหรือติดปัญหาอะไรก็ทักมาถามกันได้ ไว้พบกันใหม่นะครับ :)</p>
]]></itunes:summary>
      <itunes:image href="https://image.nostr.build/6de88bbabdd8f2d8713af99dc64a677bf9f78841054448b63fe8cebfaa47b0c4.jpg"/>
      </item>
      
      <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>(อ้างอิง: <a href="https://fedimint.org/docs/CommonTerms/Blind%20Signatures">https://fedimint.org/docs/CommonTerms/Blind%20Signatures</a>)</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 มากว่าหนึ่งแห่งทำงานร่วมกัน (อ้างอิง: <a href="https://bitlyrics.co/transcripts/cashu-for-bitcoin/">https://bitlyrics.co/transcripts/cashu-for-bitcoin/</a>)</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 (อ้างอิง: <a href="https://fedimint.org/docs/GettingStarted/What-is-a-Fedimint">https://fedimint.org/docs/GettingStarted/What-is-a-Fedimint</a>)</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 (อ้างอิง: <a href="https://blockdyor.com/cashu/">https://blockdyor.com/cashu/</a>)</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>(อ้างอิง: <a href="https://fedimint.org/docs/CommonTerms/Blind%20Signatures">https://fedimint.org/docs/CommonTerms/Blind%20Signatures</a>)</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 มากว่าหนึ่งแห่งทำงานร่วมกัน (อ้างอิง: <a href="https://bitlyrics.co/transcripts/cashu-for-bitcoin/">https://bitlyrics.co/transcripts/cashu-for-bitcoin/</a>)</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 (อ้างอิง: <a href="https://fedimint.org/docs/GettingStarted/What-is-a-Fedimint">https://fedimint.org/docs/GettingStarted/What-is-a-Fedimint</a>)</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 (อ้างอิง: <a href="https://blockdyor.com/cashu/">https://blockdyor.com/cashu/</a>)</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[Explore the Nostr world securely with your DIY Nostr Signing Device (NSD)!]]></title>
      <description><![CDATA[Let's create a Do-It-Yourself (DIY) Nostr Signing Device (NSD) to securely store your Nostr nsec.]]></description>
             <itunes:subtitle><![CDATA[Let's create a Do-It-Yourself (DIY) Nostr Signing Device (NSD) to securely store your Nostr nsec.]]></itunes:subtitle>
      <pubDate>Mon, 18 Dec 2023 16:41:33 GMT</pubDate>
      <link>https://pruk.npub.pro/post/mz4nz86yku0tbs2wlpj2n/</link>
      <comments>https://pruk.npub.pro/post/mz4nz86yku0tbs2wlpj2n/</comments>
      <guid isPermaLink="false">naddr1qq2k6735fearsdjefd2nqazz2ve8wmzsfgeyuq3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65wepe9yk</guid>
      <category>siamstr</category>
      
        <media:content url="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697857694484-YAKIHONNES3.jpg" medium="image"/>
        <enclosure 
          url="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697857694484-YAKIHONNES3.jpg" length="0" 
          type="image/jpeg" 
        />
      <noteId>naddr1qq2k6735fearsdjefd2nqazz2ve8wmzsfgeyuq3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65wepe9yk</noteId>
      <npub>npub1pruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngys9pnj2f</npub>
      <dc:creator><![CDATA[Cypherpruk]]></dc:creator>
      <content:encoded><![CDATA[<p>Many of you who have explored the world of Nostr for some time probably have a good understanding of the Private key or nsec. This is like a crucial key that we use to authenticate and sign events in Nostr. If your Private key is revealed to others, it may not be good, as malicious individuals could potentially misuse your account by impersonating you.</p>
<p>One interesting option for securely storing our Private key is to use the Nostr Signing Device or NSD. It is a hardware device that helps store your Nostr system key and allows you to sign various events. It's similar to a Hardware Wallet used for storing keys and signing transactions in the Bitcoin system.</p>
<p>The basic operation of the NSD involves working in conjunction with NIP-07. The event data being generated is sent from the client to the NSD through a serial port for the signing process. The NSD then returns the signature to the client.</p>
<p>Currently, you can purchase the NSD on the LNbits website, and the price is around 25 USD.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823012080-YAKIHONNES3.PNG" alt="image"></p>
<p>The NSD mentioned earlier from LNbits is an open-source device, meaning that all source code is publicly available. You can use it for your own development, and the equipment cost is more affordable than buying from the website. <em>Therefore, in this article, I will guide you on creating a DIY NSD on your own.</em></p>
<p>Let's start by looking for the necessary equipment. We'll be using the ESP32 development board, and any model will do. LNbits recommends the LILYGO T-Display S3, which aligns with their NSD. Another option I suggest is the LILYGO T-Dongle S3, and personally, I'll choose this one because it comes with a built-in USB, making it convenient to use like a thumb drive. If you're on a tight budget, you can also choose a bare ESP32 board without a display. I found the cheapest option at around 5 USD. I've created a comparison table as follows:</p>
<table>
<thead>
<tr>
<th>ESP32</th>
<th>Link</th>
<th>Price (USD)</th>
</tr>
</thead>
<tbody><tr>
<td>LILYGO T-Display S3</td>
<td><np-embed url="https://s.click.aliexpress.com/e/_Ddy7739"><a href="https://s.click.aliexpress.com/e/_Ddy7739">https://s.click.aliexpress.com/e/_Ddy7739</a></np-embed></td>
<td>≈20</td>
</tr>
<tr>
<td>LILYGO T-Dongle S3</td>
<td><np-embed url="https://s.click.aliexpress.com/e/_DmQCPyj"><a href="https://s.click.aliexpress.com/e/_DmQCPyj">https://s.click.aliexpress.com/e/_DmQCPyj</a></np-embed></td>
<td>≈15</td>
</tr>
<tr>
<td>ESP32-WROOM</td>
<td><np-embed url="https://shopee.co.th/search?keyword=esp32"><a href="https://shopee.co.th/search?keyword=esp32">https://shopee.co.th/search?keyword=esp32</a></np-embed></td>
<td>2~10</td>
</tr>
</tbody></table>
<p>Now that we have the equipment, let's install the software. We will use the Arduino IDE for uploading programs to the board. You can download it from</p>
<blockquote>
<p><np-embed url="https://www.arduino.cc/en/software"><a href="https://www.arduino.cc/en/software">https://www.arduino.cc/en/software</a></np-embed></p>
</blockquote>
<p>Once you have installed Arduino IDE and opened the program for the first time, install the ESP32 board. To do this, go to File &gt; Preferences.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823531530-YAKIHONNES3.PNG" alt="image"></p>
<p>In the Preferences window, copy the text:</p>
<blockquote>
<p><np-embed url="https://dl.espressif.com/dl/package_esp32_index.json"><a href="https://dl.espressif.com/dl/package_esp32_index.json">https://dl.espressif.com/dl/package_esp32_index.json</a></np-embed> </p>
</blockquote>
<p>Paste it into the 'Additional Board Manager URLs' field and then click OK.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823661121-YAKIHONNES3.PNG" alt="image"></p>
<p>After that, go to the Arduino IDE, then navigate to Tools &gt; Board &gt; Boards Manager...</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823805267-YAKIHONNES3.PNG" alt="image"></p>
<p>In the Boards Manager window, type 'ESP32' in the search bar. After that, click 'Install' and wait for the download and installation process to complete.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823903869-YAKIHONNES3.PNG" alt="image"></p>
<p>After successful installation, go back to the Arduino IDE, then navigate to Tools &gt; Board &gt; ... You will find a list of ESP32 boards. Simply select the board you are using.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824074971-YAKIHONNES3.PNG" alt="image"></p>
<p>If you don't find a matching model, you can choose 'ESP32S3 Dev Module.'</p>
<p>Next, let's proceed to download the NSD source code. The source code is available on Github at this link:</p>
<blockquote>
<p><np-embed url="https://github.com/lnbits/nostr-signing-device"><a href="https://github.com/lnbits/nostr-signing-device">https://github.com/lnbits/nostr-signing-device</a></np-embed></p>
</blockquote>
<p>For those using the LILYGO T-Dongle S3, similar to my choice, which has a smaller screen resolution than the LNbits T-Display NSD, I've forked the source code and adjusted the UI to fit the T-Dongle screen size. You can find the modified code on Github at this link:</p>
<blockquote>
<p><np-embed url="https://github.com/AlbiziaLebbeck/nostr-signing-device"><a href="https://github.com/AlbiziaLebbeck/nostr-signing-device">https://github.com/AlbiziaLebbeck/nostr-signing-device</a></np-embed></p>
</blockquote>
<p>Once you've downloaded the NSD source code, copy all the files in the 'libraries' directory, including:</p>
<p>ArduinoJson<br>QRCode<br>TFT_eSPI<br>tiny-AES-c<br>uBitcoin</p>
<p>Paste them into the 'libraries' directory of your Arduino IDE. You can find the location of the 'libraries' directory under File &gt; Preferences in the 'Sketchbook location:' field.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824182581-YAKIHONNES3.PNG" alt="image"></p>
<p>When you have installed the libraries, open the file 'snsd &gt; snsd.ino.' You will see the entire source code, as shown in the image below:</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824250115-YAKIHONNES3.PNG" alt="image"></p>
<p>Now, we are ready to upload the program. Connect the ESP32 board to your computer using USB, then go to Tools &gt; Port to select the port corresponding to your ESP32 board.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825332873-YAKIHONNES3.png" alt="image"></p>
<p>Check the board settings, as shown in the image below:</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825412293-YAKIHONNES3.png" alt="image"></p>
<p>Once everything is set, click on the 'Upload' button, as shown in the image below:</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824501490-YAKIHONNES3.png" alt="image"></p>
<p>After a successful upload, you will see 'Done Uploading.' This concludes the installation process.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824825149-YAKIHONNES3.png" alt="image"></p>
<p>If your NSD has a display, you will see the logo as shown in the image below:</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697826700815-YAKIHONNES3.jpg" alt="image"></p>
<p>For initial use, record your Private key on the NSD. Go to Tools &gt; Serial Monitor, and you will find the Serial Monitor window. Set the Baud rate to 9600 as shown in the images below:</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824956141-YAKIHONNES3.png" alt="image"></p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825104634-YAKIHONNES3.png" alt="image"></p>
<p>Then, type the command '\restore' followed by your Private key in hexadecimal format. For nsec, please note that it is not supported, and you need to convert it to hexadecimal first.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825741806-YAKIHONNES3.png" alt="image"></p>
<p>Once you've successfully saved the Private key, you can check the Public key using the command '/public-key.' Your NSD is now ready for use.</p>
<p>In some cases, certain clients may not support the Horse extension, preventing you from accessing the system using your NSD. You may need to wait for further development. The clients that I have tested and confirmed working are:</p>
<ul>
<li><np-embed url="https://wherostr.social/"><a href="https://wherostr.social/">https://wherostr.social/</a></np-embed></li>
<li><np-embed url="https://nostrudel.ninja/"><a href="https://nostrudel.ninja/">https://nostrudel.ninja/</a></np-embed></li>
<li><np-embed url="https://coracle.social/"><a href="https://coracle.social/">https://coracle.social/</a></np-embed></li>
<li><np-embed url="https://satellite.earth/"><a href="https://satellite.earth/">https://satellite.earth/</a></np-embed></li>
<li><np-embed url="https://old.iris.to/"><a href="https://old.iris.to/">https://old.iris.to/</a></np-embed></li>
<li><np-embed url="https://yakihonne.com/"><a href="https://yakihonne.com/">https://yakihonne.com/</a></np-embed></li>
<li><np-embed url="https://habla.news/"><a href="https://habla.news/">https://habla.news/</a></np-embed></li>
</ul>
<p>I hope this article is helpful to all Nostr enthusiasts. If you have any questions, feel free to reach out to me at <a href="mailto:pruks@siamstr.com">pruks@siamstr.com</a>. Finally, I wish you all happy and secure travels through the Nostr world with your own NSD."</p>
]]></content:encoded>
      <itunes:author><![CDATA[Cypherpruk]]></itunes:author>
      <itunes:summary><![CDATA[<p>Many of you who have explored the world of Nostr for some time probably have a good understanding of the Private key or nsec. This is like a crucial key that we use to authenticate and sign events in Nostr. If your Private key is revealed to others, it may not be good, as malicious individuals could potentially misuse your account by impersonating you.</p>
<p>One interesting option for securely storing our Private key is to use the Nostr Signing Device or NSD. It is a hardware device that helps store your Nostr system key and allows you to sign various events. It's similar to a Hardware Wallet used for storing keys and signing transactions in the Bitcoin system.</p>
<p>The basic operation of the NSD involves working in conjunction with NIP-07. The event data being generated is sent from the client to the NSD through a serial port for the signing process. The NSD then returns the signature to the client.</p>
<p>Currently, you can purchase the NSD on the LNbits website, and the price is around 25 USD.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823012080-YAKIHONNES3.PNG" alt="image"></p>
<p>The NSD mentioned earlier from LNbits is an open-source device, meaning that all source code is publicly available. You can use it for your own development, and the equipment cost is more affordable than buying from the website. <em>Therefore, in this article, I will guide you on creating a DIY NSD on your own.</em></p>
<p>Let's start by looking for the necessary equipment. We'll be using the ESP32 development board, and any model will do. LNbits recommends the LILYGO T-Display S3, which aligns with their NSD. Another option I suggest is the LILYGO T-Dongle S3, and personally, I'll choose this one because it comes with a built-in USB, making it convenient to use like a thumb drive. If you're on a tight budget, you can also choose a bare ESP32 board without a display. I found the cheapest option at around 5 USD. I've created a comparison table as follows:</p>
<table>
<thead>
<tr>
<th>ESP32</th>
<th>Link</th>
<th>Price (USD)</th>
</tr>
</thead>
<tbody><tr>
<td>LILYGO T-Display S3</td>
<td><np-embed url="https://s.click.aliexpress.com/e/_Ddy7739"><a href="https://s.click.aliexpress.com/e/_Ddy7739">https://s.click.aliexpress.com/e/_Ddy7739</a></np-embed></td>
<td>≈20</td>
</tr>
<tr>
<td>LILYGO T-Dongle S3</td>
<td><np-embed url="https://s.click.aliexpress.com/e/_DmQCPyj"><a href="https://s.click.aliexpress.com/e/_DmQCPyj">https://s.click.aliexpress.com/e/_DmQCPyj</a></np-embed></td>
<td>≈15</td>
</tr>
<tr>
<td>ESP32-WROOM</td>
<td><np-embed url="https://shopee.co.th/search?keyword=esp32"><a href="https://shopee.co.th/search?keyword=esp32">https://shopee.co.th/search?keyword=esp32</a></np-embed></td>
<td>2~10</td>
</tr>
</tbody></table>
<p>Now that we have the equipment, let's install the software. We will use the Arduino IDE for uploading programs to the board. You can download it from</p>
<blockquote>
<p><np-embed url="https://www.arduino.cc/en/software"><a href="https://www.arduino.cc/en/software">https://www.arduino.cc/en/software</a></np-embed></p>
</blockquote>
<p>Once you have installed Arduino IDE and opened the program for the first time, install the ESP32 board. To do this, go to File &gt; Preferences.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823531530-YAKIHONNES3.PNG" alt="image"></p>
<p>In the Preferences window, copy the text:</p>
<blockquote>
<p><np-embed url="https://dl.espressif.com/dl/package_esp32_index.json"><a href="https://dl.espressif.com/dl/package_esp32_index.json">https://dl.espressif.com/dl/package_esp32_index.json</a></np-embed> </p>
</blockquote>
<p>Paste it into the 'Additional Board Manager URLs' field and then click OK.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823661121-YAKIHONNES3.PNG" alt="image"></p>
<p>After that, go to the Arduino IDE, then navigate to Tools &gt; Board &gt; Boards Manager...</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823805267-YAKIHONNES3.PNG" alt="image"></p>
<p>In the Boards Manager window, type 'ESP32' in the search bar. After that, click 'Install' and wait for the download and installation process to complete.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823903869-YAKIHONNES3.PNG" alt="image"></p>
<p>After successful installation, go back to the Arduino IDE, then navigate to Tools &gt; Board &gt; ... You will find a list of ESP32 boards. Simply select the board you are using.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824074971-YAKIHONNES3.PNG" alt="image"></p>
<p>If you don't find a matching model, you can choose 'ESP32S3 Dev Module.'</p>
<p>Next, let's proceed to download the NSD source code. The source code is available on Github at this link:</p>
<blockquote>
<p><np-embed url="https://github.com/lnbits/nostr-signing-device"><a href="https://github.com/lnbits/nostr-signing-device">https://github.com/lnbits/nostr-signing-device</a></np-embed></p>
</blockquote>
<p>For those using the LILYGO T-Dongle S3, similar to my choice, which has a smaller screen resolution than the LNbits T-Display NSD, I've forked the source code and adjusted the UI to fit the T-Dongle screen size. You can find the modified code on Github at this link:</p>
<blockquote>
<p><np-embed url="https://github.com/AlbiziaLebbeck/nostr-signing-device"><a href="https://github.com/AlbiziaLebbeck/nostr-signing-device">https://github.com/AlbiziaLebbeck/nostr-signing-device</a></np-embed></p>
</blockquote>
<p>Once you've downloaded the NSD source code, copy all the files in the 'libraries' directory, including:</p>
<p>ArduinoJson<br>QRCode<br>TFT_eSPI<br>tiny-AES-c<br>uBitcoin</p>
<p>Paste them into the 'libraries' directory of your Arduino IDE. You can find the location of the 'libraries' directory under File &gt; Preferences in the 'Sketchbook location:' field.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824182581-YAKIHONNES3.PNG" alt="image"></p>
<p>When you have installed the libraries, open the file 'snsd &gt; snsd.ino.' You will see the entire source code, as shown in the image below:</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824250115-YAKIHONNES3.PNG" alt="image"></p>
<p>Now, we are ready to upload the program. Connect the ESP32 board to your computer using USB, then go to Tools &gt; Port to select the port corresponding to your ESP32 board.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825332873-YAKIHONNES3.png" alt="image"></p>
<p>Check the board settings, as shown in the image below:</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825412293-YAKIHONNES3.png" alt="image"></p>
<p>Once everything is set, click on the 'Upload' button, as shown in the image below:</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824501490-YAKIHONNES3.png" alt="image"></p>
<p>After a successful upload, you will see 'Done Uploading.' This concludes the installation process.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824825149-YAKIHONNES3.png" alt="image"></p>
<p>If your NSD has a display, you will see the logo as shown in the image below:</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697826700815-YAKIHONNES3.jpg" alt="image"></p>
<p>For initial use, record your Private key on the NSD. Go to Tools &gt; Serial Monitor, and you will find the Serial Monitor window. Set the Baud rate to 9600 as shown in the images below:</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824956141-YAKIHONNES3.png" alt="image"></p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825104634-YAKIHONNES3.png" alt="image"></p>
<p>Then, type the command '\restore' followed by your Private key in hexadecimal format. For nsec, please note that it is not supported, and you need to convert it to hexadecimal first.</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825741806-YAKIHONNES3.png" alt="image"></p>
<p>Once you've successfully saved the Private key, you can check the Public key using the command '/public-key.' Your NSD is now ready for use.</p>
<p>In some cases, certain clients may not support the Horse extension, preventing you from accessing the system using your NSD. You may need to wait for further development. The clients that I have tested and confirmed working are:</p>
<ul>
<li><np-embed url="https://wherostr.social/"><a href="https://wherostr.social/">https://wherostr.social/</a></np-embed></li>
<li><np-embed url="https://nostrudel.ninja/"><a href="https://nostrudel.ninja/">https://nostrudel.ninja/</a></np-embed></li>
<li><np-embed url="https://coracle.social/"><a href="https://coracle.social/">https://coracle.social/</a></np-embed></li>
<li><np-embed url="https://satellite.earth/"><a href="https://satellite.earth/">https://satellite.earth/</a></np-embed></li>
<li><np-embed url="https://old.iris.to/"><a href="https://old.iris.to/">https://old.iris.to/</a></np-embed></li>
<li><np-embed url="https://yakihonne.com/"><a href="https://yakihonne.com/">https://yakihonne.com/</a></np-embed></li>
<li><np-embed url="https://habla.news/"><a href="https://habla.news/">https://habla.news/</a></np-embed></li>
</ul>
<p>I hope this article is helpful to all Nostr enthusiasts. If you have any questions, feel free to reach out to me at <a href="mailto:pruks@siamstr.com">pruks@siamstr.com</a>. Finally, I wish you all happy and secure travels through the Nostr world with your own NSD."</p>
]]></itunes:summary>
      <itunes:image href="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697857694484-YAKIHONNES3.jpg"/>
      </item>
      
      <item>
      <title><![CDATA[ท่องโลก Nostr ให้ปลอดภัยด้วย Nostr Signing Device (NSD) แบบ DIY ]]></title>
      <description><![CDATA[มาสร้าง Nostr Signing Device (NSD) แบบ DIY สำหรับเก็บคีย์ Nostr ของตัวเองกันครับ]]></description>
             <itunes:subtitle><![CDATA[มาสร้าง Nostr Signing Device (NSD) แบบ DIY สำหรับเก็บคีย์ Nostr ของตัวเองกันครับ]]></itunes:subtitle>
      <pubDate>Sat, 21 Oct 2023 03:08:14 GMT</pubDate>
      <link>https://pruk.npub.pro/post/qcsbickffwlgiwoaptbfb/</link>
      <comments>https://pruk.npub.pro/post/qcsbickffwlgiwoaptbfb/</comments>
      <guid isPermaLink="false">naddr1qq24zcmngf55xj6xvem5c3mfwah5zuz5gfryyq3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65wuru270</guid>
      <category>NSD</category>
      
        <media:content url="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697857694484-YAKIHONNES3.jpg" medium="image"/>
        <enclosure 
          url="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697857694484-YAKIHONNES3.jpg" length="0" 
          type="image/jpeg" 
        />
      <noteId>naddr1qq24zcmngf55xj6xvem5c3mfwah5zuz5gfryyq3qpruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngysxpqqqp65wuru270</noteId>
      <npub>npub1pruks45lzhclsq6xdpzlj48gkwz0aenxn2jcnjzmsc8a8ll9ngys9pnj2f</npub>
      <dc:creator><![CDATA[Cypherpruk]]></dc:creator>
      <content:encoded><![CDATA[<p>หลายท่านที่ได้ท่องโลก Nostr มาเป็นระยะเวลาหนึ่งแล้ว ก็คงจะมีความรู้ความเข้าใจเกี่ยวกับ Private key หรือ nsec เป็นอย่างดี สิ่งนี้เปรียบเสมือนกุญแจดอกสำคัญที่เราจะนำมันมาใช้ในการยืนยันตัวตนและลงนาม (sign) เพื่อสร้าง event ต่างๆ ใน Nostr หาก Private key ของท่านถูกเปิดเผยแก่ผู้อื่นก็คงจะไม่ดีแน่ครับ เพราะอาจมีผู้ไม่หวังดีสามารถแอบแฝงใช้บัญชีของท่านได้</p>
<p>ทางเลือกหนึ่งที่น่าสนใจในการเก็บรักษา Private key ของเราไว้ก็คือการใช้ Nostr Signing Device หรือ NSD คืออุปกรณ์ฮาร์ดแวร์ที่ช่วยเก็บกุญแจการเข้าสู่ระบบ Nostr ของท่านไว้และสามารถทำการลงนาม event ต่างๆ ให้เราได้ คล้ายกับ Hardware Wallet ที่สามารถเก็บกุญแจและลงนามในการทำธุรกรรมในระบบ Bitcoin</p>
<p>หลักการทำงานของ NSD ในเบื้องต้นจะทำงานร่วมกับ NIP-07 โดยข้อมูลของ event ที่กำลังถูกสร้างขึ้นจะถูกส่งจากไคลเอนท์ไปยัง NSD ผ่าน serial port เพื่อทำการลงนาม แล้วส่งลายเซ็นต์ (signature) กลับมาให้ไคลเอนท์</p>
<p>ในปัจจุบันท่านสามารถหาซื้อ NSD ได้ที่เว็บ LNbits ซึ่งราคาจะอยู่ที่ประมาณ 20 ปอนด์ หรือประมาณ 900 บาท </p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823012080-YAKIHONNES3.PNG" alt="image"></p>
<p>NSD ของ LNbits ที่กล่าวมาข้างต้นนั้นเป็น opensource ที่เปิดเผยซอร์สโค้ดทุกอย่าง ซึ่งเราสามารถนำมาใช้เพื่อพัฒนาเองได้ โดยมีต้นทุนอุปกรณ์ที่ถูกกว่าการซื้อในเว็บมากครับ <em>ดังนั้นบทความนี้ผมก็จะพาท่านผู้อ่านมาสร้าง NSD แบบ DIY เป็นของตัวเองกันครับ</em></p>
<p>เริ่มต้นเราก็มาหาซื้ออุปกรณ์กันก่อนนะครับ เราจะใช้ฮาร์ดแวร์หลักคือบอร์ดพัฒนา ESP32 รุ่นใดก็ได้ โดยรุ่นที่ทาง LNbits แนะนำก็คือ LILYGO T-Display S3 เพราะเป็นรุ่นที่ตรงกับ NSD ของ LNbits อีกรุ่นหนึ่งที่ผมแนะนำก็คือ LILYGO T-Dongle S3 ส่วนตัวผมจะเลือกใช้ตัวนี้เพราะว่ามี usb ติดมาด้วย ทำให้ใช้งานได้สะดวกเหมือน thumb drive นอกจากหากท่านมีงบน้อยก็จะสามารถเลือกใช้ ESP32 บอร์ดเปล่าแบบที่ไม่มีจอก็ได้ครับซึ่งรุ่นนี้ราคาถูกที่สุดประมาณ 200 บาท โดยผมได้ทำตารางเปรียบเทียบ ดังนี้ </p>
<table>
<thead>
<tr>
<th>ESP32</th>
<th>Link</th>
<th>Price(THB)</th>
</tr>
</thead>
<tbody><tr>
<td>LILYGO T-Display S3</td>
<td><np-embed url="https://s.click.aliexpress.com/e/_Ddy7739"><a href="https://s.click.aliexpress.com/e/_Ddy7739">https://s.click.aliexpress.com/e/_Ddy7739</a></np-embed></td>
<td>≈728</td>
</tr>
<tr>
<td>LILYGO T-Dongle S3</td>
<td><np-embed url="https://s.click.aliexpress.com/e/_DmQCPyj"><a href="https://s.click.aliexpress.com/e/_DmQCPyj">https://s.click.aliexpress.com/e/_DmQCPyj</a></np-embed></td>
<td>≈546</td>
</tr>
<tr>
<td>ESP32-WROOM</td>
<td><np-embed url="https://shopee.co.th/search?keyword=esp32"><a href="https://shopee.co.th/search?keyword=esp32">https://shopee.co.th/search?keyword=esp32</a></np-embed></td>
<td>80~300</td>
</tr>
</tbody></table>
<p>ทีนี้พอเรามีอุปกรณ์กันแล้ว ก็มาติดตั้งซอฟต์แวร์กันครับ โดยเราจะใช้ซอฟต์แวร์ Arduino IDE สำหรับอัพโหลดโปรแกรมลงบอร์ด สามารถดาวน์โหลดได้ที่  </p>
<blockquote>
<p><np-embed url="https://www.arduino.cc/en/software"><a href="https://www.arduino.cc/en/software">https://www.arduino.cc/en/software</a></np-embed></p>
</blockquote>
<p>เมื่อทำการติดตั้ง Arduino IDE แล้วเปิดโปรแกรมครั้งแรก ให้ทำการติดตั้ง ESP32 Board ก่อนครับ โดยเข้าไปที่ File &gt; Preferences</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823531530-YAKIHONNES3.PNG" alt="image"></p>
<p>ในหน้าต่าง Preferences นี้ ให้ทำการคัดลอกข้อความ</p>
<blockquote>
<p><np-embed url="https://dl.espressif.com/dl/package_esp32_index.json"><a href="https://dl.espressif.com/dl/package_esp32_index.json">https://dl.espressif.com/dl/package_esp32_index.json</a></np-embed>  </p>
</blockquote>
<p>วางลงในช่อง “Additional Board Manager URLs” แล้วกด OK</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823661121-YAKIHONNES3.PNG" alt="image"></p>
<p>จากนั้นไปที่ Arduino IDE แล้วไปที่ Tools &gt; Board &gt; Boards Manager…</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823805267-YAKIHONNES3.PNG" alt="image"></p>
<p>ในหน้าต่าง Boards Manager ให้พิมพ์ในช่องค้นหาว่า ESP32 จากนั้นให้กด Install แล้วรอการดาวน์โหลดและติดตั้งจนเสร็จ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823903869-YAKIHONNES3.PNG" alt="image"></p>
<p>เมื่อติดตั้งเรียบร้อย กลับมาที่ Arduino IDE แล้วไปที่ Tools &gt; Board &gt; … ก็จะพบรายการบอร์ด ESP32 ให้เลือกบอร์ดที่ท่านใช้งานได้เลยครับ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824074971-YAKIHONNES3.PNG" alt="image"></p>
<p>ถ้าหากว่าไม่เจอรุ่นที่ตรงกัน ให้เลือก “ESP32S3 Dev Module” ก็ได้ครับ</p>
<p>ขั้นตอนต่อมาเราก็จะมาทำการโหลดซอร์สโค้ดของ NSD กันครับ โดยซอร์สโค้ดจะอยู่ใน Github ตามลิ้งนี้</p>
<blockquote>
<p><np-embed url="https://github.com/lnbits/nostr-signing-device"><a href="https://github.com/lnbits/nostr-signing-device">https://github.com/lnbits/nostr-signing-device</a></np-embed></p>
</blockquote>
<p>สำหรับท่านใดที่เลือกใช้ LILYGO T-Dongle S3 แบบเดียวกับผม ซึ่งมีขนาดความละเอียดจอที่เล็กกว่า NSD รุ่น T-Display ของ LNbits ผมจึงทำการ fork ซอร์สโค้ดใหม่และได้ทำการแก้ ui ให้เข้ากับขนาดจอแสดงผลของ T-Dongle โดยผมได้อัพโหลดโค้ดลงใน Github ตามลิงก์นี้ครับ</p>
<blockquote>
<p><np-embed url="https://github.com/AlbiziaLebbeck/nostr-signing-device"><a href="https://github.com/AlbiziaLebbeck/nostr-signing-device">https://github.com/AlbiziaLebbeck/nostr-signing-device</a></np-embed></p>
</blockquote>
<p>เมื่อโหลดซอร์สโค้ดของ NSD เรียบร้อยแล้ว ก็ให้ทำการคัดลอกไฟล์ในไดเรคทอรี่ libraries ทั้งหมดประกอบไปด้วย </p>
<ul>
<li>ArduinoJson</li>
<li>QRCode</li>
<li>TFT_eSPI</li>
<li>tiny-AES-c</li>
<li>uBitcoin</li>
</ul>
<p>มาวางไว้ที่ไดเรคทอรี่ libraries ของ Arduino ซึ่งท่านสามารถทราบได้จากหน่าต่าง File &gt; Preferences ในช่อง “Sketchbook location:” </p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824182581-YAKIHONNES3.PNG" alt="image"></p>
<p>เมื่อท่านทำการลง libraries เรียบร้อย ก็ให้เปิดไฟล์ snsd &gt; snsd.ino นะครับ เราก็เห็นซอร์สโค้ดทั้งหมด ดังรูปด้านล่าง</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824250115-YAKIHONNES3.PNG" alt="image"></p>
<p>ทีนี้เราก็พร้อมสำหรับการอัพโหลดโปรแกรมแล้วครับ ให้ท่านทำการเชื่อมต่อบอร์ด ESP32 ด้วย usb แล้วไปที่ Tools &gt; Port: เพื่อทำการเลือก Port ที่ตรงกับบอร์ด ESP32 ของท่าน</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825332873-YAKIHONNES3.png" alt="image"></p>
<p>ตรวจสอบการตั้งค่า board ตามรูปด้านล่างนะครับ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825412293-YAKIHONNES3.png" alt="image"></p>
<p>พร้อมแล้วก็กดปุ่ม Upload ตามรูปด้านล่างได้เลยครับ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824501490-YAKIHONNES3.png" alt="image"></p>
<p>เมื่ออัพโหลดสำเร็จ ก็จะปรากฏคำว่า “Done Uploading” เป็นอันสิ้นสุดการติดตั้ง</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824825149-YAKIHONNES3.png" alt="image"></p>
<p>หาก NSD ของท่านมีหน้าจอแสดงผล ก็จะปรากฏโลโก้ดังรูปข้างล่าง</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697826700815-YAKIHONNES3.jpg" alt="image"></p>
<p>ในการใช้งานเบื้องต้น ให้ท่านทำการบันทึก Private key ของท่านลง NSD ก่อนนะครับ โดยให้ไปที่ Tools &gt; Serial Monitor ก็จะเจอหน้าต่าง Serial Monitor แล้วให้ทำการตั้ง Baud rate เป็น 9600 ดังรูปด้านล่าง</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824956141-YAKIHONNES3.png" alt="image"></p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825104634-YAKIHONNES3.png" alt="image"></p>
<p>หลังจากนั้นให้พิมคำสั่ง \restore ตามด้วย Private key ของท่านในรูปแบบเลขฐานสิบหก สำหรับ nsec ไม่รองรับนะครับให้ท่านทำการแปลงเป็นเลขฐานสิบหกเสียก่อน</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825741806-YAKIHONNES3.png" alt="image"></p>
<p>เมื่อบันทึก Private key เรียบร้อยแล้ว สามารถตรวจสอบ Public key ได้ด้วยคำสั่ง /public-key ครับ<br>ตอนนี้ NSD ของเราก็พร้อมใช้งานแล้วครับ</p>
<p>ในการใช้งานนั้น เราจะใช้งานร่วมกับส่วนขยายของเบราวเซอร์ Chrome (Microsoft Edge ก็ใช้ได้) ที่มีชื่อว่า Horse ซึ่งจะช่วยให้เว็บไซต์ไคลเอนท์ Nostr สามารถติดต่อกับ NSD ของเราด้วย NIP-07 ผ่าน web serial port โดยสามารถติดตั้งได้ที่ลิงก์นี้ ครับ </p>
<blockquote>
<p><np-embed url="https://chrome.google.com/webstore/detail/horse/ogdjeglchjlenflecdcoonkngmmipcoe"><a href="https://chrome.google.com/webstore/detail/horse/ogdjeglchjlenflecdcoonkngmmipcoe">https://chrome.google.com/webstore/detail/horse/ogdjeglchjlenflecdcoonkngmmipcoe</a></np-embed></p>
</blockquote>
<p>ในการใช้งานก็เพียงแค่เชื่อมต่อ NSD ของท่านเข้ากับคอมพิวเตอร์ แล้วเข้าใช้งานเว็บไซต์ไคลเอนท์ Nostr ด้วย NIP-07 โดยเลือกใช้ส่วนขยาย Horse เว็บเบราวเซอร์จะให้ท่านเลือก serial port ที่เชื่อมต่อ NSD ของท่าน</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825960468-YAKIHONNES3.png" alt="image"></p>
<p>หาก NSD ของท่านมีหน้าจอแสดงผล ก็จะปรากฏข้อความ Signed Message ดังรูป</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697826597440-YAKIHONNES3.jpg" alt="image"></p>
<p>อย่างไรก็ตามในการเข้าใช้งานบางไคลเอนท์จะยังไม่รองรับกับส่วนขยาย Horse ทำให้ท่านไม่สามารถเข้าสู่ระบบด้วย NSD ของท่านได้ อาจจะต้องรอการพัฒนาปรุงอีกซักระยะเวลาหนึ่งนะครับ สำหรับไคลเอนท์ที่ผมได้ลองทดสอบแล้วว่าใช้ได้ก็จะมีดังนี้ครับ</p>
<ul>
<li><np-embed url="https://coracle.social/"><a href="https://coracle.social/">https://coracle.social/</a></np-embed></li>
<li><np-embed url="https://satellite.earth/"><a href="https://satellite.earth/">https://satellite.earth/</a></np-embed></li>
<li><np-embed url="https://old.iris.to/"><a href="https://old.iris.to/">https://old.iris.to/</a></np-embed></li>
<li><np-embed url="https://yakihonne.com/"><a href="https://yakihonne.com/">https://yakihonne.com/</a></np-embed></li>
<li><np-embed url="https://habla.news/"><a href="https://habla.news/">https://habla.news/</a></np-embed></li>
</ul>
<p>หวังว่าบทความนี้จะเป็นประโยชน์กับชาว Nostr ทุกท่านนะครับ หากมีข้อสงสัยประการใดสามารถสอบถามมาได้ที่ Nostr ของผม <a href="mailto:pruks@siamstr.com">pruks@siamstr.com</a><br>สุดท้ายนี้ <em>ขอให้ทุกท่านท่องโลก Nostr ได้อย่างเพลิดเพลินและปลอดภัยด้วย NSD ของท่านเองนะครับ</em></p>
]]></content:encoded>
      <itunes:author><![CDATA[Cypherpruk]]></itunes:author>
      <itunes:summary><![CDATA[<p>หลายท่านที่ได้ท่องโลก Nostr มาเป็นระยะเวลาหนึ่งแล้ว ก็คงจะมีความรู้ความเข้าใจเกี่ยวกับ Private key หรือ nsec เป็นอย่างดี สิ่งนี้เปรียบเสมือนกุญแจดอกสำคัญที่เราจะนำมันมาใช้ในการยืนยันตัวตนและลงนาม (sign) เพื่อสร้าง event ต่างๆ ใน Nostr หาก Private key ของท่านถูกเปิดเผยแก่ผู้อื่นก็คงจะไม่ดีแน่ครับ เพราะอาจมีผู้ไม่หวังดีสามารถแอบแฝงใช้บัญชีของท่านได้</p>
<p>ทางเลือกหนึ่งที่น่าสนใจในการเก็บรักษา Private key ของเราไว้ก็คือการใช้ Nostr Signing Device หรือ NSD คืออุปกรณ์ฮาร์ดแวร์ที่ช่วยเก็บกุญแจการเข้าสู่ระบบ Nostr ของท่านไว้และสามารถทำการลงนาม event ต่างๆ ให้เราได้ คล้ายกับ Hardware Wallet ที่สามารถเก็บกุญแจและลงนามในการทำธุรกรรมในระบบ Bitcoin</p>
<p>หลักการทำงานของ NSD ในเบื้องต้นจะทำงานร่วมกับ NIP-07 โดยข้อมูลของ event ที่กำลังถูกสร้างขึ้นจะถูกส่งจากไคลเอนท์ไปยัง NSD ผ่าน serial port เพื่อทำการลงนาม แล้วส่งลายเซ็นต์ (signature) กลับมาให้ไคลเอนท์</p>
<p>ในปัจจุบันท่านสามารถหาซื้อ NSD ได้ที่เว็บ LNbits ซึ่งราคาจะอยู่ที่ประมาณ 20 ปอนด์ หรือประมาณ 900 บาท </p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823012080-YAKIHONNES3.PNG" alt="image"></p>
<p>NSD ของ LNbits ที่กล่าวมาข้างต้นนั้นเป็น opensource ที่เปิดเผยซอร์สโค้ดทุกอย่าง ซึ่งเราสามารถนำมาใช้เพื่อพัฒนาเองได้ โดยมีต้นทุนอุปกรณ์ที่ถูกกว่าการซื้อในเว็บมากครับ <em>ดังนั้นบทความนี้ผมก็จะพาท่านผู้อ่านมาสร้าง NSD แบบ DIY เป็นของตัวเองกันครับ</em></p>
<p>เริ่มต้นเราก็มาหาซื้ออุปกรณ์กันก่อนนะครับ เราจะใช้ฮาร์ดแวร์หลักคือบอร์ดพัฒนา ESP32 รุ่นใดก็ได้ โดยรุ่นที่ทาง LNbits แนะนำก็คือ LILYGO T-Display S3 เพราะเป็นรุ่นที่ตรงกับ NSD ของ LNbits อีกรุ่นหนึ่งที่ผมแนะนำก็คือ LILYGO T-Dongle S3 ส่วนตัวผมจะเลือกใช้ตัวนี้เพราะว่ามี usb ติดมาด้วย ทำให้ใช้งานได้สะดวกเหมือน thumb drive นอกจากหากท่านมีงบน้อยก็จะสามารถเลือกใช้ ESP32 บอร์ดเปล่าแบบที่ไม่มีจอก็ได้ครับซึ่งรุ่นนี้ราคาถูกที่สุดประมาณ 200 บาท โดยผมได้ทำตารางเปรียบเทียบ ดังนี้ </p>
<table>
<thead>
<tr>
<th>ESP32</th>
<th>Link</th>
<th>Price(THB)</th>
</tr>
</thead>
<tbody><tr>
<td>LILYGO T-Display S3</td>
<td><np-embed url="https://s.click.aliexpress.com/e/_Ddy7739"><a href="https://s.click.aliexpress.com/e/_Ddy7739">https://s.click.aliexpress.com/e/_Ddy7739</a></np-embed></td>
<td>≈728</td>
</tr>
<tr>
<td>LILYGO T-Dongle S3</td>
<td><np-embed url="https://s.click.aliexpress.com/e/_DmQCPyj"><a href="https://s.click.aliexpress.com/e/_DmQCPyj">https://s.click.aliexpress.com/e/_DmQCPyj</a></np-embed></td>
<td>≈546</td>
</tr>
<tr>
<td>ESP32-WROOM</td>
<td><np-embed url="https://shopee.co.th/search?keyword=esp32"><a href="https://shopee.co.th/search?keyword=esp32">https://shopee.co.th/search?keyword=esp32</a></np-embed></td>
<td>80~300</td>
</tr>
</tbody></table>
<p>ทีนี้พอเรามีอุปกรณ์กันแล้ว ก็มาติดตั้งซอฟต์แวร์กันครับ โดยเราจะใช้ซอฟต์แวร์ Arduino IDE สำหรับอัพโหลดโปรแกรมลงบอร์ด สามารถดาวน์โหลดได้ที่  </p>
<blockquote>
<p><np-embed url="https://www.arduino.cc/en/software"><a href="https://www.arduino.cc/en/software">https://www.arduino.cc/en/software</a></np-embed></p>
</blockquote>
<p>เมื่อทำการติดตั้ง Arduino IDE แล้วเปิดโปรแกรมครั้งแรก ให้ทำการติดตั้ง ESP32 Board ก่อนครับ โดยเข้าไปที่ File &gt; Preferences</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823531530-YAKIHONNES3.PNG" alt="image"></p>
<p>ในหน้าต่าง Preferences นี้ ให้ทำการคัดลอกข้อความ</p>
<blockquote>
<p><np-embed url="https://dl.espressif.com/dl/package_esp32_index.json"><a href="https://dl.espressif.com/dl/package_esp32_index.json">https://dl.espressif.com/dl/package_esp32_index.json</a></np-embed>  </p>
</blockquote>
<p>วางลงในช่อง “Additional Board Manager URLs” แล้วกด OK</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823661121-YAKIHONNES3.PNG" alt="image"></p>
<p>จากนั้นไปที่ Arduino IDE แล้วไปที่ Tools &gt; Board &gt; Boards Manager…</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823805267-YAKIHONNES3.PNG" alt="image"></p>
<p>ในหน้าต่าง Boards Manager ให้พิมพ์ในช่องค้นหาว่า ESP32 จากนั้นให้กด Install แล้วรอการดาวน์โหลดและติดตั้งจนเสร็จ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697823903869-YAKIHONNES3.PNG" alt="image"></p>
<p>เมื่อติดตั้งเรียบร้อย กลับมาที่ Arduino IDE แล้วไปที่ Tools &gt; Board &gt; … ก็จะพบรายการบอร์ด ESP32 ให้เลือกบอร์ดที่ท่านใช้งานได้เลยครับ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824074971-YAKIHONNES3.PNG" alt="image"></p>
<p>ถ้าหากว่าไม่เจอรุ่นที่ตรงกัน ให้เลือก “ESP32S3 Dev Module” ก็ได้ครับ</p>
<p>ขั้นตอนต่อมาเราก็จะมาทำการโหลดซอร์สโค้ดของ NSD กันครับ โดยซอร์สโค้ดจะอยู่ใน Github ตามลิ้งนี้</p>
<blockquote>
<p><np-embed url="https://github.com/lnbits/nostr-signing-device"><a href="https://github.com/lnbits/nostr-signing-device">https://github.com/lnbits/nostr-signing-device</a></np-embed></p>
</blockquote>
<p>สำหรับท่านใดที่เลือกใช้ LILYGO T-Dongle S3 แบบเดียวกับผม ซึ่งมีขนาดความละเอียดจอที่เล็กกว่า NSD รุ่น T-Display ของ LNbits ผมจึงทำการ fork ซอร์สโค้ดใหม่และได้ทำการแก้ ui ให้เข้ากับขนาดจอแสดงผลของ T-Dongle โดยผมได้อัพโหลดโค้ดลงใน Github ตามลิงก์นี้ครับ</p>
<blockquote>
<p><np-embed url="https://github.com/AlbiziaLebbeck/nostr-signing-device"><a href="https://github.com/AlbiziaLebbeck/nostr-signing-device">https://github.com/AlbiziaLebbeck/nostr-signing-device</a></np-embed></p>
</blockquote>
<p>เมื่อโหลดซอร์สโค้ดของ NSD เรียบร้อยแล้ว ก็ให้ทำการคัดลอกไฟล์ในไดเรคทอรี่ libraries ทั้งหมดประกอบไปด้วย </p>
<ul>
<li>ArduinoJson</li>
<li>QRCode</li>
<li>TFT_eSPI</li>
<li>tiny-AES-c</li>
<li>uBitcoin</li>
</ul>
<p>มาวางไว้ที่ไดเรคทอรี่ libraries ของ Arduino ซึ่งท่านสามารถทราบได้จากหน่าต่าง File &gt; Preferences ในช่อง “Sketchbook location:” </p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824182581-YAKIHONNES3.PNG" alt="image"></p>
<p>เมื่อท่านทำการลง libraries เรียบร้อย ก็ให้เปิดไฟล์ snsd &gt; snsd.ino นะครับ เราก็เห็นซอร์สโค้ดทั้งหมด ดังรูปด้านล่าง</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824250115-YAKIHONNES3.PNG" alt="image"></p>
<p>ทีนี้เราก็พร้อมสำหรับการอัพโหลดโปรแกรมแล้วครับ ให้ท่านทำการเชื่อมต่อบอร์ด ESP32 ด้วย usb แล้วไปที่ Tools &gt; Port: เพื่อทำการเลือก Port ที่ตรงกับบอร์ด ESP32 ของท่าน</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825332873-YAKIHONNES3.png" alt="image"></p>
<p>ตรวจสอบการตั้งค่า board ตามรูปด้านล่างนะครับ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825412293-YAKIHONNES3.png" alt="image"></p>
<p>พร้อมแล้วก็กดปุ่ม Upload ตามรูปด้านล่างได้เลยครับ</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824501490-YAKIHONNES3.png" alt="image"></p>
<p>เมื่ออัพโหลดสำเร็จ ก็จะปรากฏคำว่า “Done Uploading” เป็นอันสิ้นสุดการติดตั้ง</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824825149-YAKIHONNES3.png" alt="image"></p>
<p>หาก NSD ของท่านมีหน้าจอแสดงผล ก็จะปรากฏโลโก้ดังรูปข้างล่าง</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697826700815-YAKIHONNES3.jpg" alt="image"></p>
<p>ในการใช้งานเบื้องต้น ให้ท่านทำการบันทึก Private key ของท่านลง NSD ก่อนนะครับ โดยให้ไปที่ Tools &gt; Serial Monitor ก็จะเจอหน้าต่าง Serial Monitor แล้วให้ทำการตั้ง Baud rate เป็น 9600 ดังรูปด้านล่าง</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697824956141-YAKIHONNES3.png" alt="image"></p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825104634-YAKIHONNES3.png" alt="image"></p>
<p>หลังจากนั้นให้พิมคำสั่ง \restore ตามด้วย Private key ของท่านในรูปแบบเลขฐานสิบหก สำหรับ nsec ไม่รองรับนะครับให้ท่านทำการแปลงเป็นเลขฐานสิบหกเสียก่อน</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825741806-YAKIHONNES3.png" alt="image"></p>
<p>เมื่อบันทึก Private key เรียบร้อยแล้ว สามารถตรวจสอบ Public key ได้ด้วยคำสั่ง /public-key ครับ<br>ตอนนี้ NSD ของเราก็พร้อมใช้งานแล้วครับ</p>
<p>ในการใช้งานนั้น เราจะใช้งานร่วมกับส่วนขยายของเบราวเซอร์ Chrome (Microsoft Edge ก็ใช้ได้) ที่มีชื่อว่า Horse ซึ่งจะช่วยให้เว็บไซต์ไคลเอนท์ Nostr สามารถติดต่อกับ NSD ของเราด้วย NIP-07 ผ่าน web serial port โดยสามารถติดตั้งได้ที่ลิงก์นี้ ครับ </p>
<blockquote>
<p><np-embed url="https://chrome.google.com/webstore/detail/horse/ogdjeglchjlenflecdcoonkngmmipcoe"><a href="https://chrome.google.com/webstore/detail/horse/ogdjeglchjlenflecdcoonkngmmipcoe">https://chrome.google.com/webstore/detail/horse/ogdjeglchjlenflecdcoonkngmmipcoe</a></np-embed></p>
</blockquote>
<p>ในการใช้งานก็เพียงแค่เชื่อมต่อ NSD ของท่านเข้ากับคอมพิวเตอร์ แล้วเข้าใช้งานเว็บไซต์ไคลเอนท์ Nostr ด้วย NIP-07 โดยเลือกใช้ส่วนขยาย Horse เว็บเบราวเซอร์จะให้ท่านเลือก serial port ที่เชื่อมต่อ NSD ของท่าน</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697825960468-YAKIHONNES3.png" alt="image"></p>
<p>หาก NSD ของท่านมีหน้าจอแสดงผล ก็จะปรากฏข้อความ Signed Message ดังรูป</p>
<p><img src="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697826597440-YAKIHONNES3.jpg" alt="image"></p>
<p>อย่างไรก็ตามในการเข้าใช้งานบางไคลเอนท์จะยังไม่รองรับกับส่วนขยาย Horse ทำให้ท่านไม่สามารถเข้าสู่ระบบด้วย NSD ของท่านได้ อาจจะต้องรอการพัฒนาปรุงอีกซักระยะเวลาหนึ่งนะครับ สำหรับไคลเอนท์ที่ผมได้ลองทดสอบแล้วว่าใช้ได้ก็จะมีดังนี้ครับ</p>
<ul>
<li><np-embed url="https://coracle.social/"><a href="https://coracle.social/">https://coracle.social/</a></np-embed></li>
<li><np-embed url="https://satellite.earth/"><a href="https://satellite.earth/">https://satellite.earth/</a></np-embed></li>
<li><np-embed url="https://old.iris.to/"><a href="https://old.iris.to/">https://old.iris.to/</a></np-embed></li>
<li><np-embed url="https://yakihonne.com/"><a href="https://yakihonne.com/">https://yakihonne.com/</a></np-embed></li>
<li><np-embed url="https://habla.news/"><a href="https://habla.news/">https://habla.news/</a></np-embed></li>
</ul>
<p>หวังว่าบทความนี้จะเป็นประโยชน์กับชาว Nostr ทุกท่านนะครับ หากมีข้อสงสัยประการใดสามารถสอบถามมาได้ที่ Nostr ของผม <a href="mailto:pruks@siamstr.com">pruks@siamstr.com</a><br>สุดท้ายนี้ <em>ขอให้ทุกท่านท่องโลก Nostr ได้อย่างเพลิดเพลินและปลอดภัยด้วย NSD ของท่านเองนะครับ</em></p>
]]></itunes:summary>
      <itunes:image href="https://yakihonne.s3.ap-east-1.amazonaws.com/08f968569f15f1f803466845f954e8b384fee6669aa589c85b860fd3ffe59a09/files/1697857694484-YAKIHONNES3.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>
    