Code Monkey home page Code Monkey logo

fabric-sdk-net's Introduction

fabric-sdk-net

Build status

Direct .NET port from fabric-sdk-java

Master branch is 1.3 WIP

There is a working 1.1 version in tags

Both versions are alpha, but 1.3 is wip.

  • SDK Porting from JAVA done.
  • Both sdk compile ok.
  • Unit testing SDK_CA passing
  • Unit testing SDK_CA_Integration passing (v1.3 and v1.4).
  • Unit testing SDK passing.
  • Unit testing SDK_Integration all but Idemix (Idemix test issues)
  • All the code is async to the bone. But Sync methods are presented on both sdk for easy porting.
  • Net Standard 2.0. Both .NET Core and .NET Framework are supported

.NET SHIM (upto v1.4)

Integration Testing on Windows 10 and Visual Studio How-To

  1. Install Docker For Windows https://docs.docker.com/docker-for-windows/install

    Install Ubuntu Store App https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6?activetab=pivot:overviewtab

  2. Follow this Guide replacing "1.1.0" with "1.3.0" if you targeting Fabric 1.3.0

    https://medium.com/coinmonks/hyperledger-fabric-1-1-0-on-windows-fd142651a904

  3. In Bash

    cd "/c/[FABRIC-SDK-NET-REPO]/TestData/Fixture/SdkIntegration"

    For Every SDK Integration Playlist or Test

    ./fabric.sh restart (since a clean sheet is needed for the tests)

TODO

On FABRIC (Help requested)

  • Creation of the docker script for microsoft/dotnet:sdk (Fabric will call it, will build the .net chaincode).
  • Creation of the docker script for dotnet:runtime into fabric (the .net chaincode build will be injected into bin/chaincode of this image)
  • Add the required platform code in fabric to support the above.

On this SDK

  • Add .NET chaincode upload (source and/or compiled)
  • More Cleanup, and .NET Design Guidelines. Code already start to diverge from the original JAVA version
  • Remove JAVA idiosyncrasies
  • Better Multi-Thread and Locking approach on some Methods. Like ServiceDiscovery Thread (Not felling right about it)

On the SHIM

  • Visual Studio Templates?

fabric-sdk-net's People

Contributors

maxpiva avatar

Watchers

 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.