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...