GithubHelp home page GithubHelp logo

samkenxstream / samkenxfabric-network-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wearetheledger/fabric-network-boilerplate

0.0 1.0 1.0 2.75 MB

Boilerplate for starting your hyperledger fabric network

Home Page: https://theledger.be.samkenx.org

License: MIT License

Shell 48.23% JavaScript 0.49% Go 19.90% TypeScript 31.38%

samkenxfabric-network-boilerplate's Introduction

Hyperledger Fabric Network boilerplate

This repo is a snippet of the fabcar fabric sample with the basic network. It also includes our fabric-node-chaincode-utils to test and develop nodejs chaincode. It contains a fabric network with 1 peer and 1 CA.

Starting

Before starting, you will need to pull all the images of Hyperledger fabric to your desktop and tag them as latest. We included a script to do this. By default it will try to pull in 1.4.4 but you can pull a custom version by adding the version as a parameter.

./scripts/bootstrap.sh [optional_custom_version]

Starting this network requires you to run following command. This will automatically setup your docker network using docker-compose and install your chaincode.

./scripts/startFabric.sh

Writing chaincode

For writing chaincode we're using our package fabric-node-chaincode-utils, which makes writing chaincode much faster and easier.

Testing

For testing we're using our package fabric-mock-stub in wich we wrote a mock chaincode stub for imitating the way the actual stub handles the interaction with Hyperledger Fabric.

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.