Category

Hyperledger Composer

Developer Showcase Series: Ian Costanzo, Anon Solutions Inc

By | Blog, Developer Showcase, Hyperledger Composer, Hyperledger Fabric, Hyperledger Indy

We return back to our Developer Showcase blog! This series serves to highlight the work and motivations of developers, users and researchers collaborating on Hyperledger’s projects. Next up is Ian Costanzo from Anon Solutions Inc. Let’s dig in!

What advice would you offer other technologists or developers interested in getting started working on blockchain? 

Learn the fundamentals, and then get involved in an interesting open source project.

Working with Bitcoin is one of the best ways to learn the fundamentals of blockchain. The original white paper lays the groundwork in a clear and concise way, and there is a significant amount of documentation and examples available. Once you have a good understanding of the basic cryptography, merkle trees, proof of work, etc, it is much easier to work with more complex frameworks, which tend to layer on additional functionality (and complexity).

Then find an open source project and get involved. No matter what your interest there is probably a existing project in with a need for contributions in a number of areas. Documentation, introductory tutorials and testing are common needs. I’ve been involved in a few projects, and I’ve found there is always enthusiastic support (via slack, rocketchat, telegram, etc.) for new participants.

Also check for local meetups – I’m fortunate that in Vancouver there are a lot of blockchain enthusiasts, many meetups, and I’ve met quite a few interesting characters.

Give a bit of background on what you’re working on, and let us know what was it that made you want to get into blockchain?

