yellowstone-grpc/typescript
Nikita Baksalyar 15640975c7
Fix JS and TS clients compatibility with older Nodejs versions (#60)
2023-02-22 15:06:34 +05:30
..
src Fix JS and TS clients compatibility with older Nodejs versions (#60) 2023-02-22 15:06:34 +05:30
.gitignore Add simple TypeScript client (#41) 2023-02-17 12:08:06 +05:30
README.md Add simple TypeScript client (#41) 2023-02-17 12:08:06 +05:30
package-lock.json Add simple TypeScript client (#41) 2023-02-17 12:08:06 +05:30
package.json Add simple TypeScript client (#41) 2023-02-17 12:08:06 +05:30
tsconfig.json Add simple TypeScript client (#41) 2023-02-17 12:08:06 +05:30

README.md

TypeScript gRPC client example

Prerequisites

You need to have the latest version of protoc installed. Please refer to the installation guide on the Protobuf website.

Usage

Install required dependencies by running

npm install

Build the project (this will generate the gRPC client and compile TypeScript):

npm run build

Run it:

node . --help