-
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.
-
First create an IBM ID if you do not already have one.
-
Then login to Bluemix
-
Click the "Catalog" link on the top navigation bar
- Find and click the "Blockchain" tile. Type
blockchain
in the search box to filter the list.
- 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.
- Click on the text bar under "Service Name" to rename "Blockchain-bx" to "myblockchain" without the quotes
- Leave the "Credential name" field as its default value
- Leave the "Connected To:" field as "Leave unbound" (unless you already have an application, but you probably don't yet)
- Leave the "Selected Plan" as its default value
- 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)
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
- Next we need to copy the peer data and pass it to our demo node.js application.
- Click the "Service Credentials" link on the very bottom left of the dashboard.
- 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. - Continue where you left off in CP-WEB.