<?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 Artus Vranken on Medium]]></title>
        <description><![CDATA[Stories by Artus Vranken on Medium]]></description>
        <link>https://medium.com/@artusvranken?source=rss-f2d787f7a148------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*VIumPGVJJ21BQGcHekkCUw.png</url>
            <title>Stories by Artus Vranken on Medium</title>
            <link>https://medium.com/@artusvranken?source=rss-f2d787f7a148------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 09:55:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@artusvranken/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[Monopoly: Innovative functionality edition]]></title>
            <link>https://medium.com/hackernoon/monopoly-innovative-functionality-edition-c449df007678?source=rss-f2d787f7a148------2</link>
            <guid isPermaLink="false">https://medium.com/p/c449df007678</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <dc:creator><![CDATA[Artus Vranken]]></dc:creator>
            <pubDate>Sat, 06 Oct 2018 15:49:07 GMT</pubDate>
            <atom:updated>2019-04-23T06:43:48.344Z</atom:updated>
            <content:encoded><![CDATA[<h4>How innovative ideas and functionalities get “stolen” by big companies.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1S_92A59hHMnbMRSz1Q_Ng.jpeg" /><figcaption><a href="https://www.pexels.com/photo/monopoly-board-game-on-brown-wooden-tabletop-776654/">Image from Pexels</a></figcaption></figure><p>Like most people, I like to sin by <em>not </em>limiting my screentime before going to sleep. So as I was playing around on my laptop in bed, the screen was too bright. Luckily, a <a href="https://justgetflux.com/">nice little piece of software</a> exists that will alter my screen so that it is nice and easy on my eyes in dark environments. My phone, connected to the charger on the other side of the room, lighted up and the dopamine-inducing text alert urged me to get up and go look at it. Again, luckily, <a href="https://mightytext.net/">another nice little piece of software</a> exists that allows me to check my messages and calls directly from my laptop, which was resting cozily on my lap.</p><p>The message was about the current project at work, reminding me to get some sleep in order to be fresh and ready to tackle the challenges that I would encounter at work the next day. Oops, I almost forgot: I have to make a reservation for the team lunch tomorrow! I quickly <a href="https://www.yelp.com/">checked</a> the<a href="https://www.tripadvisor.com/"> ratings</a> and <a href="https://www.openinghours-shops.com/">opening hours</a> of several bars and restaurants near my workplace. I made the reservation and went to sleep. <em>“Hey Google, turn off the lights”</em>.</p><p>The next morning I wake up by sipping on my coffee while browsing Reddit, and wow, that’s a nice picture of a mountain range! Wondering where this might be, I open the comments but the location is nowhere to be found. No worries, a quick <a href="https://www.tineye.com/">reverse image search</a> points me to the original one and the list of breathtaking locations I should visit just gained a new entry. Getting ready to depart to work, I just have to <a href="https://waze.com/">check out the traffic</a> so that I know how to evade those tedious traffic jams.</p><p>Due to <a href="https://hackernoon.com/tagged/technology">technology</a>, our lives have become a lot easier. Our smartphone is now an <a href="https://www.theverge.com/2016/6/2/11837854/neural-lace-cyborgs-elon-musk">extension of our brain</a>, and, let’s face it, we could not live without it. Or at least, don’t <em>want </em>to live without it. Performing our day to day tasks has become just so much more effective, and most of this is due to new and innovative <a href="https://hackernoon.com/tagged/apps">apps</a>, ideas and functionalities.</p><p>Every year, thousands of startups try to conquer the market with their new, groundbreaking products, and only a few of them really do make it. But unfortunately, a scare trend is becoming something normal: big tech companies adopt a lot of these new technologies, and the original inventors don’t always get the profit.</p><p>For every product I mentioned in the introduction, one of the big tech companies has created their own alternative product to replace it. And because more people use their products, consumers will not go through the hassle of installing a third-party app when their device offers them the same functionality by default. Let’s take a look:</p><ul><li><a href="https://en.wikipedia.org/wiki/F.lux">F.lux</a> came out in 2009. On April 11 2017, Microsoft rolled out the Creators Update for Windows 10, which included <a href="https://www.howtogeek.com/302186/how-to-enable-night-light-on-windows-10/">nightlight</a>. <a href="https://support.apple.com/en-ph/HT207570">iPhone</a>, <a href="https://support.apple.com/en-us/HT207513">MacOS, </a>and <a href="https://www.howtogeek.com/270552/how-to-enable-a-night-mode-in-android-to-reduce-eyestrain/">Android </a>also support similar functionality.</li><li>MightyText was founded in 2011. Again, with the Creators Update of Windows 10, users can <a href="https://www.tomshardware.com/news/how-to-reply-android-sms-windows-10,36750.html">connect their phones to their computers and send/receive text messages from there</a>. Android also offers<a href="https://messages.android.com/"> similar functionality</a>, and MightyText <a href="https://blog.mightytext.com/mightytext-versus-android-messages-5628a43a6b53">wrote a blog post to distinguish themselves</a>.</li><li>Yelp and TripAdvisor both offer a platform where users can rate and comment on a businesses service. Google now <a href="https://developers.google.com/search/docs/data-types/review">offers this by default</a>, and a quick Google search of any business will not only provide the search results, but also a list of ratings from previous customers.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/0*tNYhCbbfXHewMEZ_.png" /></figure><p>But restaurants and pubs are not the only things that Google shows ratings for; Every kind of business can be rated on the platform. Google now also supports looking for a place to stay. They still point you to the popular booking websites, but the incentive to visit them in the first place is disappearing. By the way: they also show the opening hours, which brings us to the next item on the list. 🎉🎉</p><ul><li>Various websites for checking opening hours exist, but now Google also provides this information, preventing the need of consumers to visit the third-party alternatives.</li><li>TinEye started in 1999 as a company called <em>Idée Inc</em>. They claim to be the first <a href="https://en.wikipedia.org/wiki/TinEye#History">web-based image search engine to use image identification technology</a>. Again, their primary service being a search engine, Google adopted this feature into their own product. As with all products that are similar, each has <a href="https://www.greenlanemarketing.com/blog/reverse-image-search-tools-compared/">their pros and cons</a>.</li><li><a href="https://en.wikipedia.org/wiki/Waze">Waze </a>is a great GPS app that provides you with the information you need to make your commute or driving experience as optimal as possible. Luckily for them, Big Tech did not choose to just copy them, but they were acquired by Google in 2013. Waze is still available as an app, and Google Maps <a href="https://en.wikipedia.org/wiki/Waze#Google_subsidiary_(2013%E2%80%93present)">uses some of their technology</a>.</li></ul><p>The list is endless and it’s unnecessary to keep summing up examples; It might look that I’m trying to say that big tech companies adopting innovative functionality as a native feature is a bad thing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j4zd8LMVFaPa6UUSbXm04w.jpeg" /><figcaption><a href="https://quotefancy.com/quote/916689/Thomas-A-Edison-Continued-innovation-is-the-best-way-to-beat-the-competition">Image from QuoteFancy.</a></figcaption></figure><p>Of course it’s not a bad thing. At least, that is, not for us: the consumers. Every time a big company adds functionality to their products that in the past required us to turn to third-party alternatives, our lives become easier. The only downside is that sometimes, people and companies coming up with innovative ideas will be pushed aside. But there is not a lot they can do against it; <a href="http://www.ipwatchdog.com/2014/02/15/protecting-ideas-can-ideas-be-protected-or-patented/id=48009/">You can not patent ideas</a>.</p><p>What you can do though, is delivering a product that is so good at what it does, that bigger companies will want to buy yours instead of trying to come up with their own version.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fdde502%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fhackernoon%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href">https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c449df007678" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/monopoly-innovative-functionality-edition-c449df007678">Monopoly: Innovative functionality edition</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Make the apps of tomorrow with blockchain technology of today]]></title>
            <link>https://medium.com/wearetheledger/make-the-apps-of-tomorrow-with-blockchain-technology-of-today-efe6ba450a96?source=rss-f2d787f7a148------2</link>
            <guid isPermaLink="false">https://medium.com/p/efe6ba450a96</guid>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[decentralization]]></category>
            <category><![CDATA[application]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Artus Vranken]]></dc:creator>
            <pubDate>Wed, 06 Jun 2018 07:38:40 GMT</pubDate>
            <atom:updated>2018-06-06T10:11:24.371Z</atom:updated>
            <content:encoded><![CDATA[<h4>The introduction and enforcement of <a href="https://www.eugdpr.org/">GDPR</a>, the ever-changing rapid evolution of the software-development eco-system and the rise of blockchain technology; how can developers of today take advantage of the technology that will shape the (IT) world of tomorrow?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/0*vOML02-4EDRFErfx.png" /><figcaption><a href="https://github.com/search?q=Blockchain+created%3A%3C2018-06-05&amp;type=Repositories">https://github.com/search?q=Blockchain+created%3A%3C2018-06-05&amp;type=Repositories</a></figcaption></figure><p>On the 31st of October, 10 years will have passed since the publication of the <a href="https://en.wikipedia.org/wiki/History_of_bitcoin#Creation">bitcoin-whitepaper</a>. In that timespan, blockchain has become the next big thing, some people even referring to it as <a href="https://medium.com/@markymetry/blockchain-technology-is-the-most-significant-invention-since-the-internet-and-electricity-f2d44a631ef6">an invention which impact will match that one of the invention of the internet</a>.</p><p>Although different cryptocurrencies (<a href="https://en.wikipedia.org/wiki/List_of_cryptocurrencies">1565 different ones, and growing, as of 10 April 2018!</a>) are a big part of the blockchain ecosystem, for developers the real power lies in the possibility to implement decentralized software instead of developing stacks the old way; <a href="https://medium.com/@cdixon/why-decentralization-matters-5e3f79f7638e">Decentralization matters</a>. In this article, we will look at some development stacks to get you started with developing applications that run (<a href="https://ethereum.stackexchange.com/questions/11928/what-elements-of-a-dapps-backend-are-usually-stored-in-a-decentralised-location">mainly</a>) on blockchain technology.</p><blockquote>Every stack will need a UI layer, mostly a front-end framework. I’m not going to impose a specific one, there are already enough <a href="https://en.wikipedia.org/wiki/Browser_wars">technology</a> <a href="https://pypl.github.io/IDE.html">related</a> <a href="https://en.wikipedia.org/wiki/Editor_war">wars</a>.</blockquote><h3>Traditional development stacks</h3><p>You’ve probably heard about <a href="https://www.annatech.com/blog/editorials/a-short-unofficial-history-of-the-lamp-stack.html">LAMP </a>or <a href="http://mean.io/">MEAN</a>, which are great development stacks… if you’re building centralized apps. Don’t get me wrong, centralized apps are great too; You wouldn’t build your personal website on a blockchain platform such as <a href="https://blockstack.org/">Blockstack</a>… <em>or would you</em>?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/0*ovBAvEsNRYWY1KJJ.jpg" /><figcaption><a href="https://codecondo.com/mean-stack-vs-lamp-stack/">https://codecondo.com/mean-stack-vs-lamp-stack/</a></figcaption></figure><p>If you are trying to get accustomed to using blockchain technology, the amount of options to explore is astounding. And confusing. The field of blockchain is a wide one, so you’ll have to look for a technology that fits your purpose.</p><blockquote>One thing to keep in mind that data on a blockchain is immutable, so never push personal, sensitive or data covered by GDPR on a blockchain network!</blockquote><h3>Some different blockchain technologies</h3><p>There are a lot of blockchain platforms that you can integrate into your app, and each has its own benefits and/or purpose. There are a lot of differences between blockchain platforms. One difference is some platforms are public and some are permissioned. A <em>public </em>blockchain is a blockchain network that anyone can connect to, as opposed to a <em>permissioned </em>blockchain is a blockchain network where each node needs to be authorized by the network to enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/0*3RxGnYjtmDt-7UNp" /><figcaption><a href="https://www.bigchaindb.com/">https://www.bigchaindb.com</a></figcaption></figure><h4>BigchainDB</h4><p>BigchainDB is a great technology for beginners to get accustomed with integrating blockchain in your app. If you want to know more about BigchainDB, checkout <a href="https://medium.com/wearetheledger/internship-at-theledger-9d712f12658b">my article</a>! BigchainDB focuses on assets and transactions. An asset is any object you want to store on the blockchain. By using transactions, you can update the <em>‘state’</em> of the asset by appending new information. They have great <a href="https://docs.bigchaindb.com/en/latest/index.html">documentation </a>and a lot of <a href="https://docs.bigchaindb.com/projects/server/en/latest/drivers-clients/">drivers </a>to interact with a node. You can find resources on getting started with BigchainBD <a href="https://www.bigchaindb.com/developers/getstarted/">here </a>and <a href="https://medium.com/wearetheledger/bigchaindb-a-hands-on-approach-42e1d3b4e7a">here</a>.</p><figure><img alt="Image result for hyperledger" src="https://cdn-images-1.medium.com/proxy/1*NWdPPj6NvicKqZUq9MMlmA.png" /><figcaption><a href="https://www.hyperledger.org/">https://www.hyperledger.org/</a></figcaption></figure><h4>Hyperledger</h4><p>Hyperledger is not one big blockchain platform but actually <a href="https://www.hyperledger.org/projects">a collection of blockchain frameworks</a>, like <a href="https://www.hyperledger.org/projects/fabric">fabric </a>or <a href="https://www.hyperledger.org/projects/sawtooth">sawtooth</a>, with each their own special purpose or focus. Hyperledger Fabric is a platform where you can write Turing-complete chaincode to create enterprise applications. Sawtooth’s focus lies more on supply-chain. Choose whichever fits your needs, <a href="https://medium.com/swlh/hyperledger-chapter-1-foundation-7ad5bd94d452">do some research</a> and get started!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KyFujf5l8Y9CLY22.png" /><figcaption><a href="https://www.blockstack.org/">https://www.blockstack.org</a></figcaption></figure><h4>Blockstack</h4><p><a href="https://blockstack.org/faq">Blockstack</a> is a collection of technologies that aim to bring you the decentralized internet of tomorrow. On the blockstack network, each user has complete control of all his or her own data. Another great advantage of Blockstack is that the technology handles all <a href="https://github.com/blockstack/gaia">data storage</a> and <a href="https://blockstack.org/docs/blockstack-profiles">authentication</a>/authorization, so you (the developer) can focus on making your app great. It also has <a href="https://blockstack.org/docs">great documentation</a> and <a href="https://blockstack.org/tutorials">a whole collection of tutorials</a> to get you started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*4xVDsK8Y3xEj8za6.png" /><figcaption><a href="https://ipfs.io/">https://ipfs.io</a></figcaption></figure><h4>IPFS</h4><p>The InterPlanetary FileSystem is actually not a blockchain, but it’s a great candidate for data- or file storage in combination with a blockchain platform. It can be compared to the P2P BitTorrent protocol, where peers share files in a decentralized manner. The <a href="https://ipfs.io/docs/">documentation</a> and <a href="https://ipfs.io/docs/examples/">examples </a>are on point, probably the reason that there are already some great apps built on IPFS, like <a href="https://about.d.tube/">DTube</a>.</p><figure><img alt="Image result for ethereum" src="https://cdn-images-1.medium.com/proxy/1*-nq00ccRANqL3CnTejQvqA.png" /><figcaption><a href="https://www.ethereum.org/">https://www.ethereum.org</a></figcaption></figure><h4>Ethereum</h4><p>If we’re talking about decentralized apps, god forbid I forget to talk about Ethereum. It’s designed especially for developing <a href="https://blockgeeks.com/guides/dapps/">Dapps</a>, by deploying smart assets, which are pieces of code that run in a decentralized way on the Ethereum network. They even created a new programming language, <a href="https://solidity.readthedocs.io/en/v0.4.24/">Solidity</a>, for writing these smart contracts. Read the <a href="http://www.ethdocs.org/">documentation </a>and start writing Dapps by looking at the example <a href="https://ethereum.org/token">here</a>!</p><h3>Blockchain development stacks</h3><p>By combining different blockchain platforms or technologies you can create powerful development stacks that will help shape the internet of tomorrow. We’ll look at some example stacks that can help you kickstart your journey into decentralization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*955TxYble30Bzyx9d8J92g.png" /><figcaption>A decentralized development stack by <a href="https://www.bigchaindb.com/">BigchainDB</a>.</figcaption></figure><h4>Blockchain stack for beginners</h4><p>A traditional app consists of several different layers; Generally, you’ll need/use a UI layer, a back-end layer, and a data storage layer. When developing a decentralized app you’ll probably use the same layers, but some layers will be replaced with a decentralized or blockchain related technology. Luckily, we’ve seen a technology that provides an (almost full) stack that you can use in a lot of projects: Blockstack!</p><p>This stack is great because you don’t need to write code to integrate a lot of different technologies together. You just design the UI and write the logic that will store and retrieve data from the Blockstack storage layer.</p><ul><li>Front-end framework for UI and business logic</li><li>Blockstack for all underlying layers</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*khwJ9vLjy5uUDmipnSH9bg.png" /></figure><h4>Blockchain stack for working with personal data</h4><p>Sensitive personal data can <em>never </em>be stored on a blockchain because data on a blockchain is immutable and this could pose some <a href="https://medium.com/wearetheledger/the-blockchain-gdpr-paradox-fc51e663d047">serious issues related to GDPR</a>. The fines for GDPR related infringements are as high as “ <a href="https://en.wikipedia.org/wiki/General_Data_Protection_Regulation#Sanctions"><em>up to €20 million or up to 4% of the annual worldwide turnover of the preceding financial year in case of an enterprise</em></a>”. <em>Yikes</em>!</p><p>Therefore, we can prevent infringements by storing sensitive personal data outside of our blockchain network, and refering to the files/data by its <a href="https://en.wikipedia.org/wiki/Cryptographic_hash_function">hash</a> on the blockchain. This way, we still provide the trust and certainty ensured by blockchain by looking at changes in the hash of the file.</p><ul><li>Front-end framework for UI and business logic</li><li>BigchainDB or Hyperledger for storing hashes of data or files</li><li>Separate storage where data can be updated and/or removed</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*NGPBPvQLKH-lwzMEvZkmGw.png" /></figure><h4>Blockchain stack for large files or huge amounts of data</h4><p>Blockchains are great, but there is some overhead. Therefore, it’s generally considered not a good idea to store large files on a blockchain network. We can solve this problem in the same way that we solved the personal data issue previously, but this time by using IPFS; We store files on IPFS and reference them by hash on our blockchain network. This time we aren’t using GDPR-sensitive data, so we can store our files or data on IPFS. This way, our app is still a bit more decentralized than when using a regular storage server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*0sm-e7I1nDB_E8iCLrHvHQ.png" /></figure><h4>Blockchain stack for public use with permissioned blockchains</h4><p>When writing business logic in a front-end application, all your code is exposed. This makes for some security risks when interacting with <a href="https://www.coindesk.com/information/what-is-the-difference-between-open-and-permissioned-blockchains/">permissioned blockchains,</a> as authorization information could be intercepted. A possible solution to this problem is to separate the UI and the business logic into 2 layers, which could interact using HTTP or other protocols. The back-end, which is securely quarantined from the outside world, can then interact with the permissioned blockchain network.</p><ul><li>Front-end framework for UI and interaction with back-end</li><li>Back-end Rest API (Express or Spring boot are a few examples)</li><li>(Permissioned) blockchain platform</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/0*SOe3iPCnw7kHML2P.png" /></figure><h3>Everything is up to you</h3><p>These example stacks are just some guidelines for beginners or developers that are looking for a way to create decentralized applications. The possibilities are endless, and each business case could make use of countless development stacks to provide a stable solution. Some aspects to keep in mind when <a href="https://www.upwork.com/hiring/for-clients/how-to-choose-a-technology-stack-for-web-application-development/">choosing a development stack</a> are:</p><ul><li>What is the scope of the project?</li><li>What budget is available?</li><li>When is the deadline (if any)?</li></ul><p>And perhaps the most important question:</p><ul><li><a href="https://medium.com/@mattcondon/100-decentralized-probably-isnt-better-cb7200a649f1">Should my app be decentralized?</a></li></ul><blockquote>Still not really sure on how to approach the blockchain? At <a href="https://theledger.be/services">TheLedger</a>, we provide everything that is necessairy to get you and your business started with blockchain technology. Don’t hesitate to contact us, we don’t bite. <a href="https://theledger.be/contact">Let’s talk</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efe6ba450a96" width="1" height="1" alt=""><hr><p><a href="https://medium.com/wearetheledger/make-the-apps-of-tomorrow-with-blockchain-technology-of-today-efe6ba450a96">Make the apps of tomorrow with blockchain technology of today</a> was originally published in <a href="https://medium.com/wearetheledger">wearetheledger</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BigchainDB: A hands-on approach]]></title>
            <link>https://medium.com/wearetheledger/bigchaindb-a-hands-on-approach-42e1d3b4e7a?source=rss-f2d787f7a148------2</link>
            <guid isPermaLink="false">https://medium.com/p/42e1d3b4e7a</guid>
            <category><![CDATA[bigchaindb]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[supply-chain]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Artus Vranken]]></dc:creator>
            <pubDate>Thu, 29 Mar 2018 13:12:43 GMT</pubDate>
            <atom:updated>2018-09-28T19:49:37.277Z</atom:updated>
            <content:encoded><![CDATA[<h4>A small tutorial that should get you going with blockchain technology.</h4><blockquote><a href="http://artus.github.io/FarmToFork">If you just want to just see the POC, click here.</a></blockquote><p>In <a href="https://medium.com/wearetheledger/internship-at-theledger-9d712f12658b">my last blogpost,</a> I gave a small introduction about BigchainDB and the concept of transactions. Today we’ll build a small Proof of Concept to get you started with this new technology!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Enm_b0_FP9c9qJGDpxwKhw.png" /><figcaption>original: Carl Wycoff — Flickr</figcaption></figure><h3>Use Case: Farm to Fork 🍖</h3><p>Last week, there was a <a href="http://www.euronews.com/2018/03/12/scandal-over-rotten-meat-in-belgium">huge scandal in Belgium over the meat industry</a>. A meat processing company was accused of fraudulent practices; reuse of overdue meat, which posed a great risk to consumer health. Although there were reports of the negative practices of this business in the past, the official instances that are accountable for auditing the food-related economy didn’t act on them.</p><p>These problems arise whenever a company can work without transparency to not only other businesses, but also to the government and the consumers. A solution to this could be to use asset control on BigchainDB. This way, a <a href="https://docs.bigchaindb.com/en/latest/terminology.html#bigchaindb-consortium">BigchainDB consortium</a> could be set up to enable the government or other agencies (or even the consumer) to see exactly what has been done to the food on their plate.</p><p>In our tutorial, we’ll create a small POC that provides these functionalities:</p><ul><li>Creating assets: The introduction of a new ‘food-item’ that enters the food economy.</li><li>Transferring assets: The food-item should be transferable to other companies up until it gets offered to the consumer.</li><li>Updating assets: Data should be tied to food-items, so that firms can register what they did with the asset and other companies can see what actions have been performed with or on the food-item in the past.</li></ul><p><a href="https://github.com/artus/FarmToFork">If you are confused about something, you can always check out the code for this tutorial at my GitHub!</a></p><h3>Project setup</h3><h4>Registering our application</h4><p>For this POC, we will use the <a href="https://testnet.bigchaindb.com/">BigchainDB Test Network</a>, which allows us to use an existing network instead of setting one up ourselves. Go to the <a href="https://testnet.bigchaindb.com/signup">signup page</a> and create an account. After completing this step, you can create a new application; by doing this, the BigchainDB Testnet website will provide you with both an application ID and an application Key that you need to interact with the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/0*Xr2ruVqtrY6RjRs_.png" /><figcaption>Creating a new application on the BigchainDB Testnet.</figcaption></figure><h4>Webpage</h4><p>The focus of this tutorial isn’t webdesign, so I’ve decided to not include the code for this page. The code for the webpage can be found <a href="https://github.com/artus/FarmToFork/blob/master/index.html">on the GitHub page of this project.</a></p><h4>Dependencies</h4><p>For connectivity to the BigchainDB network, we’ll use the <a href="https://github.com/bigchaindb/js-bigchaindb-driver">js-bigchain-driver</a>:</p><pre>npm install bigchaindb-driver</pre><p>For managing keypairs, we’ll use the bip39 library:</p><pre>npm install bip39</pre><p>If you ever need more information, you can checkout the <a href="https://docs.bigchaindb.com/projects/js-driver/en/latest/">official documentation</a>.</p><p>We’ll also use the <a href="https://www.npmjs.com/package/dotenv">dotenvpackage</a> to handle environment variables:</p><pre>npm install dotenv --save</pre><p>With dotenv we can create a .env file to store our variables in. This way, when we push our code to a remote repository, we don’t expose our personal details (such as passwords or, in this case, the app_id and app_key of our application):</p><pre>APP_URL=https://test.bigchaindb.com/api/v1/<br>APP_ID=Get one on the website of BigchainDB<br>APP_KEY=Get one on the website of BigchainDB</pre><p>We’ll create a javascript class to interact with the BigchainDB network. To use this file in a browser, we’ll need to bundle it with browserify:</p><pre>npm install -g browserify</pre><p>Because we will bundle our javascript code, we’ll need a dependency that allows browserify to include our .env variables:</p><pre>npm install localenvify --save</pre><p>Now, if we want our webpage to use our latest code, you simply have to execute the next command:</p><pre>browserify js/FarmToFork.js -t localenvify -s ftf_module -o js/bundle.js</pre><h4>Javascript</h4><p>Create a new javascript file that we’ll to interact with the network. The constructor will initialize a new connection and generate a keypair (we’ll write the method later) from the keySeed parameter. The keypair will be stored in this.currentIdentity and will be used throughout the tutorial as the identity we’ll use to perform actions on our own assets:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0635ad35fdd976b093982bb1d9c41d41/href">https://medium.com/media/0635ad35fdd976b093982bb1d9c41d41/href</a></iframe><p>If you get confused during the tutorial, you can always check what to put where by looking at the <a href="https://github.com/artus/FarmToFork">latest version on GitHub</a>. There’s also a javascript file that we’ll use to link our FarmToFork class with our webpage (after it has been bundled with browserify). The main focus of this tutorial isn’t working with Vue.js, so the code for this file can be found <a href="https://artus.github.io/FarmToFork">on the GitHub page of this project</a>.</p><h3>Implementing functionality</h3><h4>Keypairs</h4><p>Transactions on BigchainDB are signed with private keys and outputs contain a (list of) public key(s). Storing public and private keys is a complex matter; luckily the bip39 package provides <a href="https://docs.bigchaindb.com/projects/js-driver/en/latest/usage.html#ed25519keypair-seed-functionality">a method of generating keypairs by using a seed</a>. This makes generating keypairs as easy as this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/41951e03855184a9b56f7cf40de8705d/href">https://medium.com/media/41951e03855184a9b56f7cf40de8705d/href</a></iframe><h4>Creating food-items (CREATE transactions)</h4><p>All data on the BigchainDB is stored in <a href="https://cdn-images-1.medium.com/max/800/1*lvnMVGPdzO_7eb8pGJTXPw.gif">transactions</a>. Each transaction contains an immutable asset, and can be chained to alter the state or information of this asset. In our POC, the food-items are assets and the actions we can perform on them (transport, processing, …) are transactions.</p><p>To introduce a food-item (an asset) on the market, we have to issue a <a href="https://bigchaindb.readthedocs.io/en/latest/transaction-concepts.html#create-transactions">CREATE-transaction,</a> which can be created <a href="https://docs.bigchaindb.com/projects/js-driver/en/latest/usage.html#asset-creation">as follows</a> using the js-bigchaindb-driver :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/635b5f791982804f408d7cb167ab8d9c/href">https://medium.com/media/635b5f791982804f408d7cb167ab8d9c/href</a></iframe><p>Your metadata and assetdata should always be a JSON object, otherwise you will get unexpected behavior (as I found out through tedious trial and error).</p><p>We can invoke this function (after bundling) like this:</p><pre>ftfApp.farmToFork.createAsset(&quot;a cow&quot;).then( response =&gt; console.log(response) );</pre><p>This will issue a CREATE transaction and log the created transaction to the console after successully posting it to the network.</p><h4>Get a list of all your food-items</h4><p>Transactions have outputs, which are the ‘receivers’ of the asset after the transaction has been issued. By filtering assets based on their output, we can retrieve all assets that currently reside in your BigchainDB ‘wallet’; these are the assets that you currently own.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/243c07b57fe60f9dae3e0ccdfd87e9a2/href">https://medium.com/media/243c07b57fe60f9dae3e0ccdfd87e9a2/href</a></iframe><h4>Performing actions on food-items (TRANSFER transaction)</h4><p>There are 2 things we can do to food-items: process them and transfer them to another firm. This functionality means we’ll have to append data; we’ll have to use TRANSFER transactions to build upon the existing transactions for a specific asset.</p><p>First, we’ll implement functionality to perform actions on them. An action is just a string that conveys what has been done to the asset. This will be encapsulated in a JSON-object along with the date of the action. This provides a simple format that can be read out later:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/74cc22bf49cd27cf0141c9cb76041e38/href">https://medium.com/media/74cc22bf49cd27cf0141c9cb76041e38/href</a></iframe><p>Now that we can perform actions on our assets, it’s time to implement the transferation of assets. In our POC, this is the equivalent of transferring a real food product to another firm so that they can further process it or further sell or distribute it.</p><p>The method of transferring the asset is almost the same as performing actions on them, but this time we’ll pass another public key to <a href="https://docs.bigchaindb.com/projects/server/en/latest/data-models/inputs-outputs.html#outputs">generate the transaction output</a> with:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e0794e9e4c91fdf785ad9ea35914040d/href">https://medium.com/media/e0794e9e4c91fdf785ad9ea35914040d/href</a></iframe><h4>See a list of all assets in on the network</h4><p>Now that we’ve implemented all this functionality, we’ll need to implement the most important part of this POC: a method to see the whole history of a certain asset. This will provide the transparency that will force companies to handle ethical business practices.</p><p>You probably noticed every time we added a new asset, we passed the string FtfTutorialAsset as a parameter. This string can be used to retrieve a list of assets in order to extract assets to query for their transaction history:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2c1ec4a447048813d3389d6203296c03/href">https://medium.com/media/2c1ec4a447048813d3389d6203296c03/href</a></iframe><p>When we extract the asset ID from an asset in the retrieved list, we can request a complete list of transactions by using this method provided by the js-bigchaindb-driver:</p><pre>connection.listTransactions(YOUR-ASSET-ID).then(response =&gt; console.log(response) );</pre><p>Of course, you’ll want to format it into a nice user interface, but that’s outside the scope of this tutorial. However, you can see how it could look (in a rudimentary form) on <a href="https://artus.github.io/FarmToFork">the hosted gh-pages for this tutorial</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cY9YoRqB1sJPDepQ.png" /></figure><h3>Conclusion</h3><p>By combining the information provided by the <a href="https://docs.bigchaindb.com/projects/js-driver/en/latest/usage.html">BigchainDB js-driver documentation</a> and the intuitive explanations of the <a href="https://blog.bigchaindb.com/hitchhikers-guide-to-bigchaindb-f01b34904395">Hitchhiker’s guide to BigchainDB</a>, there is enough supporting material available to begin creating full-blown applications that can be used to solve problems in the real world.</p><p>Hopefully, this tutorial is a useful guide that will help you and the community to bootstrap your application development, and attract more interest in BigchainDB.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42e1d3b4e7a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/wearetheledger/bigchaindb-a-hands-on-approach-42e1d3b4e7a">BigchainDB: A hands-on approach</a> was originally published in <a href="https://medium.com/wearetheledger">wearetheledger</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Internship at TheLedger]]></title>
            <link>https://medium.com/wearetheledger/internship-at-theledger-9d712f12658b?source=rss-f2d787f7a148------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d712f12658b</guid>
            <category><![CDATA[decentralized-storage]]></category>
            <category><![CDATA[decentralization]]></category>
            <category><![CDATA[bigchaindb]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[internships]]></category>
            <dc:creator><![CDATA[Artus Vranken]]></dc:creator>
            <pubDate>Fri, 16 Mar 2018 18:36:29 GMT</pubDate>
            <atom:updated>2018-05-28T17:40:55.710Z</atom:updated>
            <content:encoded><![CDATA[<h4>My first venture into BigchainDB ànd the wonderful embarkment of my 12-week internship at TheLedger.</h4><p>It’s been a very interesting week. I learned a lot, wrote a small POC, ànd kicked a soccer ball again for the first time in probably 3 years. But let’s not get ahead of myself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/0*HMTvx5tp3DzQLvou.png" /><figcaption>TheLedger banner from their homepage: theledger.be</figcaption></figure><p>Last week, I started my internship at <a href="https://medium.com/wearetheledger">TheLedger,</a> a company that not only <em>develops </em>blockchain applications but also <em>trains </em>firms to use these new technologies. I’ve been excellently coached from day one by <a href="https://medium.com/u/4ebc2714ffb7">Michiel</a> and <a href="https://medium.com/u/97ae5eb6d988">Andries</a>, whom I owe a lot of thanks. It’s been a really educational few days and hopefully my following posts will reflect how much new information I was already allowed to digest at such a nice workplace.</p><p>I started the week not really sure what to expect; I’ve done quite some internships already, but never IT-related. However, the people over at TheLedger introduced me to the topics I need to get accustomed to and afterwards gave me the freedom to explore these topics at my own pace.</p><p>I’ve been encouraged to write blogposts about my progress, and hopefully this one will spark a whole <em>chain </em>(<a href="https://i.imgur.com/meftV0q.gif">hehe, get it?</a>) of follow-up posts in the future.</p><blockquote>If you want to learn something, read about it. If you want to understand something, write about it. If you want to master something, teach it.<br>- Yogi Bhajan</blockquote><h3>What is BigchainDB?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tux2hVzPjZwEC6Ly.png" /><figcaption>BigchainDB banner from their homepage: bigchaindb.com</figcaption></figure><p>BigchainDB is a distributed database, with added blockchain characteristics. This means that, on top of being distributed, data added to a BigchainDB network is immutable and tied to a certain owner (or a certain list of owners). This results in a convenient and fool-proof method of proving ownership over data. I’m not going to re-explain what the people over at BigchainDB already explained in their <a href="https://docs.bigchaindb.com/en/latest/">docs</a>, but I’d like to focus on a specific aspect of which I had some issue understanding from the start.</p><h3>Transactions, transactions, transactions. (And assets)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*lvnMVGPdzO_7eb8pGJTXPw.gif" /></figure><p>When I started reading the <a href="https://docs.bigchaindb.com/en/latest/">BigchainDB documentation</a>, I had never worked with it before. This means that I had no clue how data, appended to the network, looked like. It took me a great deal of testing and prodding before I figured out how the stream of data was structured. Understanding this basic principle of BigchainDB is a major hurdle one has to overcome before being able to even begin working it.</p><p>I’ve had to struggle with it, hopefully I can prevent you from struggling with it:</p><p>A regular database stores information in tables, lists or whatever traditional format you can imagine. Data in BigchainDB is not stored this way. Data in the BigchainDB is stored in <a href="https://docs.bigchaindb.com/projects/server/en/latest/data-models/transaction-model.html">transactions</a>. Each transaction is linked to one immutable asset, but they transform or append to earlier metadata included in previous transactions of that asset. You can see transactions as a linked (or chained) list of objects, each with their own values. There are two types of transactions:</p><ul><li>CREATE Transactions: This transaction creates a new asset on the network. It’s the start of a whole chain of transactions that handle this asset. There can be only one CREATE transaction per asset, and an asset can never be altered, it is immutable. However, this is an important feature of BigchainDB. But how can I update information about my asset? That’s where TRANSFER transactions come into play:</li><li>TRANSFER Transactions: This transaction is used to update the information of an asset and to transfer (hence the name) ownership of an asset. TRANSFER transactions build upon previous transactions. We’ll touch this subject more in depth in a later tutorial.</li></ul><p>Remember: first, you issue a CREATE transaction, and then you iterate on this object using TRANSFER transactions.</p><p>If you want to explore the current assets and transactions that are stored on the BigchainDB Testnet, you can use <a href="https://artus.github.io/bigchaindb-snooper/">the small (but incredibly handy) tool I wrote this week:</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oKXatWO1lSvnzZnm.png" /><figcaption>I have no clue who Frank is, but apparently he has a lot of assets he thought should be stored on the BigchainDB Testnet.</figcaption></figure><h3>My conclusion</h3><p>The week flew by, the 5 days were over before I could even say ‘consensus algorithm’. I now have 11 more weeks to go, but I won’t be counting them. I’ll be posting a new blogpost in the near future where we will build a small application on BigchainDB, and hopefully cultivate more interest in this technology.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d712f12658b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/wearetheledger/internship-at-theledger-9d712f12658b">Internship at TheLedger</a> was originally published in <a href="https://medium.com/wearetheledger">wearetheledger</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>