Skip to content

Some quick tips for where to get started with IBM Blockchain

Notifications You must be signed in to change notification settings

shsedghi/getting-started

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Getting Started with IBM Blockchain on Bluemix

We have developed the Hyperledger Fabric into a service on Bluemix. Provisioning an instance of this service gives you a small blockchain network consisting of two peers and one certificate authority server (CA). You can then deploy and test your own smart contract code (chaincode) on this blockchain network and implement applications utilizing it.

Provisioning your own instance of the Bluemix service:

  1. Find the service in Bluemix.
  2. Sign up for a Bluemix account and/or provision an instance.
  3. After the service is created and you are taken to the service panel, view the credentials that were created for your service. These credentials should be passed into the Blockchain SDK when you start building your blockchain application.
  4. Open the monitoring dashboard for your service instance. The monitoring dashboard you see should have tabs for viewing your network, peer logs, the state of you blockchain, peer APIs, and demo chaincode.

Getting Started with the Blockchain SDK

  1. Find the SDK documentation.
  2. Read the documentation. It will walk you through the process of initializing the SDK with connection information for your network and some information about the chaincode you want to deploy. After that, you can deploy, invoke, and query you chaincode from whatever NodeJS application you want to build.

Deploying your application to Bluemix

First, deploy your own instance of the marbles demo. It’s just a few clicks, and it will show you what it takes to get an application running on Bluemix. After you have configured your app to run on Bluemix, deploying it from the command line is easy. See, the marbles demo manifest file, app.js, and setup.js in order to see how to configure a NodeJS application for Bluemix. If reference documentation is more your style, see the Cloud Foundry documentation on deploying applications.

Getting started with the Hyperledger Fabric

Fabric is a blockchain project in incubation that proposed to the community and documented here . Information on what incubation entails can be found in the Hyperledger Project Lifecycle document.

The documentation around the Fabric changes as new features and enhancements are added to the Fabric. Consider what you see there as the ultimate truth. Here is a quick summary of what you need to do to run the Fabric code yourself:

  1. Set up a development environment on your machine. This will involve installing Go, Vagrant, and some other dependencies. This environment will let you run a Hyperledger network on your local machine.
  2. Download, build, and test the Fabric code, just to make sure you set everything up correctly.
  3. Create a blockchain network by starting and connecting some peers.
  4. Deploy some example chaincode and play around with querying it and invoking transaction on it.
  5. Learn how to write your own chaincode.
  6. Build your own blockchain app!

About

Some quick tips for where to get started with IBM Blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages