May 21, 2021A Quick Overview of Hyperledger FabricIntroduction Not long ago I prepared a one-hour crash course for my team about Hyperledger Fabric. Here I am sharing what I have covered in this course. I hope this provides the first glance about Fabric before you further explore how interesting and complex this enterprise blockchain framework is. The topic…Hyperledger Fabric12 min readHyperledger Fabric12 min read
Apr 12, 2021Finally, Fix my Bike with Hyperledger Fabric (Deploy Daml application on a Fabric Network)Introduction We continue our demonstration of Daml working with various types of ledger. In the previous several articles, we have walked through the code and tested it with Daml Studio (link), and then the same code on Daml Sandbox and Navigator (link). The latest one is the same code persistent in…Daml11 min readDaml11 min read
Apr 7, 2021Add an Organization to a Decentralized Fabric Network with No System Channel (Fabric v2.3)Introduction In my previous article we have seen how to bring up a decentralized fabric network with no system channel. With decentralization, there is no separate orderer organization and orderers are contributed by each participating organization. Each organization now does not need to use an orderer from a third party. …Hyperledger Fabric10 min readHyperledger Fabric10 min read
Apr 2, 2021Decentralized (Peer-owned Orderer) Setup with No System ChannelIntroduction In Hyperledger Fabric, ordering service plays an important role of keeping the consortium configuration and creating blocks. Over the past two years, the implementation of ordering service keeps evolving. Raft-based ordering service enables a type of decentralization, as participating organizations (peer organizations) can now have their own ordering service nodes…Hyperledger Fabric8 min readHyperledger Fabric8 min read
Mar 16, 2021Fix my Bike again: Deploy Daml Project in PostgreSQL-based Daml LedgerIntroduction One feature that amazes me a lot in Daml is that we can work on the model (smart contract) first before we choose which and what type of ledger our model is deployed. This is how I arrange these several articles. The first article (link) focused on the code: modeling…Daml7 min readDaml7 min read
Mar 9, 2021Demonstration of No-System-Channel Setup in Hyperledger Fabric v2.3Introduction Besides the ledger snapshot, Fabric v2.3 also introduced a new feature, bringing up application channels without system channel. The process is documented in details in the readthedoc. In this article I am using the configuration and script provided in Test Network and show what is needed to modify in order…Hyperledger Fabric7 min readHyperledger Fabric7 min read
Mar 4, 2021Fix my Bike Again: Demonstration of Navigator in DamlIntroduction In my previous works on Daml, I keep using Daml Studio to learn, practice, and test this modeling language. Besides code editing, Daml Studio has an environment of script execution, which is good for code development and workflow simulation. …Daml9 min readDaml9 min read
Feb 24, 2021Fix my bike: Use Daml to model a real life exampleIntroduction Andreas Lochbihler of Digital Asset conducted a guest lecture at Rapperswil last May, and in the lecture he demonstrated a real life example, showing how a bike shop offers a repair service for a bike owner in return of the cash the bike owner is holding. …Daml12 min readDaml12 min read
Feb 12, 2021Asset Modeling in DAML (Tutorial-7 Deep Dive Part 2)Overview In Part 1 we have seen how asset is created and transferred. In this part we focus on asset trading in Tutorial 7. Asset trade can be seen as two asset transfers happening at the same time: one party hands out her asset in return of the asset from another…Daml9 min readDaml9 min read
Feb 7, 2021Asset Modeling in DAML (Tutorial-7 Deep Dive Part 1)Overview DAML is the smart contract language modeling digital assets, which can then be deployed in a variety of environments, from databases to distributed ledger platforms such as Hyperledger Fabric and Corda. Their documentation comes with a 10-module tutorial. In my previous articles I talked about the concept of template and…Daml10 min readDaml10 min read