A gRPC client library for connecting to BCHD full nodes from web browsers and Node.js. Version 0.15.1 is the latest stable release, with regular updates. It provides access to BCHD's gRPC API including transaction queries, block subscription, and SLP token support when the node has SLP indexing enabled. Key differentiators: designed specifically for BCHD, supports browser via unpkg, includes automatic txid endianness reversal, and offers both web and Node.js transports.
npm install grpc-bchrpc-webNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to instantiate GrpcClient, set Node.js transport, and fetch a raw transaction with reversed hash order.
Replace 'reverseHash' with 'reversedHashOrder' in all method calls.
Add { skipSlpValidityChecks: true } to SubmitTransaction options if the node does not have SLP indexing.Add the transport setup line at the top of your Node.js script.
Use npm package instead of unpkg for non-trivial applications.
Add "DOM" to "lib" array in tsconfig.json.
Call grpc.setDefaultTransport(NodeHttpTransport()) before instantiating GrpcClient.
Run 'npm install grpc-bchrpc-web' and ensure import path is correct.
Update to version 0.10.3 or later: 'npm install grpc-bchrpc-web@latest'.
No dependency data recorded yet.