Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] generate gRPC query clients from protobuf #79

Open
larry0x opened this issue Jun 7, 2023 · 0 comments
Open

[Feature request] generate gRPC query clients from protobuf #79

larry0x opened this issue Jun 7, 2023 · 0 comments

Comments

@larry0x
Copy link
Contributor

larry0x commented Jun 7, 2023

I want to write native Rust code to query an Osmosis node via gRPC. However, whereas osmosis-std comes with cosmwasm queriers, it doesn't come with gRPC query clients. I had to create my own version of proto-build (forked from cosmos-rust repo) and generate my own Osmosis Rust code: https://github.com/larry0x/osmosis-proto

It'd be great if osmosis-std also comes with gRPC query clients. It can be put behind an optional "grpc" feature, so when used in contracts, developers only need to turn off this feature (since grpc stuff isn't wasm-compatible). Happy to do a PR on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant