agunde406 / sawtooth-sdk-java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hyperledger Sawtooth

Hyperledger Sawtooth Java SDK

Install Sawtooth Java SDK from Maven Central Repository

Build a Sawtooth transaction processor

    <dependency>
        <groupId>org.hyperledger.sawtooth</group>
        <artifactId>sawtooth-sdk-transaction-processor</artifactId>
        <version>v0.1.2</version>
    </dependency>

Sign and verify signatures of transaction and batch headers

    <dependency>
        <groupId>org.hyperledger.sawtooth</groupId>
        <artifactId>sawtooth-sdk-signing</artifactId>
        <version>v0.1.2</version>
    </dependency>

Send messages to the Sawtooth validator interfaces (infrequent use case)

    <dependency>
        <groupId>org.hyperledger.sawtooth</groupId>
        <artifactId>sawtooth-sdk-protos</artifactId>
        <version>v0.1.2</version>
    </dependency>

Examples (sawtooth-sdk-java/examples)

Work on the Sawtooth SDK

Build the Sawtooth SDK

Requirements:

  • Maven 3

Pull requests against the repo at https://github.com/hyperledger/sawtooth-sdk-java are automatically built using the Jenkinsfile in the repository.

Important build steps in the Jenkinsfile:

  • docker-compose -f docker/compose/java-build.yaml up (builds the SDK and examples)
  • Run docker-compose up on each of the test yaml files in intkey_java/tests/* and xo_java/tests/*

Make A Pull Request

Follow the guidelines in the Contributing documentation for making a pull request.

About

License:Apache License 2.0


Languages

Language:Java 92.1%Language:Shell 7.9%