GitHubContribute in GitHub: Open doc issue|Edit online

Deploy a smart contract

A smart contract is the code, packaged as chaincode, that applications interact with to read and update data on the blockchain ledger. A smart contract turns business logic into an executable program that is agreed to and verified by all members of a blockchain network. This tutorial is the third part in the sample network tutorial series and describes how to deploy smart contracts to start transactions in the blockchain network.

Target audience: This topic is designed for network operators who are responsible for creating, monitoring, and managing the blockchain network. Additionally, application developers might be interested in the sections that reference how to create a smart contract.

Sample network tutorial series

You are currently on the third part of our three-part tutorial series. This tutorial guides you through the process of using the console to deploy a smart contract onto a channel in your IBM Support for Hyperledger Fabric network.

  • Build a network tutorial guides you through the process of hosting a network by creating an orderer and peer.
  • Join a network tutorial guides you through the process of joining an existing network by creating a peer and joining it to a channel.
  • Deploy a smart contract on the network (Current tutorial) Provides information on how to write a smart contract and deploy it on your network.

You can use the steps in these tutorials to build a network with multiple organizations in one cluster for the purposes of development and testing. Use the Build a network tutorial if you want to form a blockchain consortium by creating an orderer node and adding organizations. Use the Join a network tutorial to connect a peer to the network. Following the tutorials with different consortium members helps you create a truly distributed blockchain network.

Tutorial for a v2.x configured channel:

IBM Support for Hyperledger Fabric only supports v2.5.x Fabric images.