Before we can deploy our smart contract, we need to put the latest version of the chaincode into a .zip
file. The content of the .zip
file is a directory with the same name as the Go source file, and of course the Go source file itself is placed in that directory. You can download the latest version of this file from https://git.io/fAH3Q.
Follow these steps to create a valid deployment artifact:
- Create a directory called
insurancechain
on your filesystem - Put the downloaded file (
insurancechain.go
) into this directory - Create a
.zip
archive of theinsurancechain
directory
The artifact should look like the following screenshot:
The insurancechain .zip archive, including the insurancechain directory and Go source file
After creating the .zip
artifact mentioned in the preceding steps, we can start deploying and installing it on our business network. Let's start by first logging into the administration console of the founder of the network (Acme). The URL may look similar...