fabric-sdk-java | SDK provides a layer abstraction on top | Blockchain library

 by   hyperledger Java Version: 2.2.24 License: Apache-2.0

kandi X-RAY | fabric-sdk-java Summary

kandi X-RAY | fabric-sdk-java Summary

fabric-sdk-java is a Java library typically used in Blockchain applications. fabric-sdk-java has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can download it from GitHub, Maven.

The SDK provides a layer of abstraction on top of the wire-level protobuf based communication protocol used by client applications to interact with a Hyperledger Fabric blockchain network. It allows Java applications to manage the lifecycle of Hyperledger channels and user chaincode. The SDK also provides a means to execute user chaincode, query blocks and transactions on the channel, and monitor events on the channel. The SDK acts on behalf of a particular User which is defined by the embedding application through the implementation of the SDK's User interface. Note, the SDK does not provide a means of persistence for the application defined channels and user artifacts on the client. This is left for the embedding application to best manage. Channels may be serialized via Java serialization in the context of a client. Channels deserialized are not in an initialized state. Applications need to handle migration of serialized files between versions. The SDK also provides a client for Hyperledger's certificate authority. The SDK is however not dependent on this particular implementation of a certificate authority. Other Certificate authority's maybe used by implementing the SDK's Enrollment interface. This provides a summary of steps required to get you started with building and using the Java SDK. Please note that this is not the API documentation or a tutorial for the SDK, this will only help you familiarize to get started with the SDK if you are new in this domain.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              fabric-sdk-java has a medium active ecosystem.
              It has 1094 star(s) with 723 fork(s). There are 113 watchers for this library.
              There were 1 major release(s) in the last 6 months.
              There are 3 open issues and 19 have been closed. On average issues are closed in 21 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of fabric-sdk-java is 2.2.24

            kandi-Quality Quality

              fabric-sdk-java has 0 bugs and 0 code smells.

            kandi-Security Security

              fabric-sdk-java has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              fabric-sdk-java code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              fabric-sdk-java is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              fabric-sdk-java releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed fabric-sdk-java and discovered the below as its top functions. This is intended to give you an instant insight into fabric-sdk-java implemented functionality, and help decide if they suit your requirements.
            • Send transaction proposal to end of chaincode .
            • Find endpoints for the chaincode names .
            • Connects to the client .
            • Send an envelope to the OrderedChannel .
            • Generate package data bytes .
            • Sets up the SSL properties .
            • Reconstructs a channel from a JSON channel .
            • Parse identities from identity map .
            • Verifies the endorsement response .
            • Add properties for a channel builder .
            Get all kandi verified functions for this library.

            fabric-sdk-java Key Features

            No Key Features are available at this moment for fabric-sdk-java.

            fabric-sdk-java Examples and Code Snippets

            No Code Snippets are available at this moment for fabric-sdk-java.

            Community Discussions

            QUESTION

            How to notify client of block commit and/or transaction status using events in HLF?
            Asked 2020-May-08 at 07:28

            I am working on a client that needs to be notified of the status of any given blockchain transaction. To that end I am learning how to make use of events to achieve this. I tried referring to the official documentation on events in HLF 1.4 (found here) but the link to the SDK documentation is dead. I also found this question but the provided links are all dead as well.

            Then I came across the Fabric Gateway implementation (mentioned here), and I found BlockListenerTest, which forms the basis for this question.

            My current scratch code looks like this:

            ...

            ANSWER

            Answered 2020-May-04 at 10:18

            To use the high level Gateway SDK, you need to start by creating a Gateway object, then get a network object from that (use the sample code here as a start). From the network object, you can invoke addBlockListener() passing in your consumer function. Then when you invoke submitTransaction on your contract object, your listener should get invoked.

            In terms of tests, you're probably better off looking at the scenario test code here, here and here for examples of usage.

            Source https://stackoverflow.com/questions/61521702

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install fabric-sdk-java

            If you want to get started using the Fabric Java SDK with Eclipse, refer to the instructions at: ./docs/EclipseSetup.md.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
            Maven
            Gradle
            CLONE
          • HTTPS

            https://github.com/hyperledger/fabric-sdk-java.git

          • CLI

            gh repo clone hyperledger/fabric-sdk-java

          • sshUrl

            git@github.com:hyperledger/fabric-sdk-java.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Reuse Pre-built Kits with fabric-sdk-java

            Consider Popular Blockchain Libraries

            bitcoin

            by bitcoin

            go-ethereum

            by ethereum

            lerna

            by lerna

            openzeppelin-contracts

            by OpenZeppelin

            bitcoinbook

            by bitcoinbook

            Try Top Libraries by hyperledger

            fabric

            by hyperledgerGo

            fabric-samples

            by hyperledgerTypeScript

            sawtooth-core

            by hyperledgerPython

            blockchain-explorer

            by hyperledgerJavaScript

            besu

            by hyperledgerJava