<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Get Consensus on Medium]]></title>
        <description><![CDATA[Stories by Get Consensus on Medium]]></description>
        <link>https://medium.com/@getconsensus?source=rss-c1cbf5ad33f6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Qd6wUkFhH7_52LsTUhHmWA.png</url>
            <title>Stories by Get Consensus on Medium</title>
            <link>https://medium.com/@getconsensus?source=rss-c1cbf5ad33f6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 11:24:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@getconsensus/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Blockchain: Reducing our Reliance on Trust]]></title>
            <link>https://medium.com/@getconsensus/blockchain-reducing-our-reliance-on-trust-b6d430ce98de?source=rss-c1cbf5ad33f6------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6d430ce98de</guid>
            <category><![CDATA[hyperledger-fabric]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Get Consensus]]></dc:creator>
            <pubDate>Thu, 20 Sep 2018 00:43:44 GMT</pubDate>
            <atom:updated>2018-09-20T14:35:09.699Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Written by Tim Williamson — September 19, 2018</em></p><p>Blockchain is a technical solution to a human problem —without trust, it’s almost impossible for us to work together. Allowing people, technologies, and companies to work together no matter who they are, where they are, or how much they do/don’t trust each other is an incredible thing for any technology to claim. Blockchain actually delivers.</p><h3>Same question, different phrasing</h3><p>In practically every effort to collaborate, the following questions come up:</p><ul><li>Who will own the data?</li><li>Who will manage the infrastructure?</li><li>How will we make sure business logic and access controls are enforced?</li><li>How will we secure all of this?</li></ul><p>Those are all just different ways to state the same thing… we don’t trust anyone to follow rules.</p><h3>Blockchain to the rescue</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XcrMqIjRkQs3zjTJGT_JAg.jpeg" /></figure><p>Blockchain addresses this problem by removing the need to actually rely on trust at all. Everyone owns a piece of the network, everyone has a copy of the data, and that data can’t be modified… allowing us to finally put our trust issues aside.</p><p>How would more efficient, collaborative processes impact your bottom line?</p><p>If you’ve been experimenting with private blockchain networks, or are interested in learning how they can help your business, <a href="https://getconsensus.io/#contact">we’d love to talk</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6d430ce98de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Trials and Tribulations (and Eventual Triumph) of Working with Hyperledger Fabric]]></title>
            <link>https://medium.com/@getconsensus/the-trials-and-tribulations-and-eventual-triumph-of-working-with-hyperledger-fabric-afdb59ae9b5b?source=rss-c1cbf5ad33f6------2</link>
            <guid isPermaLink="false">https://medium.com/p/afdb59ae9b5b</guid>
            <category><![CDATA[hyperledger-fabric]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Get Consensus]]></dc:creator>
            <pubDate>Wed, 29 Aug 2018 13:23:58 GMT</pubDate>
            <atom:updated>2018-08-29T13:23:58.196Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Written by </em><a href="https://medium.com/u/7aea8f16fc4e"><em>David Giliver</em></a><em> — August 29, 2018</em></p><p><em>The purpose of this article is to shed some light on the things I was able to accomplish in the short time I spent working with Hyperledger Fabric. It’s not to provide a “How to” on getting through any particular error message, bash Fabric, or dwell on anything negative.</em></p><p>Everyone is obsessed about blockchain right now. Cryptocurrencies such as Bitcoin and Ethereum are always in the news, IBM wants to let you know where your tomatoes come from, and celebrities (like Steven Seagal and Paris Hilton) are backing initial coin offerings (ICO for short). Crypto-craze got so out-of-hand by the end of 2017 that even my grandparents were calling me and asking if it was worthwhile to invest in Bitcoin or altcoins. By the way, if your not-so-tech-savvy relatives are asking you for crypto-investing advice, tell them it’s probably too late to buy.</p><p>In an attempt to participate in the blockchain conversation, many people use terms like “distributed ledger,” “mining,” and “proof of work vs proof of stake” without actually knowing what they mean. And to be quite honest, going into my summer internship at Progress, I didn’t know a lot about blockchain past those buzzwords either.</p><h3>Joining the Get Consensus team</h3><p>In May, I found out that I would be joining the <a href="https://getconsensus.io/">Get Consensus</a> team just in time to attend the annual event <a href="https://www.progress.com/">Progress </a>NEXT — a showcase of the latest technologies, gadgets, and platforms from Progress and other companies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*Jd6f5rICTn1mq9ybCqHwhw.jpeg" /><figcaption>Me attending Progress Next and sitting in at the Get Consensus presentation.</figcaption></figure><p>Among the NEXT presenters was Tim Williamson, the lead on the project and my emergency contact whenever any sort of cryptic error message would show up in my terminal.</p><p>I had done some research about the Get Consensus platform and had a decent understanding of how it worked, but I knew there was still much more to learn about both Get Consensus and blockchain. I was eager to begin work the following week at the new WeWork Space in Downtown Boston.</p><h3>Onboarding</h3><p>After some on-boarding on the first day, I dove straight into Node.js, Angular applications, and Express APIs. Most of what I was doing was the basic Hello World/tutorial stuff, but I would take for granted the simplicity of these instructional videos and blogs later once I started getting into the fairly unknown world of Hyperledger Fabric.</p><p>Learning a new language, tool, or platform is hard, so these preliminary toe-in-the-water tutorials play a crucial role in building a basis of knowledge. Without these resources you have to jump straight into the deep-end and just hope you can figure it all out (as was the case with Fabric).</p><h3>Enter Blockchain</h3><p>After about a week and a half of dabbling and familiarizing myself with modern web development, I decided to jump into <a href="https://hyperledger-fabric.readthedocs.io/en/release-1.1/build_network.html">the Fabric tutorial to build my first blockchain network</a>. This required installing a bunch of prerequisites: cURL, Docker, Go, Node.js, npm, and Python. I also had to install the Fabric samples, binaries, and images. It was a lot to get set up but at least <em>now </em>I was ready to start working with Fabric.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*REfS9Skqx_KCxh3jVIowvg.png" /></figure><p>I was pleasantly surprised to see that creating the “first network” on Fabric only required two simple command line commands. One to generate the necessary certificates and genesis block for the network — which executed perfectly — and another to boot up the network… which didn’t work at all.</p><p>Not an ideal start.</p><h3>“Cryptogen tool not found.”</h3><p><em>Ok, not quite sure what that means.</em> I Googled the issue and realized I had to add the Fabric binaries into the path variable. <em>Great, now it should work</em>. I tried to boot up the network only to have another error. Issues with Docker this time. <em>Ugh</em>…</p><p>I Googled away again, and found the answer. Again. After spending time chipping away at issues with the initial script, it was an extremely gratifying to see it execute with no error messages. That sight alone had made the earlier struggles worth it.</p><p>What had seemed like a rocky start was perhaps a fitting introduction to the uncharted world of Hyperledger Fabric.</p><h3>Land and expand</h3><p>One of the first things I attempted to do was add an organization to an existing channel. The documentation provided on the Fabric website was a bit out of date, so I had to find a way around it, which was a common theme throughout the summer.</p><p>Eventually, I was able to generate the cryptographic material for the new organization, fetch and turn the configuration data into JSON, and add the new org to the channel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*9rqqdb9IUgCvgPy6pa4xKA.png" /><figcaption>After Frankenstein-ing my first task.</figcaption></figure><p>After that, I was able to deploy some simple “asset transfer” <a href="https://medium.com/@getconsensus/hyperledger-fabric-what-is-chaincode-229ee6b72846">chaincode </a>— the Fabric version of smart contracts — to the network which allowed me to make queries and transfer funds from/to all the organizations.</p><h3>Fabcar</h3><p>After getting my first network running, I started working with the “fabcar” sample. That sample helps you spin up a simple Carfax-like application in your environment.</p><p>I was able to modify the sample to include some new business logic of my own. Since the original chaincode only dealt with adding and transferring cars, I wanted to add a way to flag cars as “removed” from the ledger… and then make the user interface automatically update to display any changes.</p><h3>Marbles</h3><p>With my new scope of knowledge, I moved onto an end-to-end use case called “Marbles.” Simply put, the Marbles demo allows you to trade marbles on a Fabric network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*FnK3Hc7y_ZsFgq4l4OaVqQ.gif" /></figure><p>After working through Docker issues, chaincode problems, and the <a href="https://medium.com/@getconsensus/how-to-fix-sorry-we-could-not-enroll-the-admin-against-the-ca-398fbded4d0f">hfc-key-store error</a>, I was finally able to complete this Marbles demo as an amalgamation of the things that I had learned up to that point.</p><p>If you are trying to develop with Fabric, but are having a difficult time visualizing what’s happening, try spinning up the Marbles <a href="https://github.com/IBM-Blockchain/marbles">demo</a>. It’s one of the few end-to-end tutorials available online, so it’s a good place to start.</p><h3>Operation: Multi-Org Marbles</h3><p>An issue with Marbles is that it only accounts for one organization. I figured that modifying the demo to work with multiple organizations would be a pretty practical thing for me do. This turned out to be a very tall task and required more work than I originally expected (Like with most Hyperledger Fabric stuff, there is very little documentation out there).</p><p>The first thing I had to do was spin up a network with more than one organization. I modified all of the configuration files, rewrote all of the Docker Compose files, and then wrote a shell script to create all of the channel artifacts, cryptographic material, and eventually add the organizations to the same channel.</p><p>As if that wasn’t enough, I then had to connect this network to the front end, which is difficult since there are a lot of “under-the-hood” things that require tweaking. I started by changing the connection profile to accommodate more than one organization but errors kept popping up after that.</p><p>The resulting digging lead me deeper and deeper into the pits of Fabric.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*evsPj6nDqnN-GiTmWO2F0Q.jpeg" /><figcaption>I was left to my own devices and attempted to brute force my way to a solution. This did not work.</figcaption></figure><p>After unsuccessfully toiling away, I put the Multi-Org Marbles project on the back-burner and continued my research into other areas of Hyperledger Fabric.</p><h3>Summary</h3><p>Throughout the summer I was able to explore Google Analytics, write Medium blogs, create end-to-end applications, and learn much more about blockchain than I could have possibly imagined. My scope of knowledge around blockchain has expanded well past the usual buzzwords and I can now confidently say that I understand (albeit a small part of) blockchain technology, which has been one the most valuable takeaways from my experience over the summer. I look forward to continuing my research in the world of blockchain and Hyperledger and hope to contribute to these spaces in the future.</p><p>What I realized over the summer is that you cannot go into the Hyperledger space alone, and the purpose of <a href="https://getconsensus.io/">Get Consensus</a> clicked for me. If you are a developer, all of the nuances and minutiae of Hyperledger Fabric can exhaust too much time, energy, and resources, and the goal of <a href="https://getconsensus.io/">Get Consensus</a> is to save you the heartache.</p><p>Blockchain is not just built <em>on</em> mutual trust and collaboration, it is also built <em>with</em> mutual trust and collaboration. If you are trying to develop your own distributed ledger application, <a href="https://getconsensus.io/">reach out to Get Consensus for consulting and help</a>.</p><p><em>David Giliver is a sophomore at Columbia University studying applied mathematics and computer science.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afdb59ae9b5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hyperledger Fabric: What is chaincode?]]></title>
            <link>https://medium.com/@getconsensus/hyperledger-fabric-what-is-chaincode-229ee6b72846?source=rss-c1cbf5ad33f6------2</link>
            <guid isPermaLink="false">https://medium.com/p/229ee6b72846</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[hyperledger-fabric]]></category>
            <dc:creator><![CDATA[Get Consensus]]></dc:creator>
            <pubDate>Mon, 27 Aug 2018 19:15:56 GMT</pubDate>
            <atom:updated>2018-08-27T19:15:56.129Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Written by </em><a href="https://medium.com/u/7aea8f16fc4e"><em>David Giliver</em></a><em> — August 27, 2018</em></p><p>How do you build a system that promotes trust and collaboration between multiple companies, each with their own processes and operations? Well, an agreement needs to be established about how those processes and operations will be executed. This type of joint understanding is represented with chaincode, Hyperledger Fabric’s version of smart contracts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*l_-8hQBFuCjBPaxaBOlN6g.jpeg" /><figcaption>In Hyperledger Fabric, business logic goes into chaincode.</figcaption></figure><h3>Who creates chaincode?</h3><p>Developers. And they can write chaincode in Golang, JavaScript, or Java using whatever data structures, libraries, or interfaces that they want. This means they probably won’t need to spend time learning a smart contract-specific language (like Solidity) to work with Hyperledger Fabric.</p><h3>Where does chaincode go?</h3><p>Chaincode is installed in a <a href="https://medium.com/@getconsensus/hyperledger-fabric-what-are-channels-and-why-would-i-need-them-bdd1e48308e4">channel</a>. Actually, developers can put as many chaincodes in a channel as they want; a single chaincode can handle all of the business logic, or there could be several different chaincodes that are split into multiple parts to increase maintainability.</p><p>Developers must install, instantiate, and provide an endorsement policy before the chaincode is ready to be used in a channel.</p><h3>Wait. What’s an endorsement policy?</h3><p>The endorsement policy describes how an operation must be verified before it is committed to the ledger and can be set up to fit the needs of the process; maybe a simple majority needs to endorse transactions with lower priority, while higher priority transactions need to be verified by specific organizations (The endorsement process is discretionary, so any AND/OR Boolean logic works).</p><p>Endorsement policies are “per chaincode”, so if developers need different policies, splitting business logic into multiple chaincodes can make that possible.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=229ee6b72846" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hyperledger Fabric: What are channels and why would I need them?]]></title>
            <link>https://medium.com/@getconsensus/hyperledger-fabric-what-are-channels-and-why-would-i-need-them-bdd1e48308e4?source=rss-c1cbf5ad33f6------2</link>
            <guid isPermaLink="false">https://medium.com/p/bdd1e48308e4</guid>
            <category><![CDATA[hyperledger-fabric]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Get Consensus]]></dc:creator>
            <pubDate>Mon, 27 Aug 2018 17:21:31 GMT</pubDate>
            <atom:updated>2018-08-27T17:21:31.093Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Written by </em><a href="https://medium.com/u/7aea8f16fc4e"><em>David Giliver</em></a><em> — August 27, 2018</em></p><p>A common characteristic that many public blockchains share is a fully transparent ledger (i.e. everyone in a network has a copy of the entire history of transactions). This certainly has its advantages because it lowers the chances of fraudulent transactions and reinforces trust between the parties.</p><p>But what if everyone in the network didn’t need to know everything?</p><p>Well Hyperledger Fabric introduces the concept of channels, which are essentially separate “group texts” between different peers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/307/1*7ZsGhlFjGAG6Ly0TQfCzvw.gif" /></figure><p>Each channel is independent and can have its own members, peers, and chaincode (business logic).</p><h3><strong>Real World Example</strong></h3><p>Alice is a distributor of avocados and Bob, Charlie, and Diana are owners of markets who buy from Alice. Suppose that Alice agrees to sell Diana avocados for a special price but needs Bob and Charlie to keep buying at the regular price. Well, Alice and Diana would be able to establish their own private channel for tracking transactions, while Bob and Charlie continue buying avocados at the standard price.</p><p>This simple but powerful concept can be expanded to other uses cases, and sensitive information can be kept confidential.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdd1e48308e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to fix "Sorry we could not enroll the admin against the CA."]]></title>
            <link>https://medium.com/@getconsensus/how-to-fix-sorry-we-could-not-enroll-the-admin-against-the-ca-398fbded4d0f?source=rss-c1cbf5ad33f6------2</link>
            <guid isPermaLink="false">https://medium.com/p/398fbded4d0f</guid>
            <category><![CDATA[hyperledger-fabric]]></category>
            <dc:creator><![CDATA[Get Consensus]]></dc:creator>
            <pubDate>Fri, 20 Jul 2018 20:02:16 GMT</pubDate>
            <atom:updated>2018-07-20T20:02:16.031Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to fix “Sorry we could not enroll the admin against the CA.”</h3><p><em>Written by </em><a href="https://medium.com/u/7aea8f16fc4e"><em>David Giliver</em></a><em> — July 19, 2018</em></p><p>After finally getting past cryptic error messages, launching a Hyperledger Fabric network, and installing and instantiating the Marbles chaincode, you open http://localhost:3001 only to see the message: “Sorry we could not enroll the admin against the CA.”</p><p>Perhaps you’ve already reviewed the docker-compose files for configuration errors, double-checked the connection-profile for port number discrepancies, and even deleted everything and restarted the tutorial from scratch — only to have the same error pop up again.</p><p>Cool. Now what?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wIIS2y6_wRrsV76CXpJ6OQ.png" /><figcaption>You were probably not hoping to see error messages after following the tutorial.</figcaption></figure><h3>What’s the problem?</h3><p>The Node SDK is creating a hidden key store directory in your home folder that isn’t referenced in the connection profile used by the Marbles client application.</p><h3>How do I fix it?</h3><p>Open Marbles client connection profile and change client.credentialStore.path to the path of the hidden key store directory.</p><p><em>Here it is in JSON (So you can copy/paste it right in!)</em></p><p>On Mac, the path will be:</p><pre>{<br> &quot;path&quot;: &quot;/~/.hfc-key-store&quot;<br>}</pre><p>On Windows, the path will look something like this:</p><pre>{<br> &quot;path&quot;: &quot;&lt;root&gt;\Users\&lt;username&gt;\.hfc-key-store&quot;<br>}</pre><p>Here’s what your connection profile should look like after the change:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JZDuUB_xU2ULTEtJAKmMhw.png" /><figcaption><em>This path is only used to reference the key store. It doesn’t actually influence where the folder is created.</em></figcaption></figure><p>After following this simple step and refreshing your browser the error should have gone away.</p><p>Violà! the Hyperledger Fabric Marbles demo should be up and running now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=398fbded4d0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>