Loading…

Give us feedback on this eventParticipate in User ResearchLearn more about the IBM Blockchain Platform

The best way to get started with the IBM Blockchain Platform is with the newly created Starter Kit. Simon Stone, one of our lead engineers and the creator of Starter Kit, will walk us through how to get started. For those participating in Challenge Accepted, we will cover an introduction to the hackathon as well as how to get started (Challenge Accepted, challenge 5).

This is part 1 in our series: Challenge Accepted: Developing a Blockchain Application with Starter Plan.

Resources for you

Challenge Accepted: Enroll in the hackathon.

Starter Plan: Sign up for the IBM Blockchain Platform Starter Plan.

Starter Kit: Download the kit to quickly build apps on the IBM Blockchain Platform.

Simon Stone introduces the IBM Blockchain Platform Starter Plan and the hackathon challenge. This is part 1 in our series: Challenge Accepted: Developing a Blockchain Application with Starter Plan.

 

Sign up to receive invitations to future webcasts in this series.

Subscribe by email | Subscribe on YouTube

In this video:

6 comments on"Blockchain Innovators: Getting Started with Starter Kit (1/6)"

  1. Hi,

    Thank you for such an initiative. I appreciate all of your efforts in educating and socialzing blockchain starter kit. I followed the steps as mentioned in the video and when I looked in to Devops pipeline after commiting the addition of smart contract files in to the project, I am getting below error in the BUILD activity,

    [grpc] Success: “/home/pipeline/e2cc7665-2538-458c-b1fc-532313035ba8/contracts/ahamed-blockchain-network/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64-glibc/grpc_node.node” is installed via remote
    npm notice created a lockfile as package-lock.json. You should commit this file.
    npm WARN ahamed-blockchain-network@0.0.1 No repository field.

    added 732 packages in 48.652s
    + npm test

    > ahamed-blockchain-network@0.0.1 test /home/pipeline/e2cc7665-2538-458c-b1fc-532313035ba8/contracts/ahamed-blockchain-network
    > mocha –recursive

    /home/pipeline/e2cc7665-2538-458c-b1fc-532313035ba8/contracts/ahamed-blockchain-network/test/logic.js:21
    const cardStore = new MemoryCardStore();
    ^

    TypeError: MemoryCardStore is not a constructor

    Can you please let me know, what is the root cause for this error and how it can be resolved?

  2. Two questions:
    1) One of the people mentioned a coder program (or project) discussion board. Can you provide instructions for where that is?
    2) You need a .bna file to generate the skeletal Angular web app. How do we do that? (Or is that in another video of this series?) I did not find the .bna file on my system.

  3. I created some “How To” Notes that hopefully will help people::

    Example values:
    Toolchain name: BCStarterTC
    Application BCStarter
    Name of the user: _name_
    Email of the user: _email_

    Installs
    – MS Visual Studio Code
    – Node (see https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions)
    curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash –
    apt-get install -y nodejs
    – Yeoman
    npm install -g yo
    – Install Hyperledger Composer Generator for yeoman
    npm install -g generator-hyperledger-composer

    Create the Toolchain
    Toolchain name: BCStarterTC
    Application BCStarter
    GIT URL: https://github.com/name/BCStarter.git

    Clone the GitHub repository
    _name_@ubuntu:~/BC$ git clone https://github.com/_name_/BCStarter.git
    _name_@ubuntu:~/BC$ code .

    Create Smart Contract
    _name_@ubuntu:~/BC/BCStarter/contracts$ yo hyperledger-composer
    Welcome to the Hyperledger Composer project generator
    ? Please select the type of project: Business Network
    You can run this generator using: ‘yo hyperledger-composer:businessnetwork’
    Welcome to the business network generator
    ? Business network name: bcstarternet
    ? Description: bc starter network
    ? Author name: _name_
    ? Author email: _email_
    ? License: Apache-2.0
    ? Namespace: org.bcstart
    ? Do you want to generate an empty template network? No: generate a populated sa
    mple network
    create package.json
    create README.md
    create models/org.bcstart.cto
    create permissions.acl
    create .eslintrc.yml
    create features/sample.feature
    create features/support/index.js
    create test/logic.js
    create lib/logic.js
    _name_@ubuntu:~/BC/BCStarter/contracts$

    Push changes
    _name_@ubuntu:~/BC/BCStarter/contracts$ git add .
    _name_@ubuntu:~/BC/BCStarter/contracts$ git commit -s -m “Add smart contract”
    [master 2772589] Add smart contract
    9 files changed, 905 insertions(+)
    create mode 100755 contracts/bcstarternet/.eslintrc.yml
    create mode 100644 contracts/bcstarternet/README.md
    create mode 100644 contracts/bcstarternet/features/sample.feature
    create mode 100644 contracts/bcstarternet/features/support/index.js
    create mode 100644 contracts/bcstarternet/lib/logic.js
    create mode 100644 contracts/bcstarternet/models/org.bcstart.cto
    create mode 100644 contracts/bcstarternet/package.json
    create mode 100644 contracts/bcstarternet/permissions.acl
    create mode 100644 contracts/bcstarternet/test/logic.js
    _name_@ubuntu:~/BC/BCStarter/contracts$ git push
    _name_@ubuntu:~/BC/BCStarter/contracts$

  4. Mehul Shah June 27, 2018

    I would like to enable authentication and multi-user configuration for the loopback rest-server. What is the recommended way my locally installed composer-cli to create cards and issue identities for the cloud hosted blockchain deployment? I followed the steps here https://github.com/IBM/global-citizen performing all steps except #7 to try and use my locally installed composer-cli to communicate with the blockchain deployment to be able to ping it. I get an error message on the ping that the newly created network admin is not registered. How can the network admin card created by the startup-kit be downloaded? Is there a way to get shell access to the org peers and perform card management?

Join The Discussion

Your email address will not be published. Required fields are marked *