I’m working with the BC Government on their Verifiable Organizations Network (VON) project (https://github.com/bcgov/von) using Hyperledger Indy.  I got involved in a roundabout kind of way.

Originally I was working with a homeless shelter in Calgary (https://www.calgarydropin.ca/) – they had recently implemented a new CRM and were looking at ways they could improve service to their clients by (securely) collaborating with other service providers. Their primary concerns were security of personal information, and respect for the sovereignty of individuals to control their own information, where possible. I did a survey of the technology space, and found that the Sovrin network (and Hyperledger Indy) was a clear fit for their requirement. I was lucky enough to get in touch with the BC group who were working with the same technology, and then fortunate to be able to participate in their project.

I’m interested in how blockchain can be used to help protect our personal information, and give us more autonomy and control over how our information is shared and used.

What project in Hyperledger are you working on? Any new developments to share? Can you sum up your experience with Hyperledger?

I’m working with Hyperledger Indy, with the BC Government. My role has been to scale up the solution to handle enterprise requirements, including large data volumes and transaction throughputs.  It’s been a fascinating experience, because I get to work with a lot of very smart people in the BC Government, as well as at Sovrin, Evernym and the whole Indy community.  The technology is new, which is interesting, but we’re also exploring new ways in how the technology is being applied, which creates lots of challenges and opportunities.

Specifically I’ve been working on an Enterprise Wallet for the central credential “holder.” I’ve updated the wallet to support multiple identities and millions of credentials, and to run in an enterprise micro-services deployment. I’m excited for the next round of SDK wallet development, which is going to introduce wallet meta-data, native encryption and improved search capabilities, which are all going to support functionality the team is planning to add in the coming months.

I’d also like to mention that the BC team is working in partnership with the governments of Ontario and Canada. In Victoria we work out of the government’s “Innovation Center”, which is focussed on public/private partnerships and support for the open source community. All the work we are doing is open source, available for use, and we welcome new collaborators.

What do you think is most important for Hyperledger to focus on in the next year?

Ease of use for new developers, as well as scalability. Ease of use is something that Ethereum (for example) has done a very good job with. Solidity is pretty simple to learn, and you can write very sophisticated blockchain applications without having to get too deep into the weeds. This is why Ethereum is one of the most widely used blockchain platforms. The downside of Ethereum is scalability (Crypto Kitties almost brought down the whole network) but that is something they are putting some resources into.

I’ve worked with Hyperledger Fabric and Hyperledger Indy, and I think anyone will agree that these are very complex technologies!  In order to get more widespread adoption documentation, training and tooling are critical. Their strength is that they are more specialized networks, however they come with a very steep learning curve, and this is something that needs to be addressed.

For Hyperledger Fabric, the introduction of Composer for application development was a huge step forward. Hyperledger Indy (what I am mostly working with now) could use similar tooling. There is work in progress on documentation and developer tools, but the more focus in this area the better!

As a private network, Hyperledger Fabric may not suffer from the same scalability concerns as public networks, but Indy supports a public network (Sovrin) so scalability is definitely a concern.

What’s the one issue or problem you hope blockchain can solve?

I like to think that blockchain can be used for the benefit of humanity, rather than just providing a living for those of us fortunate enough to be working with the technology.

Self sovereign identity has a lot of potential, putting information under the control of the individual rather than large corporations, allowing us to (selectively) share with our friends and colleagues, without having to worry about our information being mined and mis-used.  Also being able to benefit disadvantaged populations, like refugees and the homeless.

Privacy is another potential benefit of blockchain, having the ability to secure personal information, as well as being able to communicate and transact anonymously.

I’ve seen a lot of other really interesting applications proposed or prototyped, like using cryptocurrency to distribute aid directly to recipients (reducing the risk of graft), or using blockchain to track ethically captured tuna. I’m excited (and hopeful) for the future of this technology.

What technology could you not live without?

I resisted getting a smartphone for a long time, because I have a bit of a technology addiction. (I also don’t own a TV because I would just end up watching it all the time.) Now I have an Android phone, and I’m in constant communication. I always know the answer to every question (thanks Google) and where to go for lunch or the best route to get to the ferry. When I get involved in an interesting technology (like blockchain!) I become a bit of a workaholic and spend far too much time on the computer.

So the best technology for me is sometimes no technology at all. Leave the phone behind and go for a walk, to clear my mind. Sit down with a pen and paper to solve some problems, rather than try to work it out at the computer (This forces me to do some actual programming for a change, rather than just cut and pasting from StackExchange.) Read the newspaper rather than my news feed online.

Until the nervous twitching starts and I have to reach for my phone!

 

Developer Showcase Series: Jean-Louis (JL) Marechaux, JDA Labs

By | 网志, Hyperledger Composer, Hyperledger Fabric, Hyperledger Indy

Image: Jean-Louis (JL) Marechaux, JDA Labs

We return back to our Developer Showcase blog series, which serves to highlight the work and motivations of developers, users and researchers collaborating on Hyperledger’s projects. Next up is JL Marechaux from JDA Labs. Let’s see what he has to say!

What advice would you offer other technologists or developers interested in getting started working on blockchain? 

The first advice I would offer is what I give on every single new technology adoption: Clearly identify the business need, and make sure that blockchain is appropriate to meet business needs. Blockchain is not a silver bullet. There are a couple of use-cases where blockchain is absolutely not the right answer. Be sure you assess blockchain applicability in your context.

I would also recommend to take an incremental and iterative approach for new Blockchain initiatives. Decompose your business problem to identity a simple use-case, something that can be described as an agile story. Implement this first story in a small prototype, to get familiar with core blockchain concepts. Then incrementally add new capabilities to your blockchain solution.

There are plenty of resources to help when you start a blockchain project. I personally recommend the Hyperledger online documentation, as it cover the key concepts and provide practical tutorials. Moreover, a tool like Hyperledger Composer is an easy way to define and test a business network with minimal investment. To me, Composer is a pretty good platform for an early blockchain prototype.

Give a bit of background on what you’re working on, and let us know what was it that made you want to get into blockchain?

I work at JDA Labs, which is the R&D entity of JDA Software. The company has a focus on the supply chain and the retail industry, and we provide software solution to support the digital transformation of our customers. Because we are interested in digital transactions between multiple parties, blockchain seems to be a natural fit to address some automation and traceability problems. When products transit all over the world, through multiple countries and multiple companies, I believe that blockchain can help provide a better end-to-end visibility of the supply chain.

I started to be interested in blockchain when I was working at IBM. Around 2015 or 2016, I was part of an internal initiative to identify blockchain use cases for different industries. I had the opportunity to discuss with people far more knowledgeable than me in this area, and to learn basic concepts. When I started at JDA, I was exposed to a new business domain, and it quickly became obvious that blockchain could improve supply chain transparency and traceability. So I decided do more research and experimentation in this area.

As Hyperledger’s incubated projects start maturing and hit 1.0s and beyond, what are the most interesting technologies, apps, or use cases coming out as a result from your perspective?

I see a lot of value in all the Hyperledger projects, so it is difficult to mention just a few.

But given my current job and my focus at this time, I would select Hyperledger Fabric and Indy.

Because it supports permissioned networks, Hyperledger Fabric seems appropriate in a supply chain environment where participants are usually known and vetted. The channel capability in Fabric provides a data partitioning mechanism to restrict visibility to some participants, which is required for some some business transactions. Hyperledger Fabric is based on a modular and scalable architecture to support most business needs.

I have not explored Hyperledger Indy capabilities yet, but given the nature of a blockchain business network, it seems important to have a strong mechanism to manage decentralized identities.

In addition to the blockchain frameworks, I am quite interested in the different tools (e.g. Composer , Explorer) that are developed under the Hyperledger umbrella to facilitate and accelerate blockchain adoption.

What’s the one issue or problem you hope blockchain can solve?

As a consumer, I always wonder where the products I buy are coming from. I can sometime get that information reading the product label, but can I really believe what is written? Why should I trust the organic certification body? Organic food fraud is massive. Traceability on fair trade products is weak. Provenance of consumer goods is nearly impossible to obtain.

Blockchain technologies can solve this problem by enabling full transparency and traceability on products. As a consumer, I would love to be able to scan a product in a store with my smartphone and get the proof of origin through a blockchain.

What is the best piece of developer advice you’ve ever received?

“If you want to eat an elephant, do it one bite at a time.” This comes from an old saying, but I remember receiving that advice for software development, long before Agile practices were popular. To be able to deliver complex software solution, it is important to have the big picture first, to understand the end goal. But then the best approach to deliver the solution is to adopt a step by step approach to incrementally develop the software.

And of course, I was told many times to read the manual. The “RTFM” acronym cannot be repeated often enough.

I think those two tips are relevant for any blockchain project.

(8.6.18) InfoQ: Evaluating Hyperledger Composer

By | Hyperledger Composer, News

I have been following the three-year-old Hyperledger Fabric open-source project since its code base moved to GitHub about two years ago. The Hyperledger projects are hosted by the Linux Foundation and sponsored mostly by IBM. They promote the use of what are known as private, or permissioned, blockchains. With a public blockchain, the first anonymous miner who solves a cryptographic puzzle gets to commit the next block of ledger entries to the chain. Private blockchains solve the consensus problem among authenticated peers using algorithms such as Raft or Paxos.

More here. 

Meet the Hyperledger Summer 2018 Interns Part 2

By | 网志, Hyperledger Composer, Hyperledger Fabric

We first announced the return of Hyperledger’s Summer Internship Program back in March. The program offers students one-on-one mentorship from some of the leading technologists in our community and builds their development portfolio with projects that will feed into the larger Hyperledger ecosystem. The students applied to work on an extensive line-up of internship projects proposed by our community mentors.

In case you missed the first post in this series, it included information about six of our interns. Today, we’d like to introduce the other six interns, see what they will be working on and help you get to know them a bit better. We asked each intern a few questions including:

  1. How did you first become interested in blockchain, and why are you excited to work on Hyperledger and your project in particular?
  2. How do you see blockchain technology evolving over the next five years?
  3. If there’s one or issue you hope blockchain can solve, what is it and why?

Let’s see what they had to say!

Daniel McSheehy

Pursuing a Bachelor’s in electrical engineering at the University of Texas

Hyperledger intern project: Hyperledger Fabric Chrome Extension

1. I was originally intrigued by Etherium and the possibilities of smart contracts. I worked on an Etherium game called EtherStocks based on these smart contracts. A user would use a chrome extension wallet called MetaMask that the website would detect and all the users assets and data would load. The user would never have to login and all the assets were safely stored in the user’s wallet. This is similar to my Hyperledger project, which is to build a chrome extension that can securely access the Fabric network and opt in to allow websites access to certain data. This could make Hyperledger Fabric more accessible but still very secure.

2. Before widespread adoption of blockchain, blockchain technology needs to be more scalable with reduced transaction costs and computational power. I predict there will also be advancements in permissioned blockchains such as Hyperledger Fabric that deal with security and storing sensitive information. Permissioned blockchains could then replace current IT infrastructures such as medical or supply chains.

3. In emerging countries, there is often a problem with a lack of stable currency and available capital. While obviously cryptocurrencies can replace unstable currencies, there’s also an opportunity for regulated blockchain crowdfunding. Startups in emerging countries could be offered funding from thousands of people all over the world. With smart contracts, these startups would be held accountable to continue to receive funding.

Shuo Wang

Pursuing a Master’s degree in computer science at Tsinghua University in China

Hyperledger intern project: Design Effective Operational Platform for Blockchain Management

1. I read the original paper on Bitcoin in 2016 and became attracted by its decentralized way to build trust. It is amazing to keep the whole system working without a centralized third party.

Hyperledger focuses on developing distributed ledgers among parties in an industry consortium. It aims at better performance and flexible smart contracts to support complex applications. I believe permissioned blockchain will change the business models of more and more industries, and Hyperledger is playing a leading role in that era of innovation. My internship project is for Hyperledger Cello, where I will be  building an operational platform to manage blockchain. I feel excited to work on Cello and help develop blockchain as a service.

2. Cryptocurrency has aroused great public interest in the last few years. More importantly, blockchain has introduced us to the philosophy of building decentralized trust, and we are exploring how it can change our lives in various aspects. In the next five years, I think blockchain will achieve higher transaction throughput with lower latency, which is currently a bottleneck to support business applications. Blockchain platforms will become more mature and secure so that companies will have the confidence to handle their business processes in blockchain. Based on this, more novel business models will come forth to change the world fundamentally, and I feel excited to be part of this process.

3. The supply chain is a great application scenario where blockchain can make a significant difference. Different parties in the supply chain share a distributed ledger of business transactions. Blockchain could make the whole process of supply chain more traceable and transparent. In addition, blockchain’s immutability helps the transaction records gain more trust from the financial institution. It is essential to the small and medium-sized enterprise because they could obtain more credit and more loans based on their business operation history in the blockchain.

Dixing Xu

Pursuing a Bachelor’s degree in Information and Computing Sciences at the Xi’an Jiaotong-Liverpool University

Hyperledger intern project: Hyperledger Fabric SDK-py

1. During my second year of university, I joined a research team and did some research on cryptocurrency trading with deep reinforcement learning [1]. Although it’s not necessary to learn the technology behind what you trade, I found the idea of decentralized currency fascinating and learned how to implement some test nets to play around with. Later, I participated in a hackathon, and our team used Hyperledger Fabric and Hyperledger Composer to build a decentralized house-renting platform [2]. Hyperledger Fabric is very friendly for developers to build applications with a modular architecture. However, Hyperledger Fabric only supports Java & NodeJS SDK. So I want to help the community develop a Python SDK since Python is very popular among AI researchers and data scientists. I am really excited to see the interaction between the Hyperledger and the data science communities.

2. It is hard to tell where blockchain technology will lead to in five years since the technology is evolving very fast with many talented people are contributing. In my opinion, there will be more efficient algorithms to reach consensus balancing among speed, scalability and finality. More and more developers will get interested in developing DApps or writing smart contracts. I also see an exciting usage named “predictive smart contracts.” An example is GainForest [3], where the team use smart contracts to reward people for saving forestland  and neural networks to predict the deforestation for the area.The reward can be adjusted based on the risk determined by the prediction. Combined with blockchain and AI, the smart contracts formed strategic incentives from data. I think such applications that combine blockchain and other state-of-art technologies are very exciting and we will see more in the next five years.

3. I hope blockchain will solve the issue of inefficiency in value-based transactions and administration of central authority. With distributed ledgers, it is very easy to track records of all transactions and verify the validity of the transaction. There are several reasons for adopting blockchain technology. First, it can reduce the cost and simplify the logic. The ledger is not a new concept, but, with the openness of Internet and the security of cryptography, blockchain provides a faster and safer way to verify key information and establish trust. Last but not least, with smart contracts, one can easily build an autonomous system that improves the efficiency of verification and execution.

[1] Jiang, Zhengyao, Dixing Xu, and Jinjun Liang. “A Deep Reinforcement Learning Framework for the Financial Portfolio Management Problem.” arXiv preprint arXiv:1706.10059(2017).

[2] “DSharing” hackx.org, www.hackx.org/projects/169

[3] Dao, David. “Predictive Smart Contracts” Medium, 23 Nov. 2017, medium.com/@daviddao/predictive-smart-contracts-dc15b9986d8c.

Roger (Meng Kang) Hsieh

Pursuing a Masters degree in management information systems at National Chengchi University in Taiwan

Hyperledger Intern Project: Utilizing Hyperledger Fabric to Develop Supply Chain Application

1. At first, I heard about blockchain and Bitcoin from my friends. I didn’t know much about them. But then the price of Bitcoin grew and grew, and I started to get interested. This is the first time I am studying blockchain. My lab focus has been on fintech. I study deep learning and distributed computation. But we found that we need blockchain to verify whether our prediction results are worthy of trust. So I devoted myself to blockchain. I found Hyperledger Fabric to have many advantages like that it is open source and has a unique mechanism. I am looking forward to building a blockchain application. I am excited to work on my supply chain project. I hope I can succeed in building the project and making myself more proficient in technological and English speaking skills.

2. Blockchain is very important. It can make record immutable and can be anonymous or published. So I think blockchain will become an industry infrastructure norm like the internet. As long as the threshold is  easier. It can be easy to deploy on a server and easy to develop an application. Hyperledger, Ethereum … and so on will compete to become leaders of blockchain industry. Like iOS, Android and Windows.

3. I hope blockchain can accomplish financial information transparency. I hope it can make the government become more efficient and reduce corruption. And make supply chain information open to everyone so farmers, workers and the poor can get what they should get. With smart contracts, we can offer donations and scholarships when the right conditions are achieved. With blockchain we can make the world better.

Ugobame Uchibeke

Pursuing a Bachelor’s degree in computer Science and psychology at University of Saskatchewan, Canada

Hyperledger intern project: Hyperledger Composer Modelling Tools

1. My interest in blockchain was sparked by a meetup I attended in Toronto in the spring of 2017. I was amazed by the potentials of blockchain as demonstrated by a sample coffee seller and grower blockchain network. The talk and demo inspired me to learn more about the technology and start exploring platforms that are built on it. Around the same time, I got a offer to work at the Royal Bank of Canada in the Amplify Program with 54 other students from three countries who were brought into the bank to solve some of the bank’s biggest challenges using the latest and greatest technology. My project used Hyperledger, and we won two  of four awards and $25,000. We also filled a provisional patent. After this, I was hooked. I then went on to do some more blockchain work and wrote a research paper to be presented in the 2018 IEEE International Conference on Blockchain.

2. The original paper by Satoshi was for a network that was truly open and decentralized. This is good for many use cases like for Bitcoin and some cryptocurrencies. However, blockchain technology, the engine driving these cryptocurrencies, has more potential and can change the way we do business by digitally enabling more entreprises to be more robust, secure and profitable. In the next f ive years, I see private and permissioned blockchains being used by many companies to streamline their processes, enhance auditability and compliance, provide transparency and modernize security. For me, this is one of blockchain’s greatest potentials, and Hyperledger is at the forefront of this technological shift and disruption.

3. The fashion industry is full of many innovative and creative people who come up with ideas and design new clothes and trends. Sadly, they often do not get credit for for their work or they have the design copied by large fashion companies. A recent case was a shirt designed by Word, a woman-owned branding agency, to raise money for planned parenthood. Their design was later stolen and mass-produced by Forever21, the big fast-fashion brand. This is sad and I think something can be done about it. I would like to see us being able to store, verify, transfer, revoke and contest our rights to a design on the blockchain. I am passionate about this because my mother was a fashion designer who started with less than $5 and grew her business to many states in Nigeria, trained and sponsored more than 100 women, and came up with new ways to design clothes but did not get credit for her work. It’s personal for me and I would like to see upcoming fashion designers get credit for their work. I am looking forward to a time when we can do this on a blockchain network, and I am eager to continue learning and contributing to the advancement of blockchain technology.

Martin Martinez

A PhD student studying distributed systems, security in IoT and blockchain-related systems at the University of Southern California

Hyperledger intern project: Simulating Hyperledger Networks with Shadow

1. The first time I heard about a blockchain-related system was actually when I found out about Bitcoin. A few years ago, my curiosity led me to search around the web for information about how governments, organizations and even hackers could eventually track any individual who had Internet access. While reading about identity protection and how computer networks work, I came across Tor and how this system makes it more difficult to trace a user in the network. Additionally, I found out that, in order to make online transactions untraceable, users used a cryptocurrency called Bitcoin in this platform. Then, five  years later, my advisor started a blockchain class at my university, and I found out blockchain was the technology behind Bitcoin. The class involved multiple reading assignments about developments that shaped the blockchain landscape, which made me aware of the endless possibilities of this technology. Because of this, and after reading the paper written by Satoshi Nakamoto, I learn that blockchain as a technology had a bright future in lots of different applications.

Particularly, I am thrilled to have the opportunity to work on my project, which involves the use of the Shadow network simulation tool currently used by Bitcoin and Tor deployments but not yet for Hyperledger. I believe there is a vast potential for what currently Hyperledger can offer, and I am looking forward to working with David, my mentor, and the rest of The Linux Foundation community to integrate the Shadow tool as a viable solution for simulating and assessing the performance of blockchain deployments in Hyperledger networks.

2. Similar to Satoshi Nakamoto, I believe that blockchain is not just the technology behind Bitcoin but a large-scale platform that will enable advancements in other fields. As a result, I can see advancements empowered by blockchain in fields such as storage (guaranteed immutability and protection of data), supply chain (quality verification of the goods) and even data mining (aggregation and distribution of the training data set). Over the next five years, more and more industries will embrace blockchain due to its properties and, in the long run, this will benefit society as well.

3. I am from Peru and I can see how the agricultural industry is still one of our strongest sources of income. However, at the same time, I consider that sometimes bigger companies take advantage of the small farmers by buying those supplies at a lower rate than what the market has to offer. Therefore, if these farmers could empower their product by showing their high quality and checking this information in a inmutable and distributed way, which is where blockchain can help, this will force bigger companies to offer a fair price for them. It can also help these companies keep track of the quality and ensure and show it to the end customers. Another problem that I see that my country sometimes faces is in the healthcare industry. Sometimes, health records for every patient are not provided during a transfer  from one clinic or hospital to another. This lack of information causes delays or even a bad diagnosis due to missing documentation of previous symptoms. Therefore, I believe blockchain and its immutability property could help patients to be able to transfer all their information between organizations while saving time and, sometimes, saving lives.

That’s it for all of our interns this summer! We look forward to seeing all that they can contribute to the Hyperledger community.

We hope you join them in the effort by contributing to Hyperledger projects. You can plug into the Hyperledger community at github, Rocket.Chat the wiki or our mailing list. As always, you can keep up with what’s new with Hyperledger on Twitter or email us with any questions: info@hyperledger.org.

 

LocalTrail Takes On Farm-to-Table Supply Chain with Hyperledger Fabric and Composer

By | 网志, Events, Hyperledger Composer, Hyperledger Fabric

Pictured left to right: Brian Behlendorf, Rachel Black, Paco Garcia, Piers Powelesland, Saif Abu Hashish, Kevin Kim and Tracy Kuhrt

With the goal of highlighting the value of blockchain beyond payments and digital currency, the Consensus 2018 Building Blocks Hackathon challenged teams of developers to tap into the robust programming capabilities of technologies to build applications with use cases in industries ranging from capital markets trading, food supply chain, digital rights management, new peer-to-peer insurance models, and the internet of things. Participants were able to build on top of any blockchain protocol including Bitcoin, Ethereum, Hyperledger etc.

The Winning Team: Localtrail

The process of establishing a data trail of the food from farm-to-warehouse-to-market-to-retailer is very manual and incentivizes dishonest behavior. There is no effective way of trustlessly knowing if food is coming from the place that retailers say it is. The team behind LocalTrail, Rachel Black, Paco Garcia, Saif Abu Hashish, Piers Powlesland and Kevin Kim took on the challenge of providing transparency in the food and dairy supply chain. They’re aim was to make it possible to track the provenance of groceries and meals, as they reach the consumers’ plate. The end result was Localtrail, a community-first, transparent blockchain solution that tracks produce from farm to supply center to the end user, bringing accountability and trust to the farm-to-fork social movement.

To build the solution, the team used Hyperledger Fabric, Hyperledger Composer and Tieron’s Chainpoint Node API. They coded in React Native and JavaScript.

According to Piers Powlesland and Rachel Black from the Localtrail team:

“Given the task of providing a supply chain system that would connect many small businesses we wanted to minimise the need for expensive infrastructure, and since the target sector was agricultural we also wanted to provide a system that would be easy to learn and use for non technical people. Consequently we decided to make the system available via a mobile app due to the ubiquity of mobile devices and people’s familiarity with them. We used react-native to build the app so that we could target both Android and iOS with a single app, and also have the option of turning it into a desktop web-app with minimal adjustments.”

“For the server-side blockchain implementation we chose Hyperledger Composer. Its user friendly graphical interface, allowed us to dive in and get started straight away, and its modeling language mapped well to our problem domain. It also helped a lot that the perishable-network sample project demonstrated a system very similar to the one we wanted to create. Furthermore Composer’s ability to automatically generate a REST api from a contract, meant that integration with our react native front end was a straightforward and familiar process.”

The Value Chain for Localtrail

The users of the Localtrail application include farmers, who grow the food, package it, and enter data; warehouse employees, who scan, perform QA check and ship to a market; market employees, who scan and perform QA check and sell to retailers; retailers, who scan and perform QA check, and serve food to end consumers; and the end consumers, who view the data from the process.

Congrats to the Localtrail team for creating an application that showed the power blockchain can provide within the food supply chain by improving transparency and trackability. We’re excited to see where they take this application. You can get the Localtrail code at https://github.com/piersy/LocalTrailHyperledgerComposer and https://github.com/rachelyoti/food-app-front-end.

You can also plug into the Hyperledger community at github, Rocket.Chat the wiki or our mailing list. As always, you can keep up with what’s new with Hyperledger on Twitter or email us with any questions: info@hyperledger.org.

Developer Showcase Series: Thomas Brooke, Brooke and Brooke Attorneys

By | 网志, Hyperledger Composer, Hyperledger Fabric

Image: Thomas Brooke, Brooke and Brooke Attorneys

Next up in our Developer Showcase blog series is Thomas Brooke from Brooke and Brooke Attorneys. This blog series serves to highlight the work and motivations of developers, users and researchers collaborating on Hyperledger’s projects. Let’s see what Thomas has to say!

What advice would you offer other technologists or developers interested in getting started working on blockchain? 

There is so much information out there and it is changing so rapidly that I would recommend keeping an open mind. It is impossible to tell what the blockchain ecosystem will look like even a year from now not to mention five years from now. With that being said I think I would pick a platform and build a project with blockchain technology or just play with it to get a feel of actually working with it. There is so much hype and conflicting opinions now and I think the best way to get a clear picture of the technology is to use it some way and see what it can do as opposed to what it might do.

Give a bit of background on what you’re working on, and let us know what was it that made you want to get into blockchain?

I am a practicing lawyer and a part time developer. I am very involved in the legal hacker movement and, no we do not hack into bank accounts or email accounts. We are an International group of lawyers interested in change, technology and ways to improve law. We want to “hack” law to make it better. This naturally lead me to look at “smart Contracts”, blockchain and Hyperledger. 

What project in Hyperledger are you working on? Any new developments to share? Can you sum up your experience with Hyperledger?

I am actually working on two projects. The first is the Cicero Project where I am volunteering in the technology workgroup. Cicero is a smart contract platform that allows legally enforceable contract language to be bound to executable business logic.

Cicero uses Hyperledger Composer and currently works with Hyperledger Fabric, both of which are currently in the Hyperledger project. To create a smart contract with Cicero you create a model of the relevant concepts, assets, and participants in the contract using Composer’s model language. The clause or contract is the text of the legal contract that works with the model and the business logic is currently encoded in javascript. As Cicero matures the team will develop a domain specific language for describing legal contracts.

A complete contract or Clause as it is known in Cicero can then be used as a template to create an instance of the contract that can be executed in conjunction with a blockchain such as Hyperledger Fabric or in conjunction with an API call to another resource. Cicero clauses can interact with the internet of things, web services or blockchains to create dynamic contracts that can automatically respond to changing conditions.

The second project I am working is a smaller scale project where we are making a a token based barter system for Main Street Mission a Food Pantry located in China Grove, North Carolina, my hometown. We are developing it using Hyperledger Fabric and Hyperledger Composer. China Grove was a town that was hit hard when the local cotton mills closed and even though that was several years ago it still has not recovered. Main Street Mission has been in existence for about 10 years and it currently gives out food several days a week to about 350 households per month.

At Main Street Mission we are changing our method of operation and we are creating a more empowering system that uses tokens to create a shopping experience for our neighbors. We are using design thinking to actively involve our community in developing our new system. In our plan, people can earn tokens by participating in one of our classes or by helping at the mission. They will be able to spend their tokens on food from the pantry and participants will be able to exchange tokens with one another for food and services. We hope to create a small barter economy based on our tokens or Barts as we call them. We do not need the multiple peers or a sophisticated consensus system but the tools provided by Hyperledger Fabric and Composer are well designed and approachable, even for a small project like ours.

While blockchain has obvious advantages in large exchanges and supply chains I believe that the real test for a new technology is how well it can scale downward to help everybody. I recently gave a talk about blockchain and at the end someone asked; “This all sounds great but how is this going to help the small guy, the person with a mom and pop store.” One of our goals at Main Street Mission is to find out.

What do you think is most important for Hyperledger to focus on in the next year?

Simplifying blockchain to make it usable across a wide spectrum of use cases.

What is the best piece of developer advice you’ve ever received?

My developer hero is Rich Hickey, the developer of Clojure. One of his more famous quotes is:

”Simplicity is hard work. But, there’s a huge payoff. The person who has a genuinely simpler system – a system made out of genuinely simple parts, is going to be able to affect the greatest change with the least work. He’s going to kick your ass. He’s gonna spend more time simplifying things up front and in the long haul he’s gonna wipe the plate with you because he’ll have that ability to change things when you’re struggling to push elephants around.”

https://hvops.com/articles/simplicity-is-key/

What technology could you not live without?

My MacBook

Hyperledger Bug Bounty Program Now Open

By | 网志, Hyperledger Composer, Hyperledger Fabric, Hyperledger Iroha, Hyperledger Sawtooth

Dave Huseby, Hyperledger Security Maven

When I started as the Hyperledger Security Maven just over a year ago, I set out to make sure that Hyperledger’s community of contributors were doing everything possible to make good on the promise of better software and better security from the open source process. As of right now, we have in place a public bug tracker, continuous integration builds, core infrastructure initiative compliance, and a full responsible disclosure security bug policy and process. Today, I am happy to announce the next piece of our security process: the Hyperledger Bug Bounty.  

For the last six months we have been running a private bug bounty with HackerOne. Today we are opening up the Hyperledger Bug Bounty for public participation. Currently only Hyperledger Fabric is in the scope of the bounty program but we hope to add Hyperledger Sawtooth and other Hyperledger projects soon. HackerOne will continue to administer the bug bounty for us with close cooperation between their team and our community. We chose HackerOne because we think it is the best use of our resources and they share a similar commit to open source software as Hyperledger and The Linux Foundation.

At Hyperledger we have a broad base of committed developers and it is their professionalism that makes our security process solid and straightforward. When I first started, we already had in place our public bug tracking system and most teams had set up continuous integration build systems for monitoring build health. In the last year we formalized the process by which projects can move from development status to their first 1.0 release, including a number of security requirements.

The first security requirement is to meet the requirements of the Core Infrastructure Initiative (CII). The Core Infrastructure Initiative is a set of best practices for open source software security. Earning the CII badge requires open source projects to set up services and processes and key positions that all serve the goal of producing more secure and trustworthy software. At the time of this writing, Hyperledger Fabric, Sawtooth, Iroha, and Composer have all earned their CII badge.

The second security requirement is to nominate one to three members of a project’s community to participate on the Hyperledger security team. The Hyperledger security team manages and executes our policy of responsible disclosure of security bugs. Security bugs are confidentially reported to Hyperledger through security@hyperledger.org or by filing a security bug in our JIRA. It is the job of the volunteer security team to triage, respond to, fix, and disclose the security bugs that are reported. As of right now, the security team consists of 16 members from five of our project communities.

The third security requirement is for a project to undergo a security audit from an outside auditor to establish a baseline for the codebase. We hired the auditing firm Nettitude to do security audits of Hyperledger Fabric, Sawtooth, Iroha and Composer.  So far Hyperledger Fabric, Sawtooth and Iroha have been completed and are in various stages of resolution and publication. Currently only the Hyperledger Fabric security audit report has been fully resolved and published. The rest will be published soon.

Looking ahead into the future, I plan on getting more involved with the Software Package Data Exchange (SPDX) to see if we can use Hyperledger blockchain platforms to better track the provenance of open source software, including our own. I hope to one day use verifiable claims to automatically check for vulnerabilities in dependencies from our continuous integration build system. If open source software packages were to issue a verifiable claim stating that a specific version of their software has no known security vulnerabilities, then when one is reported, the claim can be revoked. The revocation of the claim could then function as an automatic signal to all users of that software that they need to update. Continuous integration systems could check the claims of all dependencies and stop the build if one or more are found to have vulnerabilities.  This represents the next generation of reproducible builds and would leverage blockchains for provenance tracking of software from construction all the way through deprecation.

Security is always an ongoing process of improvement. Thanks to the commitment and professionalism and general good cheer of the Hyperledger community, we have made great strides in the last year. Now with our public bug bounty, we hope to further make good on the open source promise and to deserve the trust our users have in us.

We encourage developers to join our efforts on the bug bounty program and also start contributing to Hyperledger projects. You can plug into the Hyperledger community at github, Rocket.Chat the wiki or our mailing list. You can also follow Hyperledger on Twitter or email us with any questions: info@hyperledger.org.

Developer Showcase Series: David Conroy, National Association of REALTORS

By | 网志, Hyperledger Composer, Hyperledger Fabric, Hyperledger Indy

We’re back to our Developer Showcase blog series, which serves to highlight the work and motivations of developers, users and researchers collaborating on Hyperledger’s incubated projects. Next up is David Conroy, an R&D Lab Engineer at the Center for REALTOR Technology, as part of the National Association of REALTORS. Let’s see what he has to say!

What advice would you offer other technologists or developers interested in getting started working on blockchain? 

Before getting started working in blockchain, I strongly recommend taking the time to learn the strengths and weaknesses of the many different types of blockchain technologies available today. A great way to accomplish this is to take a look at all of the fantastic open source tools out there that already exist for blockchain development. Understanding the basics prior to beginning the development process can be critical to the success of your future applications. My two favorite development tools currently are Hyperledger Composer (https://github.com/hyperledger/composer), and the Truffle Framework (http://truffleframework.com/). If you are looking for online resources for blockchain education, The Linux Foundation has released a self-paced primer on distributed ledgers that is incredibly thorough and also free of charge.

David Conroy, National Association of REALTORS


Give a bit of background on what you’re working on, and let us know what was it that made you want to get into blockchain?

I work for CRT Labs, a research group operated by the National Association of REALTORS®. Our lab focuses on emerging technologies that could potentially affect real estate. Personally, I have been interested in blockchain since I began learning and writing about Bitcoin in 2013. Since then as the technology has matured, it became increasingly apparent that my personal interests were quickly aligning with my professional ones. This is due to the massive implications that blockchain poses for the real estate industry.  In addition to payment and escrow, blockchains could potentially provide the mechanisms for establishing identity, enforcing of contracts, and improving the overall quality of property records.

What project in Hyperledger are you working on? Any new developments to share? Can you sum up your experience with Hyperledger?

At NAR, we are building a Hyperledger Fabric based system that will allow us to more effectively understand how our association interacts with its 1.3 million members. This project will allow us to tie together all of the various educational courses taken, committees served on, and events attended by our members despite the fact that this activity is occurring at over 1,400 local associations nationwide. Our legacy systems lack the functionality to provide a complete, accurate, and verifiable report that shows the complete picture of a members activity within our association. Now with the assistance of blockchain that granularity of reporting is something we are able to provide. This data can then be used to better provide services, aid in leadership development, and allow for increased recognition of our highly involved members. We took advantage of the Hyperledger Composer tool to define our business network and get our initial proof of concepts running quickly.

In addition to the work I’ve done at NAR, I have also entered into multiple blockchain-related programming competitions in my spare time to keep current on latest development trends. Most recently, I was a part of a team that took first place in IBM’s Blockchain and Artificial Intelligence Global Hackathon. Alongside the cash prize, the top finish came with a opportunity to present at IBM’s Think 2018 Conference. The submission was a Hyperledger-based, IBM Watson-powered parking reservation marketplace called The Spot Exchange.

In addition to the for-profit business models, I’ve also looked at Blockchain for social good. For the past few months, I have been working on a project that uses blockchain and artificial intelligence for social good. Specifically – providing identity, education, and family reunification services for Refugee Resettlement. For more information please visit ProjectSafeHarbor.com.

Locally, I serve as co-chair of the two Chicago-based blockchain meetups, Hyperledger Chicago & Chicago Blockchain in Real Estate.

What’s the one issue or problem you hope blockchain can solve?

One area where I believe blockchains have an enormous potential is improving the state of our current systems for establishing our digital identities. Consumers today are unrealistically expected to securely manage login information across hundreds of different websites. Unfortunately, this burden leads to poor password hygiene from many users, while slowly turning popular websites into an ever-growing target for hackers looking for large amounts of personal information. Two projects that I am following very closely that look to solve some of these issues in a decentralized and self-sovereign manner are Hyperledger Indy, and the Ethereum project uPort.

 

 

 

(3.28.18) CoinDesk: Hyperledger Tech Heats Up Ahead of Software Debuts

By | Hyperledger Burrow, Hyperledger Composer, Hyperledger Fabric, Hyperledger Indy, Hyperledger Iroha, Hyperledger Sawtooth, News

Just six minutes.

That’s how long Hyperledger executive director Brian Behlendorf had to get former Chilean president Michelle Bachelet up to speed on blockchain. Spurred by a special request from the nation’s lawmakers, Behlendorf was one of multiple blockchain experts called to the country to talk about the merits of the technology and the ways in which it could modernize the copper-rich nation’s mining supply chain.

More here.

超级账本夏季实习计划又来了

By | 网志, Hyperledger Composer, Hyperledger Fabric, Hyperledger Iroha

面向所有学生开发者: 2018年夏季是你通过Hyperledger 实习计划 获得真实世界经验的时候了。我们收集了大量由活跃的区块链开发人员提出并领导实习项目,希望通过与下一代工程师的合作来扩展Hyperledger项目和技术社区。

这是你的从超级账本社区一些领先的技术专家获得一对一指导的机会,可以建立您的项目开发履历,并帮助你投入到更大的超级账本生态系统。我们是否提到过,这些实习还包括奖学金和参加12月12日至15日在瑞士巴塞尔举行的 Hyperledger全球论坛的可能?你可以在任何地方工作!

现在已经开放申请,申请截止日期为3月23日下面描述了部分夏季项目的计划。

“超级账本实习计划对每个人都是一个巨大的机会: 实习,导师和广大的超级账本社区。我有幸看到去年夏天的实习生做的报告,并与里斯本的超级账本社区成员有所接触,他们的工作给我留下了深刻的印象。所有有关方面的反馈意见都是积极的。” – Chris Ferris, 超级账本技术委员会主席

构造中的算法纠纷解决

Construction is the second largest global industrial sector. Litigation accounts for approximately 10% of the expenditure. The industry suffers from a dysfunctional relationship between the architects, project managers, consultants, developers, and clients. This is a phased project that will model the workflows of a major construction project, in partnership with a leading UK contractor/project management company. The aim is to identify all relevant material prior to the contract being signed, automating the discovery phase of litigation, machining the large data set down to a ‘hearing bundle’ and then assessing ‘needs and interests’ prior to an automated resolution process. This is the first phase of the project and will focus on identifying the workflows and relevant documents, files and other digital material and on assembling them in the blockchain where authentication can take place and a ‘hearing bundle’ prepared.

扩展功能/Hyperledger Fabric中支持以太坊虚拟机(EVM)智能合约和工具

Hyperledger Burrow has created an EVM implementation that is being integrated into Fabric. In its initial phase, Hyperledger Fabric will support EVM bytecode smart contracts in a limited manner. Some of the features that need to be added include support for EVM smart contract events and extending support for the Ethereum API. This project will involve working with and understanding different blockchain platforms and being able to map their differing concepts.

Hyperledger Iroha的Python程序库

Hyperledger Iroha is designed for simple creation and management of assets. This is a distributed ledger of transactions. Interns are expected to make a full fledged Python library for Iroha. Later, in the next stage, we want the intern to maintain the docs of Iroha. There are many missing docs on getting started and about the internal works of Iroha. We expect the student to complete the doc part along with dev work.

Hyperledger身份工作组入职培训和认证

The Hyperledger Identity WG intern will be mentored by members of the Identity WG / Hyperledger Indy Maintainers and accomplish two main tasks: learn and develop an iPython notebooks for onboarding new community members and a browser-based authentication app using decentralized identifiers in Hyperledger Indy. This bachelors-level internship has two core goals: experience and contribution.

    • Experience: The Identity WG Intern will create interoperable, open-source code that will educate new and existing Hyperledger community members. Creating an iPython notebook and code sample will be based on their own onboarding into Hyperledger and Indy, using what they have learned in the process and helping the community by identifying what would be more effective in a better onboarding experience. For browser-based authentication with DIDs, Interns will learn critical professional development skills, from working in GIT to understanding the structure of well-formed code, to developing their own tests and proper documentation best practices.
    • Contribution:Through developing both projects (iPython notebooks / code samples and browser-based authentication with DIDs), the Intern will be making an important contributions to future Hyperledger community members onboarding efforts, the Hyperledger Indy codebase and the entire decentralized identity ecosystem.

Hyperledger Composer模型化工具

The Hyperledger Composer modelling language is used by both Hyperledger Composer and the Accord Project, Cicero as an object-oriented data description (schema) language, based on a textual domain-specific language. The intern will be tasked with improving the tooling for the the Hyperledger Composer modelling language, including the ability to generate UML style diagrams and web-forms.

更多实习项目与详情请点击这里, 并查看申请材料和步骤 。请记住, 申请截止日期为3月23日。  

如有问题, 请联系 internship@hyperledger.org.