Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 2.63 KB

use_bluemix_hyperledger.md

File metadata and controls

44 lines (29 loc) · 2.63 KB

Use Bluemix IBM Blockchain Network:

Creating a Blockchain Network in IBM Bluemix

  1. Don't fret, this is as simple as clicking on a particular button and filling out a text input field or two. There is a Bluemix tile that will create your own personal blockchain network. All you have to do is find the tile and give the network a name.

  2. First create an IBM ID if you do not already have one.

  3. Then login to Bluemix

  4. Click the "Catalog" link on the top navigation bar

  1. Find and click the "Blockchain" tile. Type blockchain in the search box to filter the list.

  1. The space used is listed in the Name/Region/Org/Space bar at the top right. If you want to create the network in a different space, click this bar to bring up the option to change or create a new space.

  1. Click on the text bar under "Service Name" to rename "Blockchain-bx" to "myblockchain" without the quotes
  2. Leave the "Credential name" field as its default value
  3. Leave the "Connected To:" field as "Leave unbound" (unless you already have an application, but you probably don't yet)
  4. Leave the "Selected Plan" as its default value
  5. Click the "Create" button at the bottom right.

If all goes well you should be on the manage screen for your new service. Click the "Launch Dashboard" button to see the dashboard for your network.

  • You should see a few peers listed in the first table

  • From here you can monitor if your peers crash, if the chaincode containers are running, and view logs for all

(Note if you find yourself on the main Bluemix Dashboard and want to get back to this service screen just click the tile name "myblockchain" in the "Services" section)

Finished

The network is all setup. If you want more detail on the IBM Blockchain service, available plans, or a detailed overview of the IBM Blockchain Dashboard, continue here

  1. Next we need to copy the peer data and pass it to our demo node.js application.
  2. Click the "Service Credentials" link on the very bottom left of the dashboard.
  3. This will open the file in your browser. Replace the entire contents of the mycreds.json file in the root of the /git/<project> directory you cloned earlier with this text.
  4. Continue where you left off in CP-WEB.