You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…t_balance` part) (#663) #511
Solution:
* Replace REST API with `grpc-web` for `get_account_balance` functions.
* Update CPP example.
* Fix CPP integration-test.
* Replace `mainnet.crypto.org:1317` with GRPC URL `mainnet.crypto.org:9090`.
* Fix JS example for balance query.
* Update JS example to make work with local chain-main.
https://github.com/crypto-com/defi-wallet-core-rs/blob/main/common/src/node/cosmos_sdk.rs#L261
some of the Cosmos SDK client functions use REST API -- the reason for it was that cosmos-sdk-proto had the default generation of proto definitions which doesn't work with grpc-web.
This seems to be feature-guarded now by
grpc-transport
: https://github.com/cosmos/cosmos-rust/blob/main/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.bank.v1beta1.rs#L125 so it should be possible to use grpc-web.Perhaps the
CosmosSDKClient
and nft'sClient
can be unified?The text was updated successfully, but these errors were encountered: