Go to file
2019-04-24 00:18:08 +08:00
gradle/wrapper Add dependencies 2018-09-11 22:19:08 +08:00
src Update docs 2019-04-24 00:18:08 +08:00
.gitignore Fix .gitignore 2018-11-27 19:49:39 +08:00
.gitmodules Update submodule 2018-10-11 16:26:59 +08:00
build.gradle Upgrade dependencies 2019-04-15 09:31:36 +08:00
gradlew Initial commit 2018-09-11 16:06:10 +08:00
gradlew.bat Initial commit 2018-09-11 16:06:10 +08:00
README.md Update docs 2019-04-24 00:18:08 +08:00
settings.gradle Initial commit 2018-09-11 16:06:10 +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