bitquery-corecast-proto
v1.0.2
Published
gRPC and Protobuf definitions for Solana CoreCast streaming API (Bitquery). Load Solana .proto files easily in Node.js to build real-time blockchain data clients.
Maintainers
Readme
bitquery-corecast-proto
A lightweight npm package that bundles Solana CoreCast protobuf files and provides a simple utility to load them into your Node.js project using @grpc/proto-loader.
This makes it easy to consume Bitquery’s Solana streaming APIs without manually copying .proto files.
📦 Installation
npm install bitquery-corecast-proto📂 What’s Included
This package ships with all .proto files from Bitquery’s streaming_protobuf/solana, including:
corecast/corecast.protocorecast/request.protocorecast/stream_message.protodex_block_message.protoblock_message.prototoken_block_message.protoparsed_idl_block_message.proto
🚀 Usage
- Import the Package.
const { loadPackageDefination } = require('bitquery-corecast-proto');- Use the Package to load defination.
const packageDefinition = loadPackageDefination(); const protoDescriptor = grpc.loadPackageDefinition(packageDefinition);⚖️ License
MIT © Bitquery
