JavaScript client for interacting with the Pactus blockchain via gRPC. Current stable version is 1.13.0. The package provides protobuf-generated classes and gRPC service stubs for blockchain, transaction, wallet, and network operations. Key differentiator: direct gRPC interface to Pactus nodes without REST intermediaries. Supports both Node.js and browser environments. Published with moderate release cadence aligned with Pactus network updates.
npm install pactus-grpcNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a gRPC client to query blockchain info from a local Pactus node.
Use ES module import syntax or set \"type\": \"module\" in package.json.
Always import classes from their respective *_pb.js or *_grpc_pb.js files.
Verify Pactus node configuration and network connectivity.
Upgrade to 1.x and switch to direct imports from generated files.
Run 'npm install pactus-grpc' and verify node_modules contains the package files.
Use import { BlockchainClient } from 'pactus-grpc/blockchain_grpc_pb';Start the Pactus node and ensure port 50051 is accessible.