Chapter 6. Instantiating Your Blockchain
Now that you have a copy of your model and its artifacts in a bucket, you are ready to implement the blockchain that you will use to tether it. You will use Hyperledger Fabric as your blockchain system, which Chapter 2 explained in detail.
In the next section, you will instantiate a Hyperledger Fabric blockchain instance, test it, and implement chaincode. You will set up a single node that will be used, through the BTA interface, by each of your users as a tamper-evident record of their AI experiments.
Finally, you will set up an OCI connector so your blockchain can reach your bucket.
Exercise: Setting Up Hyperledger Fabric
Setting up the blockchain network is the next step. When you run the scripts for this exercise, you will create a node for each participant, simulated in Docker, which consists of a blockchain connector, a certificate authority, a network peer, and chaincode, as shown in Figure 6-1. You will also create channels, which allow the nodes to communicate with one another and play an important role in choosing which peers receive which data.
The blockchain connector is a Node.js script that is installed in each peer, which exchanges data between a web application and the peers. In Figure 6-2, the demo BTA network is shown with all of its participants, revealing how the peers interact using the channels. The o5-ai-engineer-channel is a personal channel of an AI engineer that stores the draft model. Another channel, c1-channel ...
Get Blockchain Tethered AI now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.