<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blockchain on</title><link>https://www.ardanlabs.com/tags/blockchain/</link><description>Recent content in Blockchain on</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 27 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://www.ardanlabs.com/tags/blockchain/index.xml" rel="self" type="application/rss+xml"/><item><title>Ultimate Go: Advanced Engineering Episode 20</title><link>https://www.ardanlabs.com/blog/2023/01/ultimate-go-advanced-engineering-episode-20.html</link><pubDate>Fri, 27 Jan 2023 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2023/01/ultimate-go-advanced-engineering-episode-20.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In episode 19, Bill designed and implemented the data structure for an account on his blockchain. This type will have a nonce field to ensure incoming transactions are valid and performed in order. Since the database will be stored in memory and not on disk, the balances in these accounts are reconstructed with information from previous transactions and the genesis block.&lt;/p&gt;&#10;&lt;p&gt;In this video, Bill takes all the theories discussed in this series and applies them by launching his first blockchain node. Bill starts by defining a database type that will house all the account information on his blockchain with the initial values populated by the genesis record. Once he is finished, Bill will add a new package named &lt;code&gt;state&lt;/code&gt; and, as the name implies, it will manage the state on his blockchain. Watch and learn how to launch a blockchain node and interface with it over HTTP.&lt;/p&gt;</description></item><item><title>Ultimate Go: Advanced Engineering Episode 18</title><link>https://www.ardanlabs.com/blog/2023/01/ultimate-go-advanced-engineering-episode-18.html</link><pubDate>Tue, 24 Jan 2023 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2023/01/ultimate-go-advanced-engineering-episode-18.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In episode 17, Bill began to design an in-memory accounting database that will store the account balances on his blockchain. To build this database, Bill will add a memory pool on each node that stores a list of public addresses with their respective balances. The balances on these addresses are reconstructed by reading the previous transaction records found on his blockchain.&lt;/p&gt;&#10;&lt;p&gt;In this video, Bill will define the types of transactions his blockchain will support. The first step Bill takes is to define the &lt;code&gt;transaction&lt;/code&gt; data type and give a full walkthrough of the reasoning behind the fields he chose for this data type. Next, he’ll define methods for this type that will validate a transaction. While writing this code, Bill will borrow a few concepts from Ethereum to build a reference implementation. Watch to learn how transactions are managed on the blockchain and how to define one on your blockchain.&lt;/p&gt;</description></item><item><title>Ultimate Go: Advanced Engineering Episode 19</title><link>https://www.ardanlabs.com/blog/2023/01/ultimate-go-advanced-engineering-episode-19.html</link><pubDate>Tue, 24 Jan 2023 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2023/01/ultimate-go-advanced-engineering-episode-19.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In episode 18, Bill defined the Go type that will represent a transaction and implemented the methods to validate one. While developing the transaction type, Bill states that he’ll be borrowing concepts from Ethereum to ensure that he’s building a reference implementation. Bill’s transaction type has a field named &lt;code&gt;nonce&lt;/code&gt;, similar to Ethereum, that ensures transactions are executed in order. The nonce value of the last transaction is stored in his accounting database and later compared for additional verification.&lt;/p&gt;</description></item><item><title>Ultimate Go: Advanced Engineering Episode 17</title><link>https://www.ardanlabs.com/blog/2023/01/ultimate-go-advanced-engineering-episode-17.html</link><pubDate>Thu, 19 Jan 2023 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2023/01/ultimate-go-advanced-engineering-episode-17.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In episode 16, Bill implemented additional means of verification for his blockchain’s transactions. The first update he made was to verify if a transaction is destined for his blockchain by reading the first byte of the signature. The next one Bill made was to recalculate the public address from a signature and compare it with the &lt;code&gt;from&lt;/code&gt; field of the transaction to verify if the request is valid. While building this, Bill demonstrates how a user’s private key transforms into their public address.&lt;/p&gt;</description></item><item><title>Ultimate Go: Advanced Engineering Episode 16</title><link>https://www.ardanlabs.com/blog/2023/01/ultimate-go-advanced-engineering-episode-16.html</link><pubDate>Tue, 17 Jan 2023 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2023/01/ultimate-go-advanced-engineering-episode-16.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In episode 15, Bill architected a solution to ensure all the users on his blockchain were given a unique identifier. His approach consisted of essentially leveraging the randomness of a user&amp;rsquo;s private key to ensure each identifier is unique. A disadvantage Bill pointed out with this is that a user may forget their private key and ultimately lose access to their account. To circumvent this issue, Bill proposed the usage of a mnemonic, that is composed of 12 to 24 words, to act as the private key since it’s simpler to keep track of and hard to guess.&lt;/p&gt;</description></item><item><title>Smart Contracts Using Solidity and Go: Basic Contract</title><link>https://www.ardanlabs.com/blog/2022/12/smart-contract-solidity-go-basic.html</link><pubDate>Wed, 21 Dec 2022 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2022/12/smart-contract-solidity-go-basic.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;I made it my mission in 2022 to learn everything I could about blockchain and as the year ends, I feel like I accomplished my goal. Love it, hate it, or don’t want to know nothing about it, I think it’s important to push your opinions aside and understand how this technology works. Even with the current &lt;a href="https://en.wikipedia.org/wiki/Bankruptcy_of_FTX"&gt;collapse&lt;/a&gt; of several large crypto companies in 2022, blockchain isn’t going to disappear. Bitcoin and Ethereum are here to stay. If anything, this past year has shown how entrenched blockchain has become in the world and in people’s lives.&lt;/p&gt;</description></item><item><title>Practical Uses Of Blockchain Technology</title><link>https://www.ardanlabs.com/blog/2022/06/practical-uses-blockchain-technology.html</link><pubDate>Mon, 06 Jun 2022 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2022/06/practical-uses-blockchain-technology.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;A blockchain is an integrated solution of different computer science problems in the form of a single, &lt;a href="https://en.wikipedia.org/wiki/Append-only"&gt;append-only&lt;/a&gt;, publicly available, &lt;a href="https://tinyurl.com/4psep8et"&gt;transparent&lt;/a&gt;, and cryptographically auditable database that runs in a distributed and decentralized environment.&lt;/p&gt;&#10;&lt;p&gt;I’ve heard many times that blockchain is a technology looking for a problem to solve. I disagree with that assessment because the tech and computer science behind blockchain has practical uses in everyday engineering problems. One use of this technology that comes to mind is a dependency management verification system.&lt;/p&gt;</description></item><item><title>Blockchain In Go: Part IV: Fraud Detection</title><link>https://www.ardanlabs.com/blog/2022/05/blockchain-04-fraud-detection.html</link><pubDate>Thu, 05 May 2022 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2022/05/blockchain-04-fraud-detection.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In the first three posts, I explained there were four aspects of a blockchain that this series would explore with a backing implementation provided by the Ardan blockchain project.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.ardanlabs.com/blog/2022/02/blockchain-01-digital-accounts-signatures-verification.html"&gt;Digital accounts with electronic signatures and verification&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ardanlabs.com/blog/2022/03/blockchain-02-transaction-distribution-synchronization.html"&gt;Transaction distribution and synchronization between computers&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ardanlabs.com/blog/2022/04/blockchain-03-redundant-storage-and-consensus.html"&gt;Redundant storage and consensus by different computers&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ardanlabs.com/blog/2022/05/blockchain-04-fraud-detection.html"&gt;Detection of any fraud to past transactions&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The first post focused on how the Ardan blockchain provides support for digital accounts, signatures, and verification. The second post focused on transaction distribution and synchronization between different computers. The third post, focused on how the Ardan blockchain handles consensus between different computers which results in the redundant storage of the blockchain database. In this fourth post, I will focus on how the Ardan blockchain can detect forgery or changes to the underlying blocks and transaction data.&lt;/p&gt;</description></item><item><title>Blockchain In Go: Part III: Redundant Storage And Consensus</title><link>https://www.ardanlabs.com/blog/2022/04/blockchain-03-redundant-storage-and-consensus.html</link><pubDate>Tue, 19 Apr 2022 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2022/04/blockchain-03-redundant-storage-and-consensus.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In the first two posts, I explained there were four aspects of a blockchain that this series would explore with a backing implementation provided by the Ardan blockchain project.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.ardanlabs.com/blog/2022/02/blockchain-01-digital-accounts-signatures-verification.html"&gt;Digital accounts with electronic signatures and verification&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ardanlabs.com/blog/2022/03/blockchain-02-transaction-distribution-synchronization.html"&gt;Transaction distribution and synchronization between computers&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ardanlabs.com/blog/2022/04/blockchain-03-redundant-storage-and-consensus.html"&gt;Redundant storage and consensus by different computers&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ardanlabs.com/blog/2022/05/blockchain-04-fraud-detection.html"&gt;Detection of any fraud to past transactions&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The first post focused on how the Ardan blockchain provides support for digital accounts, signatures, and verification. The second post focused on transaction distribution and synchronization between different computers. In this third post, I will focus on how the Ardan blockchain handles consensus between different computers which results in the redundant storage of the blockchain database.&lt;/p&gt;</description></item><item><title>Blockchain In Go: Part II: Transaction Distribution and Synchronization</title><link>https://www.ardanlabs.com/blog/2022/03/blockchain-02-transaction-distribution-synchronization.html</link><pubDate>Tue, 08 Mar 2022 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2022/03/blockchain-02-transaction-distribution-synchronization.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In the first post, I explained there were four aspects of a blockchain that this series would explore with a backing implementation provided by the Ardan blockchain project.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.ardanlabs.com/blog/2022/02/blockchain-01-digital-accounts-signatures-verification.html"&gt;Digital accounts with electronic signatures and verification&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ardanlabs.com/blog/2022/03/blockchain-02-transaction-distribution-synchronization.html"&gt;Transaction distribution and synchronization between computers&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ardanlabs.com/blog/2022/04/blockchain-03-redundant-storage-and-consensus.html"&gt;Redundant storage and consensus by different computers&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ardanlabs.com/blog/2022/05/blockchain-04-fraud-detection.html"&gt;Detection of any fraud to past transactions&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The first post focused on how the Ardan blockchain provides support for digital accounts, signatures, and verification. In this second post, I will focus on transaction distribution and synchronization between different computers (blockchain nodes).&lt;/p&gt;</description></item><item><title>Blockchain In Go: Part I: Digital Accounts, Signatures and Verification</title><link>https://www.ardanlabs.com/blog/2022/02/blockchain-01-digital-accounts-signatures-verification.html</link><pubDate>Sat, 12 Feb 2022 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2022/02/blockchain-01-digital-accounts-signatures-verification.html</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;This is the first post in a series that will explore the semantics and implementation details of the Ardan &lt;a href="https://github.com/ardanlabs/blockchain"&gt;blockchain&lt;/a&gt; project. The code is a reference implementation of a blockchain and not intended to mirror any specific blockchain in use today. Even though the code has been engineered with production level coding standards, I wouldn&amp;rsquo;t use this project for anything more than learning.&lt;/p&gt;&#10;&lt;p&gt;I am using the &lt;a href="https://github.com/ethereum/go-ethereum"&gt;Ethereum&lt;/a&gt; project as a reference and have taken inspiration from that code. I’m hoping that understanding the code inside the Ardan blockchain will give you enough knowledge to understand the code that runs Ethereum.&lt;/p&gt;</description></item></channel></rss>