A CosmWasm contract that queries the x/oracle module
The following repo contains a CosmWasm smart contract that queries exchange rates (i.e. prices) from the main chain. It passes a serialized gRPC query request to the main chain and deserializes the response.