osmosis-std
Rust library for interacting with osmosis. CosmWasm compatible.
CosmWasm stargate message and stargate query
You can find all types and querier generated from osmosis's protobuf in their respective module in osmosis_std
.
Full working example contract can be found here.
Publishing Osmosis' message from CosmWasm Contract
use MsgCreateDenom;
// ..
Querying Osmosis' module
This will not currently work on mainnet until osmosis v12.. But meanwhile, if you want to test this out, you can by using osmosis hackatom-seoul branch which we enabled all stargate query for hacking purpose!
# build and run localosmosis with hackatom-seoul branch (docker required)
&&
use TokenfactoryQuerier;
// ..
Non-CosmWasm Client
(WIP)