Giter VIP home page Giter VIP logo

mf-chaincode's Introduction

MetaHL Fabric

Chain Code

The MetaHL Fabric Chain Code implements a data/asset management for your blockchain. It originates from the NutriSafe research project and is part of its official toolkit. You can read, write, update, create and delete objects in the blockchain network with simple commands and even define new object types (so called meta objects). Combined with the MetaHL Fabric REST API, different roles from different use cases of an organization can be mapped to users with customizable access rights via the REST API for all chaincode functions.

Possible use cases include, but are not limited to:

  • read access for the company's management dashboard
  • automatic creation of new virtual products by supported machines (after physically creating a product)
  • manual updates of product attributes by certified laboratories
  • tracing product origins on the underlying supply chains

Features

We continuously work on and extend the Chain Code. Combined with the MetaHL Fabric REST API the following incomplete feature list might give you at least an idea about the capabilities:

  • creating, deleting, updating and reading objects from the chain
  • definition of new object types and possible attributes (meta objects)
  • user management with roles and user assignable whitelists for restricting chaincode calls
  • authentication with bruteforce force protection
  • filtered selection of object IDs

Installation

Before you install the chain code make sure your network is set up.

We recommend to start with the startNetwork.sh script for fabric-version2x of the NutriSafe network tools.

  cd fabric-version2x/
  ./startNetwork.sh

For an easy installation of the chain code, you only need to copy the MetaHL Fabric Chain Code sources into the chaincode folder and run the installCC.sh script.

  cd chaincode/
  git clone https://github.com/OTARIS/MF-Chaincode/ MF-Chain-Code
  cd ..
  ./installCC.sh -c MF-Chain-Code

For easy use to the chain code, do not forget to check out the MetaHL Fabric REST API repo!

License

Copyright 2021 OTARIS Interactive Services GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Third party

  • Hyperledger® Fabric (Apache 2.0)
  • Google® GSON (Apache 2.0)

mf-chaincode's People

Contributors

dl-ota avatar kk-ota avatar tobias263 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.