Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Blockchain Development with Hyperledger

You're reading from   Blockchain Development with Hyperledger Build decentralized applications with Hyperledger Fabric and Composer

Arrow left icon
Product type Course
Published in Mar 2019
Publisher Packt
ISBN-13 9781838649982
Length 636 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Authors (8):
Arrow left icon
Anthony O'Dowd Anthony O'Dowd
Author Profile Icon Anthony O'Dowd
Anthony O'Dowd
Petr Novotny Petr Novotny
Author Profile Icon Petr Novotny
Petr Novotny
Weimin Sun Weimin Sun
Author Profile Icon Weimin Sun
Weimin Sun
Nitin Gaur Nitin Gaur
Author Profile Icon Nitin Gaur
Nitin Gaur
Luc Desrosiers Luc Desrosiers
Author Profile Icon Luc Desrosiers
Luc Desrosiers
Venkatraman Ramakrishna Venkatraman Ramakrishna
Author Profile Icon Venkatraman Ramakrishna
Venkatraman Ramakrishna
Xun (Brian) Wu Xun (Brian) Wu
Author Profile Icon Xun (Brian) Wu
Xun (Brian) Wu
Salman A. Baset Salman A. Baset
Author Profile Icon Salman A. Baset
Salman A. Baset
+4 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (25) Chapters Close

Title Page
Copyright
About Packt
Contributors
Preface
1. Blockchain - Enterprise and Industry Perspective 2. Exploring Hyperledger Fabric FREE CHAPTER 3. Setting the Stage with a Business Scenario 4. Designing a Data and Transaction Model with Golang 5. Exposing Network Assets and Transactions 6. Business Networks 7. A Business Network Example 8. Agility in a Blockchain Network 9. Life in a Blockchain Network 10. Governance, Necessary Evil of Regulated Industries 11. Hyperledger Fabric Security 12. Introduction to Blockchain Technology 13. Ethereum Fundamentals 14. Overview of Solidity Programming 15. Building an Ethereum Blockchain Application 16. Exploring an Enterprise Blockchain Application Using Hyperledger Fabric 17. Implementing Business Networks Using Hyperledger Composer 18. Blockchain Use Cases 1. Other Books You May Enjoy Index

Writing chaincode


Chaincode is similar to a smart contract. It defines and executes the business logic invoked by authorized participants in a specific network. A chaincode is written in Go or Node.js. In our example, we will use Go.

There are many IDEs and tools to support Golang. Here are some popular IDEs that work great with Golang.

Development tools

There are various tools that support Go development. Some popular IDEs are listed in the following sections.

LiteIDE 

LiteIDE is an open source Go IDE that was directly designed for Golang. There are a bunch of useful features available for Go developers, including a configurable code editor, customized build commands, many building options, and Golang support.

JetBrains Gogland

Gogland has a powerful built-in autocomplete engine, errors detection, code refactoring tools, and more.

Visual Studio Code

You can install Go extension in Visual Studio Code. It provides code hints and the ability to debug code.

In this chapter, we will use LiteIDE to develop...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime