Giter Club home page Giter Club logo

getting-started's Introduction

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!

getting-started's People

Contributors

dshuffma-ibm avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.