Go to file
2020-03-09 23:44:26 +08:00
gradle/wrapper Update 2020-02-07 19:53:44 +08:00
src Update proto 2020-03-09 23:44:26 +08:00
.gitignore Fix .gitignore 2018-11-27 19:49:39 +08:00
.gitmodules Update 2020-02-07 19:53:44 +08:00
build.gradle Update client 2020-03-04 02:53:07 +08:00
gradlew Update 2020-02-07 19:53:44 +08:00
gradlew.bat Update 2020-02-07 19:53:44 +08:00
README.md Update docs 2019-04-24 00:18:08 +08:00
settings.gradle Update client 2020-03-04 02:53:07 +08:00

Dependencies:

  • io.grpc:grpc-netty-shaded
  • io.grpc:grpc-protobuf
  • io.grpc:grpc-stub

w/ Gradle

compile 'io.grpc:grpc-netty-shaded:' + grpc_java_version
compile 'io.grpc:grpc-protobuf:' + grpc_java_version
compile 'io.grpc:grpc-stub:' + grpc_java_version

w/ Maven

<dependency>
    <groupId>io.grpc</groupId>
    <artifactId>grpc-netty-shaded</artifactId>
    <version>${grpc_java_version}</version>
</dependency>
<dependency>
    <groupId>io.grpc</groupId>
    <artifactId>grpc-protobuf</artifactId>
    <version>${grpc_java_version}</version>
</dependency>
<dependency>
    <groupId>io.grpc</groupId>
    <artifactId>grpc-stub</artifactId>
    <version>${grpc_java_version}</version>
</dependency>

Usage

See Javadoc and src/test/java/bdchain/api/*Tests.java files.

Testing

  1. Download mock servers for Transaction Ledger & Accounting Chain
  2. Run mock servers with --port={{port}}
  3. Run gradle test