<?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 Ed Moffatt on Medium]]></title>
        <description><![CDATA[Stories by Ed Moffatt on Medium]]></description>
        <link>https://medium.com/@edmoffat?source=rss-36d35ade78d6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*f3Kw-B5ewua5vE5BNw5_hg.jpeg</url>
            <title>Stories by Ed Moffatt on Medium</title>
            <link>https://medium.com/@edmoffat?source=rss-36d35ade78d6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 08:54:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@edmoffat/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 tokens, simply explained]]></title>
            <link>https://medium.com/@edmoffat/blockchain-tokens-simply-explained-d05d88688b65?source=rss-36d35ade78d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/d05d88688b65</guid>
            <category><![CDATA[token]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[hyperledger-fabric]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[hyperledger]]></category>
            <dc:creator><![CDATA[Ed Moffatt]]></dc:creator>
            <pubDate>Tue, 14 Jan 2020 10:08:59 GMT</pubDate>
            <atom:updated>2020-01-14T10:08:59.961Z</atom:updated>
            <content:encoded><![CDATA[<p>I spent a day reading articles about blockchain tokens so you don’t have to!</p><p><strong>Disclaimer:</strong> I shan’t be held responsible if you end up <em>wanting</em> to spend a day reading other articles, as it’s a super interesting subject ;)</p><p>I like to explain things via stories. In this article we’ll consider a scenario involving a funfair, and we’ll pause to learn about some key tokenisation concepts as we go.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nVGQRgcIhmu5WJASzKuelA.png" /><figcaption>The funfair is coming: better make sure you understand tokens!</figcaption></figure><h3>Prologue: What’s a token?</h3><p>Whilst I’d like to get straight to the story, it’s probably worth a very brief definition of the term “token” in blockchain land.</p><p>Blockchain networks bring together organisations or individuals that want to collaborate on a common project. The technology means that everyone has:</p><ol><li>A copy of the same <strong>ledger</strong> (<em>guaranteed</em> to be <em>exactly</em> the same)</li><li>An immutable history of everything that’s ever been done to that ledger — the <strong>blockchain</strong> — which helps with trust, security and audit</li><li>An agreed and shared set of rules as to how the ledger can be interacted with — codified in <strong>smart contracts</strong></li></ol><p>Doing business backed up by such technology is very appealing for a number of reasons (we won’t go deep in this article, as that’s a more general “why blockchain?” topic). But things like “a bar of gold” or “the deed to this house” or “the fact I’m a shareholder in this company” don’t <em>exist </em>on the blockchain network. To represent such things, <strong>tokens</strong> can be used. The definition of a token is almost too general to be worth telling you, but here it is nonetheless:</p><blockquote>A <strong>token</strong> is a representation of <em>something</em> in its particular ecosystem. It could be value, stake, voting right… or <em>anything</em>!</blockquote><p>So, with the rather bland definition noted… Let’s move on to the fun bit!</p><h3><strong>Story time Part 1</strong></h3><p>A new funfair is coming to town! They’ve got some exciting ideas for rides, but they need to raise funds in order to build them. As such, they issue a fixed number of tokens for people to buy, each of which promises a certain share of profits once the funfair has become profitable. The funfair now holds the cash it needs to build the rides, and the investors now hold what are called <strong>Security Tokens</strong>.</p><h4><strong>Security Tokens</strong></h4><p>These are so-named because they’re the token equivalent of the financial assets known as Securities. In my simplistic understanding, there are 3 types of Securities: <strong>shares</strong> (representing an <em>ownership</em> relation with a <em>public</em> <em>company</em>), <strong>bonds</strong> (a <em>creditor</em> relationship with a <em>government body</em>) and <strong>options</strong> (<em>rights</em> to ownership).</p><p>Security Tokens, like their non-crypto counterparts, are subject to regulation by the SEC in the US. This regulation makes them either more or less appealing, depending on who you ask!</p><p>If ownership of a token grants a similar relationship between issuer and investor as a share, bond or option, then it’s a security token. There’s a precedent called the Howey Test, which is often brought up as method of deciding whether something is a security. Personally I find the “is it functionally similar to shares, bonds or options” test a more useful working definition though!</p><h4>Side-note 1: why tokens?</h4><p>I’ve just said that selling Security Tokens is a lot like selling Shares… So why doesn’t the funfair sell Shares? Why use blockchain at all? I’m not going to delve into that in this blog, but if you’re interested then I recommend the <a href="https://blockgeeks.com/guides/security-tokens/#Why_are_Security_Tokens_Important">“Why are Security Tokens Important?”</a> section of Rajarshi Mitra’s article on Blockgeeks.</p><h4><strong>Side-note 2: fungibility</strong></h4><p>The word “fungible” comes up a lot once you start reading about tokens. If an asset is fungible, it means that any 2 instances of that asset are interchangeable. A good example is that if I lend you a $10 bill, I’m fine if the $10 bill you return to me later is not the same one I gave you. If I were to lend you my car on the other hand, I’d be less happy to accept the return of another arbitrary car the next day ;) $10 bills are fungible, cars are not.</p><p>(The pedantic among you may [correctly] point out that the $10 bill is a form of token whilst the car itself is not a token… But look, I couldn’t do this next cartoon if it were a “driver’s license” or some “certificate of ownership”, so hopefully you’ll let this little simplification slide!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ba_XSY6gFwiKAQk8roQxXg.png" /><figcaption>Usual standard of jokes: check.</figcaption></figure><p>Many tokens are fungible, including all the examples in our funfair story. However, if we wanted to tokenise the fact that somebody had earned a Degree qualification, those tokens would be non-fungible since they’re tied to the individual.</p><p>Anyway, enough about FUNgibility, it’s time to return to the FUNfair!</p><h3><strong>Story time Part 2</strong></h3><p>The funfair is open, and the visitors are arriving! As they enter, they’re sold tokens — everything in the park has a cost in these tokens e.g. get a hotdog for 2 tokens, or a ride on the roller-coaster for 5 tokens etc. Using cash is not an option, so visitors must buy these tokens to obtain goods and services within the ecosystem of the funfair. These are <em>not</em> security tokens: there’s no expectation that you’re investing in them to receive profit later down the line, you just really want some candy-floss. These tokens are an example of <strong>Utility Tokens</strong>.</p><h4><strong>Utility Tokens</strong></h4><p>If a token doesn’t qualify as a security token according to the Howey Test, then the SEC considers it a Utility Token. Such tokens simply provide holders with access to a good or service. They’re not subject to the same regulatory requirements as Security Tokens — again, this makes them more or less appealing depending on who you’re asking ;)</p><h3><strong>Alternative Versions of the Story</strong></h3><p>In our original version, the funfair started by issuing a Security Token. This does not always have to be the case! One obvious alternative is that the funfair could obtain the cash it needed to build the rides via any means other than token issuance… But this is a story to explain tokens, so let’s assume that’s not the case ;) Consider these two alternatives…</p><ul><li>New funfair, rides to build, issue some tokens. So far, so familiar, right? But in this version, the tokens do not promise a return once the funfair is profitable. Instead, they allow the holders a vote on which new rides get developed. The funfair have some great ride-inventors working for them, and funfair-mad investors want to see the ideas they’re most interested in become a reality, so they choose to buy the tokens. This token is a <strong>Utility Token</strong>. It’s appealing to a far narrower range of investors, since “votes on what theme park rides get built” is less universally desirable than “cash money”. As well as the up-side (less stringent regulation) there is a down-side (lower appeal to investors) for the theme park if they choose this option.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V9GaIr8bnHbGHWn_laLcSw.png" /><figcaption>Those not in the UK might need to Google “Boaty McBoatface” to get this joke.</figcaption></figure><ul><li>New funfair yada yada yada… This time though they jump straight to selling the tokens that you can use to purchase hamburgers and rides on the Ghost Train. Obviously the buyers can’t use them <em>yet</em>, because the funfair hasn’t been built, but once everything’s ready they’ll be ready to consume processed meat goods whilst riding a Waltzer, and they’re willing to invest some cash up front for that later promise of goods/services. Once again, this is a <strong>Utility Token</strong>. This has similar up and down-sides to our last example (less regulated, lower appeal to investors), but it also has some historical baggage to go with it. This is the model many Ethereum dApps used to raise funding in the dApp gold-rush (circa 2017): Ethereum released the ERC-20 standard, making compliant tokens more easily tradable, and investor interest in ICOs soared. However, many of these ICOs were scams, raised by founders who had no intention of building a business (also, for the sake of balance, many were <em>not </em>scams). As such, interest in this kind of token offering is a lot lower these days: investors want assurance there’s regulation in place, and that’s where <strong>Security Tokens</strong> become more appealing. (Side-note: the terms ITO [Initial Token Offering] and STO [Security Token Offering] are becoming more common as a consequence of this.) (Side-side-note: if you’re less familiar with the example of dApps, consumer crowd-funding sites like Kickstarter might be a better analogy — you could envision a crypto token equivalent where a project has a finite number of utility tokens available for purchase, but the same risks of a project not delivering still exist.)</li></ul><h3><strong>Epilogue: Standardisation</strong></h3><p>As with many things, when it comes to crypto tokens, standardisation is important. The ERC-20 standard opened many doors for innovators (and arguably scammers if you want to be more cynical!), and after several landmark SEC decisions brought increased scrutiny onto whether individual tokens are Securities, it’s important to establish standards around Security Tokens too. There are Ethereum standards already emerging, as well as projects like the Token Taxonomy Initiative, which seeks to establish a broad classification of tokens across any blockchain technology. Sometimes the key distinction is security vs. utility, others it’s fungible vs. non-fungible.</p><p>Helping ecosystems like our fictional funfair (or perhaps more meaningfully a group of European banks, or a US food supply-chain…) to implement their own tokens is just as important on permissioned blockchains as it is on public ones. As such, projects like Hyperledger Fabric are already starting to look into token frameworks — the Alpha of Fabric v2.0 featured an early implementation of “FabToken”, and whilst this didn’t make it into the v2.0 GA, it’s reasonable to expect Fabric tokens to be an important part of blockchain progress in 2020.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d05d88688b65" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How has Hyperledger Fabric blockchain development improved in 2019?]]></title>
            <link>https://medium.com/coinmonks/how-has-hyperledger-fabric-blockchain-development-improved-in-2019-116d409dc598?source=rss-36d35ade78d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/116d409dc598</guid>
            <category><![CDATA[hyperledger]]></category>
            <category><![CDATA[hyperledger-fabric]]></category>
            <category><![CDATA[ibm]]></category>
            <category><![CDATA[ibm-developer]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Ed Moffatt]]></dc:creator>
            <pubDate>Thu, 19 Dec 2019 17:27:41 GMT</pubDate>
            <atom:updated>2020-08-25T16:52:02.879Z</atom:updated>
            <content:encoded><![CDATA[<h3>How did Hyperledger Fabric blockchain development improve in 2019?</h3><p>It’s time for <a href="https://medium.com/coinmonks/hyperledger/home">Hyperledger</a> Fabric’s annual performance review. What has it achieved in the past year?</p><p>Due to the fact I can’t remember whether something happened last month or 2 years ago (my brain files it all under “the past”), this sort of task always leads me to search back through presentations, documents, emails, etc. and try to reconstruct the events of the last year into a timeline like some sort of cheesy-tv-thriller detective.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_7PV--iK44zwZ9rj.png" /><figcaption>Shame everything I’ve done in 2019 wasn’t recorded on an immutable ledger for convenient recall…</figcaption></figure><p>In my quest to uncover the truth, I started reading back over the release notes for the IBM Blockchain Platform extension for VS Code. This is the main thing I work on: it allows you to add functionality into your IDE that makes it easier to develop and test blockchain contracts and applications. It’s got “IBM Blockchain Platform” as its name, because of the team that work on it, but it’s useful for <em>any</em> Hyperledger Fabric developer. (Hyperledger Fabric is an open source blockchain technology — see my previous blogs or Hyperledger’s website for more details).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DNTkqAr3AaH0i4a3.jpg" /><figcaption>One of the best jokes I have ever written.</figcaption></figure><h3>Better Developer Tooling</h3><p>We’ve done 28 releases of our VS Code extension in 2019. That’s taken us from v0.1.1 up to v1.0.17. So, we celebrated our v1 release, a big milestone, and we maintained our intended pace of a release every 2 weeks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lrQEJhMLk2z6Ibjr8cBkcg.png" /><figcaption>The free “IBM Blockchain Platform” extension for VS Code is suitable for any Hyperledger Fabric developer</figcaption></figure><p>Releases varied greatly in terms of how much “new stuff” they brought to users. One release fixed the fonts on the homepage:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*qgt-5-tXgsFvJE19On3Nfw.png" /><figcaption>Big changes on Jan 30th</figcaption></figure><p>Meanwhile, one of the more big-hitting releases added support for generating Java and Go smart contracts, the ability to issue new identities from your local test network (allowing devs to start testing attribute-based access control for transactions in their contracts) and the ability to debug a transaction submission.</p><p>So, yeah, some were bigger releases than others.</p><p>Every release that wasn’t a “that one got stuck in the build pipeline, we need to bump the version number and try again” came with its own Conga Comic. I continue to be amazed by the fact I haven’t run out of cringe blockchain jokes yet (I draw these comics, and the team helps me come up with ideas!). Littered throughout this article are a few of my favorite comics from 2019!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KfZHge_irtn0j_Z1.jpg" /><figcaption>Unless you’re a green congablock, you’re probably wondering why they’re just staring at nothing.</figcaption></figure><h3>Better Programming Model</h3><p>Tools are only part of the developer experience. Allow me to construct an awful analogy… If you’ve got an absolutely brilliant cake tin, but the only ingredients you have in your cupboard are mince beef, cement and bees, you’re still not gonna enjoy making that cake. And nobody is going to enjoy eating it.</p><p>Replacing that beef, cement and bees with sugar, flour and eggs is sort of like what the Fabric “chaincode” and “client SDK” teams have done over the course of 2019. Ok, so it’s not like Fabric was terrible to work with before, but there was room for improvement…</p><p>One of the biggest issues was that client applications wanting to interact with a blockchain network (e.g. to submit a transaction that would update the shared, distributed ledger) needed to know far too much about that network. They needed to explain how the transaction proposal should be endorsed, specifying how to reach each of the peers involved. It’s really weird for the application (outside the network) to have that much detail about the internals of the runtime coded into it — and it didn’t help with maintenance of your apps if something changed in the network!</p><p>As for smart contracts (“chaincode”), they only had 2 functions: init( ) and invoke( ). What if you didn’t want to do the same thing every single time a contract was invoked? Why, you’d be using the same boilerplate code to have invoke( ) handle routing into your code every single time, of course!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H2Ed_p1OcNJ1piaR.png" /><figcaption>Before 2019, Fabric smart contract dev had some room for improvement!</figcaption></figure><p>The team came up with a new higher-level programming model concept, and have been steadily rolling it out across the programming languages used by Fabric.</p><p>Client apps now benefit from the concept of a “Gateway” — basically, a single peer can act as an app’s entry point to the network, and deal with all the details of how to get a given transaction endorsed and committed on behalf of the client. It’s so much easier, more sensible, and involves much less code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*90k3Gbu1q8bUCIZcbWm4zA.png" /><figcaption>New programming model (left) vs. old (right) for submitting a transaction using the Javascript SDK (apologies, the old one can’t even fit on the page!) — New = 53 lines, Old = 163 lines (same functionality &amp; level of commenting)</figcaption></figure><p>TypeScript, JavaScript and Java smart contracts (Go is still in the works!) can now define named functions for transactions at the top level. This cuts out a ton of boilerplate code, and makes a contract far more readable for a new developer. Again, easier, more sensible, less code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NGxcm-Ms5ex1tbgSHbry1A.png" /><figcaption>Smart Contracts can now extend the “Contract” class to cut out a bunch of boilerplate code. New = 143 lines, Old = 193 lines (same functionality &amp; level of commenting)</figcaption></figure><h3>In Summary</h3><p>2019 has seen Fabric embrace a new Programming Model. Meanwhile we’ve been pushing new releases of the developer tooling every 2 weeks. The result is that developers have a better set of tools to build things out of better raw materials. We’ve got some cool new stuff coming in 2020 too, but with mature dev tools and a stable, unified programming model no matter what programming language you choose, it’s the perfect time to jump in and try Fabric to develop your blockchain use case! And if you ask me, I’d say installing the <a href="https://marketplace.visualstudio.com/items?itemName=IBMBlockchain.ibm-blockchain-platform">IBM Blockchain Platform extension for VS Code</a> and following the built-in beginner tutorials is the best way to get started ;)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WMXSe0URcynFNY9I.png" /><figcaption>“…with mature dev tools and a stable, unified programming model… it’s the perfect time to JUMP IN!”</figcaption></figure><p>In conclusion…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/261/1*eVlDShHyD2nkfkzMzPXaqA.jpeg" /></figure><blockquote><a href="https://coincodecap.com/?utm_source=coinmonks">Get Best Software Deals Directly In Your Inbox</a></blockquote><figure><a href="https://coincodecap.com/?utm_source=coinmonks"><img alt="" src="https://cdn-images-1.medium.com/max/584/0*OJ-qb5G6i863msBB.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=116d409dc598" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/how-has-hyperledger-fabric-blockchain-development-improved-in-2019-116d409dc598">How has Hyperledger Fabric blockchain development improved in 2019?</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[800 Words Explaining Blockchain Without Saying Blockchain]]></title>
            <link>https://medium.com/thecapital/800-words-explaining-blockchain-without-saying-blockchain-f5a6ed2cc5ac?source=rss-36d35ade78d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5a6ed2cc5ac</guid>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[Ed Moffatt]]></dc:creator>
            <pubDate>Thu, 04 Jul 2019 16:05:30 GMT</pubDate>
            <atom:updated>2019-07-09T02:18:28.510Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vwrZJ681DUDhboxWm2gliQ.png" /></figure><h4>By <a href="https://medium.com/u/36d35ade78d6">Ed Moffatt</a> on ALTCOIN MAGAZINE</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f0I14989tO7Cc8xQjsXTLA.jpeg" /></figure><h4>(The post-it in the photo doesn’t count)</h4><p>I recently tried to explain the technology I work on to a new colleague. It made me think about how when someone asks “what is (technology) X”, they’re very rarely looking for a precise definition of X. They <em>don’t</em> want a really accurate statement of what the word means, and a set of new terms to go look up, they want to understand why the technology exists and what it enables people to do. Hence, I think it can be useful to avoid mentioning X for as long as possible in the explanation.</p><p>So, it’s July 4th, my calendar is <em>oddly</em> free during the time I’d usually be on WebEx with my American colleagues, and I thought I’d have a bash at it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*opNOPLXksY6TXMSNY96yxQ.png" /><figcaption>(The meme doesn’t count either)</figcaption></figure><h3>Ok, Start Counting Now</h3><p>Our story starts with a group of organizations (companies) who want to co-own some information about shared business processes. For example, say 3 companies are involved in getting a widget from a warehouse (A) to a customer’s house (B). The ideal situation would be that they all have the same information about where the widget is and what status it’s in at any point on its journey from A to B. Also they should agree on how the widget’s location and status will be recorded and updated.</p><p>I think it’s easiest to understand how a technology solution to this might work by considering the case when it doesn’t exist. Sticking with our example of 3 companies (call them 1, 2 and 3) involved in the shipping of this widget… We’ll consider 2 methods for how they might handle this.</p><h4>Method 1 — Individual Ledgers</h4><p>1, 2 and 3 all want to know the location and status of the widget. One way of achieving this is that they all write down what they know separately. Then, when they hear about something changing, they update what they’ve got written down. This can be described as them each having a separate <strong>ledger</strong>. Obviously, the pen and paper can be replaced by a slightly more modern system, but in this scenario, you still have 3 separate systems. This might be fine in some business processes, but at the same time there are some problems that can occur:</p><ul><li>What if 1 thinks the widget is in Kettering, but 2 thinks it’s in Poole? (These are randomly selected places in England btw.) Who’s right?</li><li>What if 2 thinks the status of the widget is “OK”, but 3 doesn’t have the option of “OK” in their system. They only record status as “GOOD” or “BAD”, so which one should they use in this situation?</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*2Gf1UAhc71zH1o6kF5rMOg.png" /></figure><h4>Method 2 — One Authority</h4><p>So, sometimes separate ledgers are no good. What about we agree to just have one ledger then? Company 1 will own the ledger, and then company 2 and 3 can just ask them for the info whenever they need it! Again, as you may have guessed, there are possible issues here:</p><ul><li>Company 1 is now solely liable for keeping the ledger up to date. Are 2 and 3 happy to trust them? Is 1 happy to take on that responsibility? What if 1 is a US company, 2 and 3 are European, and today is 4th July — 2 desperately needs to know the status of a certain widget, but for some reason, nobody at 1 is picking up the phone!</li><li>An employee at 1 was supposed to hand the widget to an employee at 2. He forgot, but that’d make him look bad, so he updated the ledger to say he did. Now the single source of truth says it happened — 1 has tampered with the ledger and there’s nothing 2 or 3 can do about it. Not good.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*RXfA4XLXcauvJKJMKlLCOg.png" /></figure><h4>A Better Solution</h4><p>So where does that leave us? We don’t want 3 separate ledgers, but also we don’t want one company to own a single ledger. There’s a non-tech solution to this in the form of a joint venture: 1, 2 and 3 could contribute board members to a new legal entity, 4, who owns the ledger. If only we could replicate that kind of model with tech, we’d be able to make it more repeatable, efficient, cost-effective… This is why <strong>Distributed Ledger Technology </strong>(DLT) is useful!</p><p>The aims of a <strong>Distributed Ledger </strong>are that:</p><ul><li>Each company has its own copy to reference</li><li>The copies are always the same as each other</li><li>(As a somewhat trivial extension) whenever one company updates their ledger, the other companies’ copies are also updated</li><li>The same rules about what can be recorded and how things get updated are shared by all the organizations</li></ul><p>It would also then be very useful if it was impossible for one company to tamper with the ledger (the word used here is <strong>immutable</strong>). Good news everybody, there’s a solution to that…</p><p>Hyperledger Fabric has 2 parts to its <strong>shared</strong>, <strong>immutable ledger</strong>. First, there’s the bit where all 3 companies can look to see the location and status of a widget, which gets updated for everyone when someone makes a change. This tells everyone about the current state of the world, and that’s the easy way to remember its name: <strong>world state</strong>.</p><p>Next, there’s a record of all the updates that have ever been made to the ledger. In Fabric parlance, we say that the ledger is updated via the organizations submitting <strong>transactions</strong>. All the transactions get batched up into <strong>blocks</strong> to be committed to the ledger. When that happens, the latest info about the widget goes into world state, and the block is added to an ordered set of blocks. The blocks are “joined to” each other — each block contains a hash of the previous block, so if any get removed or moved around, this tampering can be detected. Hence, it’s a chain of blocks or a…<br> <br><strong> BLOCKCHAIN!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aiwMNSYLnJucU3XzuRZa4A.png" /></figure><p><a href="https://twitter.com/Alt__Magazine">Altcoin Magazine</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F3c1144%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F3c1144%2F&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/4b37fd61c8660dc2cbfe8232dfa683e2/href">https://medium.com/media/4b37fd61c8660dc2cbfe8232dfa683e2/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5a6ed2cc5ac" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thecapital/800-words-explaining-blockchain-without-saying-blockchain-f5a6ed2cc5ac">800 Words Explaining Blockchain Without Saying Blockchain</a> was originally published in <a href="https://medium.com/thecapital">The Capital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The inevitable march towards blockchain watermelon zombies]]></title>
            <link>https://medium.com/@edmoffat/the-inevitable-march-towards-blockchain-watermelon-zombies-7bd4edfdc86f?source=rss-36d35ade78d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bd4edfdc86f</guid>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Ed Moffatt]]></dc:creator>
            <pubDate>Tue, 19 Feb 2019 16:17:57 GMT</pubDate>
            <atom:updated>2019-02-19T16:17:57.426Z</atom:updated>
            <content:encoded><![CDATA[<p>(Bear with me on this title, ok? I wrote my waffle <em>then </em>titled it, so<em> </em>it’ll all make sense by the end, honest.)</p><p>There’s an old portfolio trope of designing a weather app. Everyone knows the basic concept of what such an app does, allowing the designer to instead focus on all sorts of stylish data visualisation, achingly cool minimalism, or cartoon weather-reporting zombies etc. The reason it’s a bit of a trope is that this usually makes a really <em>bad</em> piece of work to include in a portfolio: the focus is typically on making something that’ll look great presented in an iPhoneX frame on Dribbble, <em>not</em> on solving pain points for a user. No amount of cartoon-weather-zombies will have any effect on the accuracy of the weather info. Sadly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*Iutg-811456fJOPy.jpeg" /><figcaption>Sadly no longer available on the App Store, but nope I did <strong><em>not</em></strong> make this one up (“Weather Zombie” by Lycos Inc.)</figcaption></figure><p>But we’re not here to talk about weather apps, so what about blockchain apps? Why aren’t there many examples of <em>them</em> springing up in portfolios? Why do conference talks about blockchain apps contain a lot of bullet points of things that you <em>should</em> do, but very few examples of apps that speaker has designed? My cynical answer is that right now it’s a lot easier to speak vaguely about the importance of “instilling trust through UX” or “designing with immutability and permanence in mind” than it is to draw a blockchain app. Why is this? Why aren’t designers of weather apps trapped in the same limbo of bullet-pointed slides opining the importance of “embracing the linearity of the water-cycle” or “evoking the feeling of warmth”?</p><p>My short answer: <strong>well-established, readily-available domain-level APIs</strong>.</p><p>In my longer answer, I shall explain what that means ;)</p><p>If you want to write a blockchain app, you typically hit an immediate stumbling block: where do I get hold of some data, on a blockchain, about the subject I want to make an app for? Say I want to make an app that tracks the shipment of watermelons across the globe: where do I get the info that I will render in my app? Where is the data about watermelon shipping located, and how can I get API access to it?</p><p>Often, the answer is “that API isn’t available yet”. Grudgingly, app developers must now start to learn <em>smart contract</em> development first, to define the manner in which watermelon information is stored in a blockchain ledger and interacted with via transactions like “receiveWatermelon” and “recordMelonRipeness”. (Look, I’m not an expert on watermelon supply chain, ok?)</p><p>In fact, in a recent conference talk, I uttered the phrase “the first thing many blockchain developers will code is a smart contract”. I went on to demo the work my team is doing on a VSCode extension for smart contract development (shameless plug, you should check it out: <a href="https://marketplace.visualstudio.com/items?itemName=IBMBlockchain.ibm-blockchain-platform">https://marketplace.visualstudio.com/items?itemName=IBMBlockchain.ibm-blockchain-platform</a>).</p><p>The important thing to remember is that “developers will start with smart contracts” is a point-in-time statement. There <em>was</em> a time when anyone designing or developing a weather app would first had to solve the problem of “how can my app actually get at some data about the weather?”. Today, well…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SjzFZ5o2lavyDTE5mpvZug.png" /><figcaption>Weather APIs abound in a quick Google search</figcaption></figure><p>In fact, going back to Weather Zombie, notice that little detail on the screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*AKtvpYpb8SsfVvKIe2XrEw.png" /><figcaption>Thanks, AccuWeather.com!</figcaption></figure><p>Right now, these sources of information are not as readily discoverable and usable for blockchain app developers. We’re still in the age where the equivalent would be every weather-app-developer also learning how to set up a rudimentary weather-station in their back garden.</p><p>But we’re already seeing evidence that this will change, as production enterprise blockchain networks establish a foothold. IBM’s Jerry Cuomo recently stated that there are now 100 such active networks running on IBM Blockchain Platform (catch the full talk here: <a href="https://www.ibm.com/events/think/watch/replay/120181706/">https://www.ibm.com/events/think/watch/replay/120181706/</a> — it also includes my previously cited bit about developers). As networks establish themselves across a wide variety of industries, it’s a reasonable prediction that we’ll see the following things happen in the future:</p><ol><li>There will be more blockchain networks</li><li>There will be <em>even more</em> blockchain networks</li><li>“Crap, did we actually need this many blockchain networks? There are, like, 12 different watermelon-tracking networks now!”</li><li>“Ok, let’s consolidate our networks and join them together — blockchain is all about establishing shared sources of truth after all”</li><li>There will be fewer individual blockchain networks, but with larger groups interested in each one</li><li>“Hmmm, what if we opened up API access to these networks, not at a level of <strong>blocks</strong> and <strong>states</strong>, but in terms of business-level abstractions like <strong>shipWatermelon</strong> and <strong>tradeCommercialPaper</strong> and <strong>transferTicketOwnership</strong>?”</li><li>Blockchain devs will shift from mostly writing smart contracts to mostly writing apps that consume business-level APIs</li><li>“Watermelon-tracker Zombies” will be released on the app store</li></ol><p>You see? It’s inevitable.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7bd4edfdc86f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Key Components of IBM Blockchain Platform: Part 1]]></title>
            <link>https://medium.com/@edmoffat/key-components-of-ibm-blockchain-platform-part-1-8323019b92b5?source=rss-36d35ade78d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/8323019b92b5</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ibm]]></category>
            <category><![CDATA[hyperledger]]></category>
            <category><![CDATA[hyperledger-fabric]]></category>
            <category><![CDATA[ibm-blockchain-platform]]></category>
            <dc:creator><![CDATA[Ed Moffatt]]></dc:creator>
            <pubDate>Fri, 12 Oct 2018 10:27:23 GMT</pubDate>
            <atom:updated>2018-10-12T10:27:23.458Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mU1tuY8MEptT3-SCQ__bYw.png" /><figcaption>Today we’ll talk about Certificate Authorities!</figcaption></figure><p>Welcome to a new series of blogs in which I’ll be using my waffly, metaphor-and-pun-riddled prose style to explain some key components of IBM Blockchain Platform (IBP). I’m a designer working on IBP, so I spend a lot of time listening to users’ feedback and trying to make our products more useful and understandable. My theory is that this will mean I explain blockchain concepts in a different way to the usual tech blogger. So, if you’ve ever struggled to understand some of the concepts around IBM Blockchain Platform or Distributed Ledger Technologies in general, hopefully this series will help!</p><h3>IBP implements permissioned blockchain networks</h3><p>When you join a <em>permissioned</em> blockchain, your identity is important. A permissioned blockchain technology like Hyperledger Fabric (the one used as the backbone of IBP) relies on participants proving that they’re allowed to do things by proving who they are. The counter-example, an <em>unpermissioned</em> blockchain, relies on mechanisms like <em>Proof of Work </em>or <em>Proof of Stake</em> — it doesn’t matter who you are as long as you can prove that you’re contributing to the network by doing work (e.g. mining) or “spending” assets (e.g. gas). We won’t dwell on unpermissioned in this blog, but that should give you enough words to Google up some other articles if you’re interested to learn more!</p><p>A permissioned blockchain network collaboratively arrives at a set of rules about who can do what on the network. Some examples of the “who” include an individual or a company with many employees (often called an Organization in blockchain world). Examples of “what” include submitting transactions, endorsing transactions, contributing to smart contracts, or even updating the rules about who can do what!</p><p>A common way of proving identity is by using certificates. This is not a new Blockchain concept — it’s the usual business of public and private key pairs that again you can Google if you’d like to learn more, but won’t be covered in this blog. By now you’re probably thinking “what actually <em>is </em>this guy going to cover?!” Well, glad you asked…</p><h3>About this series</h3><p>This series will start by introducing 3 key <em>infrastructure</em> concepts in IBM Blockchain Platform, then we’ll move on to talk about 3 key <em>developer</em> concepts. The infrastructure articles are more for if you’re wondering “how do blockchain networks work, what do you need to run them” and are targeted primarily at someone who will be operating IBP infrastructure. The developer articles will be more like “how do I write code to make a blockchain do specific things” and is targeted primarily at someone who wants to write smart contracts or apps that use blockchain networks’ APIs.</p><p>Right, with the entire series foreshadowed nicely, let’s move on to our first infrastructure concept!</p><h3>Key infrastructure concept 1 of 3: Certificate Authorities</h3><p>Thanks to the intro-section of this blog, you know it’s important for individuals or companies participating in IBM Blockchain Platform (IBP) networks to be able to prove who they are. Certificate Authorities (CAs) are the means of doing this. A CA’s role is to issue certificates. With great authority.</p><p><strong>Metaphorical Example</strong></p><p>I, Ed, want to get into this hip new club downtown. It’s <em>so </em>hip and happenin’: I just <em>have</em> to get in. But its rules state that only people aged over 21 are allowed in. It’s hip to be responsible, so the club is very strict about checking everyone who wants to come in.</p><p>So, I make myself a certificate that says I’m over 21. Sweet — I should be allowed in now, right? Sadly, the club does not recognise the certificate as coming from a valid authority. Turns out their club only recognises IDs issued by UK (I live in the UK, see) Government departments, like a driving license or passport.</p><p>So, I go pick up my driving license, which I was issued by the DVLA, and return to the club. They let me in and I have a wonderful time.</p><p><strong>Real (Blockchain) Example 1 — An Individual User</strong></p><p>I, Ed, want to participate in a blockchain network. Make no mistake, it’s every bit as hip and happenin’ as that new club in the UK that you’ve been hearing so much about. To submit a transaction proposal to this blockchain network, I need a certificate. So, I go to one of the CAs that is registered with the network, get myself a certificate, and transact away.</p><p>Well, actually there’s a good chance that as an individual, I won’t know I’m “using a CA” or maybe even “proposing a blockchain transaction”. Say my bank and others share data about their customers’ loans on a shared, immutable ledger. This means that if I’ve got loans from several banks I could perhaps find all the information about them in one place rather than asking my way around all the different banks. I won’t ask for this info by directly “using blockchain” though. More likely, it will happen like this:</p><ul><li>I authenticate with my banking app to prove I have an account with the bank e.g. by scanning my fingerprint, or entering my ID and password</li><li>I press the “show me all my loans” button in the app</li><li>The banking app constructs a blockchain transaction (in this case more accurately a query of the ledger) on my behalf, uses the bank’s CA to get some certificates with which to sign it, and submits it to the blockchain network</li><li>The banking app receives a response containing the query results</li><li>The banking app renders this response in my mobile app UI and I get to see my loans</li></ul><p>As you can see, in this example I’ve used a CA and I’ve used a blockchain network, but as a user I didn’t really need to know that. All I know is that I asked my favourite bank to “show me all my loans” and they were usefully able to tell me about all the loans I have with all my banks. They sure are a hip, happenin’ bank.</p><p><strong>Real (Blockchain) Example 2 — An Organization</strong></p><p>I, CIO at EdBank, have heard the other UK banks are <em>killing</em> us in the market. It’s due to their new blockchain-powered apps that let customers check all their loans from all the banks in the consortium (a common name for a group of organizations that share business processes on a blockchain network). Gartner have described it as “both happenin’ and hip, not necessarily in that order”. EdBank needs to join this blockchain network.</p><p>Now the CIO won’t actually be the one doing the technical tasks to join the network, so lets pan the camera down a few floors to where the DevOps department sit. They’ll need to join IBM Blockchain Platform, and set up a CA for EdBank. (Their architectural design may require they have multiple CAs, but they’ll definitely need at least one!). When EdBank requests to join the hip, happenin’ bank loans network, acceptance of that request means registering their CA(s) with the network, and saying “this network will now recognise certificates from this CA”. Of course the consortium will still need to agree what things EdBank is allowed to do on the network, but the first step is done: EdBank has a recognised CA that means their transactions can be recognised, and they’re now part of the permissioned network.</p><p>That’s all for this time! Next time we’ll talk about either the Ordering Service of Peers — whichever seems more logically like the next one to talk about once I start writing the next blog!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8323019b92b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Non-Architect’s Guide to Blockchain Architecture]]></title>
            <link>https://blog.prototypr.io/a-non-architects-guide-to-blockchain-architecture-eb68360ad350?source=rss-36d35ade78d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb68360ad350</guid>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[hyperledger]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[composer]]></category>
            <dc:creator><![CDATA[Ed Moffatt]]></dc:creator>
            <pubDate>Fri, 09 Feb 2018 15:01:02 GMT</pubDate>
            <atom:updated>2018-02-09T16:44:28.039Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m not a technical architect. Are you? If yes, you may find this simplified attempt at explaining blockchain architecture… excruciating. If no, you may find that it helps you better understand the basics. Either way, you <em>will</em> find my jokes excruciating.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*be07jJblFJRd0E_hGBjjYQ.png" /><figcaption>Grab a coffee, it’s time to learn about the building blocks of blockchain networks!</figcaption></figure><p>If you’re building a blockchain solution, there are two main parts for you to think about: the blockchain <strong>network</strong>, and the blockchain <strong>code</strong>. In this article, we’ll explore each part in more detail — including some of the many different names you may hear them referred to by!</p><p>In a nutshell, the blockchain <strong>network</strong> is the infrastructure you need in place for a group of organisations to share data and processes together on a blockchain. The blockchain <strong>code</strong> runs on the blockchain network, and defines what the organisations who participate in the network can use it for.</p><h3>Hyperlegendary</h3><p>There are a bunch of different blockchain implementations, and writing an explanation that covers them all would get <em>super</em> complicated. So I’m going to focus on some technologies that are part of Hyperledger. This open-source blockchain project sits under the Linux Foundation, and is one of the more popular choices for private blockchains (ones where you only need a specific group of businesses involved, not everybody in the world). It’s the technology of choice for many tech companies who are building their own offerings and want to base them on stable, open-standards technology. Full disclosure, it’s the one that IBM (where I work) have chosen to get behind, so obviously <em>I </em>think it’s super awesome ;)</p><p>Also note that because we’re talking <em>private </em>rather than<em> public </em>blockchains, you should think more “companies that share a supply chain also sharing a blockchain” than “everyone in the world buying and selling crypto-kitties”.</p><h3>Pineapples and other precious commodities</h3><p>Everybody loves examples, right? Say there are 3 organisations that want to track pineapples as they pass along their supply chain; and 3 totally <em>different</em> organisations who want to trade corporate bonds with each other. I’m no expert on either pineapples <em>or </em>corporate bonds, but I think it’s fair to expect the contracts that govern the exchange of these 2 types of asset to be pretty different from each other. So the blockchain code these two groups of organisations use would be very different (we often call such groups “consortiums”, by the way).</p><p>The blockchain networks on the other hand may actually be very similar: each consortium has 3 organisations, and whatever type of business they’re doing, they’ll need similar things like an Ordering Service, Peers, Channels, Membership Services… If you don’t know what all those things mean, don’t worry: we’ll come back to that in a moment!</p><p>So in this example, blockchain networks: pretty similar. Blockchain code: very different.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*nFAFh9MqOd1tdrkoy-kCbA.png" /><figcaption>Exactly the sort of situation we seek to avoid via a shared, immutable ledger with blockchain ;)</figcaption></figure><h3>Blockchain Networks</h3><p>When you form a consortium with other organisations, and agree to “do some blockchain” together, you’re joining a blockchain network. Networks can be looked at in 2 ways: the organisations and people that form them, versus the technology infrastructure that those organisations share.</p><p>We’d best pick one of our two example consortiums to run with, and I think we can <em>all</em> agree that pineapples are way more likely to be that elusive “killer application of blockchain technology” than corporate bonds. So we’ll go with that one.</p><p>The 3 organisations are as follows:</p><ul><li>Pineapple Farm</li><li>Pineapple Courier</li><li>Pineapple Seller</li></ul><p>You may have heard blockchain described as a “shared, immutable ledger”. So we need a <strong>Ledger</strong>. In fact, we most likely need 3 ledgers: one each for the Farm, Courier and Seller. Typically, each organisation in the blockchain network will have their own copy of the ledger, and they are kept in sync with each other via some clever protocols. These copies of the ledger are stored on servers which are joined together in the technical layer of the blockchain network: we call them <strong>Peers</strong>.</p><p>Next, with everyone having a copy of the ledger, we need some central service to decide what gets written to it. You can’t just have the Farm updating <em>their</em> ledger however they like:</p><blockquote>“Oh yeah, we totally sent 500 boxes of pineapples Guv’. Mustv’e been the Courier wot mislaid ‘em!”</blockquote><p>(Yes, in this example the Pineapple Farm is located in South London).</p><p>Additionally, if two things happen in close succession, you need to agree what order they happened in. That’s why this central service is called the <strong>Ordering Service</strong>. Typically, the organisations will share one, and it handles deciding what transactions really occurred, and in what order they happened.</p><p>Now the Courier doesn’t just have one lorry driver. No, that would never do: the people of South London have a ravenous, unquenchable hunger for pineapples, and one lorry just couldn’t distribute them fast enough! The dozens of lorry drivers all need to make updates to the ledger. To make authenticating multiple users easier, each organisation will typically have its own <strong>Membership Services Provider </strong>(MSP) — this holds certificates for users that are allowed to access the blockchain network via the Courier’s <strong>Peer</strong>, and thereby ensures that only people who <em>should</em> be able to access the network can get in.<strong> (</strong>We won’t cover Peers explicitly here, but think of them as them as servers that are joined to the blockchain network and offer a point of access for the organisation they belong to.)</p><p>There’s plenty more to know about blockchain networks, but if you’ve understood this much then you’re off to a good start, and we’re ready to move on and talk about blockchain code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k_JY8No44MrsNz7ehTvvWA.png" /><figcaption>Diagram from the Hyperledger Fabric docs. Note what is clearly a Pineapple Lorry at the bottom.</figcaption></figure><h3>Blockchain Code</h3><p>Once you’ve got your blockchain network up and running, it’s time to agree what sort of business transactions can take place there. In the real world, the organisations would have legal contracts and agreements in place — that’s why blockchain code is sometimes referred to as <strong>Smart Contracts</strong>. Depending on the blockchain flavour you’re using, it could alternatively be called <strong>Chaincode</strong>, or in my personal favourite case a <strong>Business Network Definition</strong>.</p><p>That term is my favourite because it comes from Hyperledger Composer — if you’ve read my blog before, you’ll know I contribute extensively to this open source project for creating blockchain code using models and JavaScript functions.</p><p>Our Pineapple Consortium are big fans of Composer too, so they’ve written a Business Network Definition to deploy to their blockchain network: it constitutes a shared agreement of the rules by which they will do business on the blockchain. They define their roles on the network as <strong>Participants</strong>: Farm, Courier and Seller. Next, they define the <strong>Assets</strong>: Pineapples. Finally, there are some <strong>Transactions</strong>: things that can happen to update the status of the Assets which are of importance to some or all of the organisations in the network. For example, they might define “load pineapples onto lorry”, “deliver pineapples to seller”, “sell pineapple to customer” etc.</p><p>Next comes the fun (if you enjoy JavaScript) part: for each of their Transactions, they write a <strong>Transaction Processor Function</strong>, which codifies the things which must take place when it is invoked. Again, think of this like a contract: if the Courier wants to say that they’ve “delivered pineapples to seller”, how do they need to prove this, who needs to agree, and what will happen as a result? Most likely there will also be a “receive pineapples from courier” transaction plus <strong>access controls</strong> to make sure that only the correct <strong>Participant</strong> can trigger each of these <strong>Transactions</strong>. So, when some pineapples are delivered, we’d need:</p><ul><li>Courier (Participant) invokes “delivered pineapples to seller” (Transaction)</li><li>Seller (Participant) invokes “received pineapples from courier” (Transaction)</li><li>The ledger (accessible by all) now clearly shows that the pineapples changed hands</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GAFt44hdflBgMoyW3rMOiw.png" /><figcaption>Diagram from the Hyperledger Composer docs. Disappointing lack of pineapple references.</figcaption></figure><h3>Putting it all together</h3><p>With the blockchain code written, the consortium can deploy it onto their blockchain network. They now have a shared immutable ledger where they can securely update data that they all agree in accordance with processes (contracts) that they all agree on.</p><p>So how has business changed for our Pineapple Consortium? Any individual asset can be traced back through the entire supply chain in one place: if some dodgy pineapples make consumers ill, there’s no need to call up multiple companies and check multiple separate records to figure out where they came from: the Seller can just check on the ledger, and know that what they’re seeing matches what the Courier and Farm would see.</p><p>And in the case of the the Farm blaming the Courier for losing those 500 boxes of pineapples, blockchain can also help. By checking whether the “give pineapples to Courier” and “receive pineapples from Farm” transactions took place, we know the single truth that the organisations all agree happened. If we’re missing the “receive pineapples from Farm” transaction in the ledger, the blame rest firmly and un-arguably with the Farm: no more “my records say we never received them”, “well <em>my</em> records say you did!”.</p><p>All in all, everybody is able to enjoy their pineapple-trading with trust, confidence and responsibility. A big boost for the South London Piña Colada industry.</p><p>That’s it for our whirlwind introduction. If you’d like to learn more about these concepts, then I recommend Hyperledger Fabric and Hyperledger Composer as excellent tools to read up on!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Ff51076%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Ff51076%2F&amp;image=http%3A%2F%2Fapi.screenshotlayer.com%2Fapi%2Fcapture%3Faccess_key%3Dfe59908dad3baab69ffab249a2224b03%26viewport%3D1024x612%26width%3D1000%26url%3Dhttps%253A%252F%252Fupscri.be%252Ff51076%253Fscreenshot&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/b85dfbb5286d8a25cf2e754b9462cf45/href">https://medium.com/media/b85dfbb5286d8a25cf2e754b9462cf45/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb68360ad350" width="1" height="1" alt=""><hr><p><a href="https://blog.prototypr.io/a-non-architects-guide-to-blockchain-architecture-eb68360ad350">A Non-Architect’s Guide to Blockchain Architecture</a> was originally published in <a href="https://blog.prototypr.io/">Prototypr</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Know any good Blockchain jokes?]]></title>
            <link>https://medium.com/@edmoffat/know-any-good-blockchain-jokes-cea789b432b2?source=rss-36d35ade78d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/cea789b432b2</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[comics]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[hyperledger]]></category>
            <dc:creator><![CDATA[Ed Moffatt]]></dc:creator>
            <pubDate>Tue, 30 Jan 2018 23:47:03 GMT</pubDate>
            <atom:updated>2018-01-31T09:25:47.684Z</atom:updated>
            <content:encoded><![CDATA[<p>No? Me neither, but that hasn’t stopped me producing a Blockchain web comic ;)</p><p>Full of the kind of cringe/groan-inducing puns that only massive blockchain geeks <em>might</em> laugh at, <strong>Conga Comics </strong>is definitely of somewhat niche appeal! But as it happens, the community of developers and designers behind the Hyperledger Composer open-source project share the same awful sense of humour!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S9rf9ZH3maZeDWjFx3ur2A.jpeg" /><figcaption>The very first Conga Comic: a truly historic moment</figcaption></figure><h3>What’s with the little cube things?</h3><p>When I started working on Composer at the tail end of 2016, one of the first things I doodled was “the Conga Blocks”. I’d seen a lot of blockchain project logos that were variations of squares or cubes in a row, and I thought it’d be fun to stick faces on them and make it look like they’re dancing in a conga line:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/1*z0fEQ1rbCzKHrI9Q1pXHzA.png" /><figcaption>The Conga Blocks: unofficial mascots of Hyperledger Composer</figcaption></figure><p>Pretty soon they were appearing in slide decks, on mouse-mats, mugs, laptop stickers… In our little open-source community, the Conga Blocks were hot property. It was only a matter of time before they got their own web comic.</p><h3>The writing process</h3><p>We use Slack a lot at work, and so naturally there is a #conga-comics channel. Here, new ideas can be shared by anyone in the team, and if they get a suitable response, they’re good to go:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qgcyCePwzQ1kMwI9NTTRJg.png" /><figcaption>Creative genius in action</figcaption></figure><h3>Show me more comics!</h3><p>You don’t want to read prose, right? You’re here for the comics! Ok, lets have a few more — these are some of my favourites so far:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qNAN8CJI-HWLGGdYLoi69A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ufFakIUU-xHwhy38yzeDNw.jpeg" /></figure><p>By now you’re probably hooked on Conga Comics, right? Want to know where you can get new issues?</p><p>Well, there’s a new Conga Comic with every set of release notes for Hyperledger Composer. you’ll find the project release notes here: <a href="https://github.com/hyperledger/composer/releases/">https://github.com/hyperledger/composer/releases/</a></p><p>An even better way to stay up to date though might be to follow some of the team on Twitter. I’m <a href="http://twitter.com/epjmoffatt">@epjmoffatt</a> over there :)</p><h3>Wait, I need more comics!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MZ39owMUgfOXQL8npyhipw.png" /></figure><p>You can check out the full archive of Conga Comics at <a href="http://congacomic.tumblr.com/">congacomic.tumblr.com</a>!</p><p>If you’ve got any favourite strips, or ideas you’d like to submit, I’d love to hear them! I just finished drawing this Thursday’s comic, and it’s my favourite one so far — be sure to check it out ;)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cea789b432b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Open Source Blockchain Design Story]]></title>
            <link>https://blog.prototypr.io/an-open-source-blockchain-design-story-d39d17f36371?source=rss-36d35ade78d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/d39d17f36371</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Ed Moffatt]]></dc:creator>
            <pubDate>Wed, 17 Jan 2018 17:20:08 GMT</pubDate>
            <atom:updated>2018-01-17T17:56:10.734Z</atom:updated>
            <content:encoded><![CDATA[<p>Hyperledger Composer is an open source Blockchain project. It’s a way for application developers to mirror real-world behaviours (e.g. supply chains, commodity trades…) as models, and then script transactions in JavaScript.</p><p>It has a bunch of other stuff going for it, but in a nutshell that’s what you get: simpler modelling (which in turn leads to simpler APIs and simpler integration) plus some lovely JavaScript.</p><p>Every week, the team delivers a new build of Composer, and if you’re interested, a fun place to start is the web Playground: <a href="http://composer-playground.mybluemix.net/">http://composer-playground.mybluemix.net/</a></p><p>Anyhow, that’s quite enough intro to Composer! What I thought I’d share is a little glimpse into some of work that I and the other Designers who contribute to the Composer project do.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*My9i4Eyu9PLZ9NOcdnswKA.png" /><figcaption>Composer Playground’s “My Business Networks” panel today</figcaption></figure><p>If you clicked on that tasty web Playground link earlier, you may already have seen the panel in the above screenshot. This is what the product looks like today… But it didn’t always look that way! Originally, it wasn’t possible to work on multiple Business Networks in the Playground, so when we made that possible, we had to think about how to expose the function to users.</p><p>Lets take a look at some of the options we considered…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QTsfcWVIjRXA8q7oF5b7Ew.png" /><figcaption>Option 1: Connections panel in the main UI</figcaption></figure><p>The most obvious solution was to add a new panel to the existing UI navigation, where users would manage and switch their connection profiles, IDs, and Business Networks. If you don’t know what all those things are, don’t worry: you’re probably not alone! Basically, they’re the 3 bits of information you need to know what blockchain you’re trying to access and what proof you’re offering that you’re allowed to access it.</p><p>The thing is, with 3 bits of info to pass in, flows became complicated. When switching between them, things got particularly painful, with the UI needing to prompt the user for multiple bits of info in phases…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k2K-h6gOkW0UN4969RvBbg.png" /><figcaption>Step 2 in the flow, after selecting a connection profile, and before picking a business network</figcaption></figure><p>Little aside… In case you’re wondering what these mockups were made with? That’s Adobe XD (eXperience Design) you’re looking at. It’s one of my favourite tools because it’s got really stripped-back features for creating your wireframes (“elegantly minimal”!) plus it lets you easily share clickable wireframes online, and viewers can leave comments on each panel, all from within the one application.</p><p>That’s enough evangelising for Adobe XD, lets move on… (Tho if anyone from Adobe is reading and wants to send me some XD swag, I’m a Medium men’s t-shirt, and I like laptop stickers ;) ).</p><p>Ahem.</p><p>So, the team weren’t really feeling that first idea. Wireframing it out helped us realise that the most obvious UX solution didn’t feel very satisfying… So, time to explore other ideas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lle9fZ6Rm_S3ZFM7lFnmTg.png" /><figcaption>Option 2: Connection Profiles pulled out to a higher level</figcaption></figure><p>When having too many variables to concurrently set within a one-level UI hierarchy is getting you down… Why not try adding a second level to the hierarchy! That’s exactly what I did in option 2: pulling Connection Profiles out into a kind of “landing-screen”.</p><p>This felt better, but it got us all talking and whiteboarding: as soon as we had the idea of another level in the hierarchy, we realised there were more funky things we could do with it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BOjLe1xCBGkZD-jka1sjIw.png" /><figcaption>Option 3: My Wallet</figcaption></figure><p>Option 3 is where we started getting close to the final design. The names of things changed, and my colleague <a href="https://medium.com/u/54293ec42947">Sam Winslet</a> took over to handle the Visual Design, but you can see here that we had the idea of bundling all 3 pieces of information into what ended up a “Business Network Card”, then having the user manage these on the “My Business Networks” screen, as well as clicking them to dive into an individual network.</p><p>To me, this is a great example of why we do Design at low fidelity: we got everyone in the team discussing ideas, and came out with an interesting solution that improved our product. We didn’t end up just changing the UI, we also updated our APIs and introduced new concepts to the product.</p><p>Hopefully this article has shown that open source projects are not just for Developers — Designers can get involved too! If you’d like to come join me discussing or working on Composer, head on over to Git and get stuck in! <a href="https://github.com/hyperledger/composer">https://github.com/hyperledger/composer</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d39d17f36371" width="1" height="1" alt=""><hr><p><a href="https://blog.prototypr.io/an-open-source-blockchain-design-story-d39d17f36371">An Open Source Blockchain Design Story</a> was originally published in <a href="https://blog.prototypr.io/">Prototypr</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>