Skip to content

gRPC Server Extension 0.17.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@Karasiq Karasiq released this 22 May 10:45

About

gRPC Server extension allows to access a Waves Node with gRPC instead of classic REST API, using the lang-agnostic protobuf schemes, reworked interfaces and gRPC built-in first-class streaming support.

How to install (using systemd TESTNET installation)

  1. Download the attached grpc-server-0.17.2-1-g86152e8.tgz file
  2. Extract it
  3. Copy all files from the extracted grpc-server-0.17.2-1-g86152e8 directory into the /usr/share/waves-testnet
  4. Add line to the /usr/share/waves-testnet/conf/local.conf file: waves.extensions += com.wavesplatform.api.grpc.GRPCServerExtension
  5. Restart the waves-testnet service

Currently implemented services

  • Accounts
  • Assets
  • Blockchain Features
  • Blocks
  • Transactions
  • ... (may be extended in the future)

Example usage

How to configure

Default config is

waves.grpc {
  host = localhost
  port = 6870
}

For example you can change the port with a line waves.grpc.port = 123 added to the /usr/share/waves-testnet/conf/local.conf file