gRPC Server installation

The gRPC Server extension can be installed on the node by two methods: using deb package or using ZIP file.

Installation via deb package

  1. Download deb package from the Releases page (Assets section) on Github. For the main network it is grpc-server_{version number}_all.deb file, for test network it is grpc-server-testnet_{version number}_all.deb.

  2. Install the package using the command:

sudo dpkg -i grpc-server_{version number}_all.deb
  1. Add the following string to the configuration file:
waves.extensions += com.wavesplatform.api.grpc.GRPCServerExtension

For the main network, the configuration file is located at /etc/waves/waves.conf, for the test network at /etc/waves-testnet/waves.conf.

  1. Restart the node.

If the node is running in the main network, run the command:

sudo systemctl restart waves

If the node is running in the test network, run the command:

sudo systemctl restart waves-testnet

Installation via ZIP file

  1. Download grpc-server-{version number}.zip file from Releases page (Assets section) on Github.
  2. Unpack the archive to the directory containing node's JAR-file.
  3. Create a new configuration file or open the existing one and add to it the following string:
waves.extensions += com.wavesplatform.api.grpc.GRPCServerExtension
  1. Run command:
java -cp 'waves-all-1.0.0.jar:grpc-server-1.0.0/lib/*' com.wavesplatform.Application {configuration file name}.conf

results matching ""

    No results matching ""