Description
Summary
We currently use wasmd
under-the-hood for creating transactions and querying the chain in the CLI. However, different deployment environments (e.g. Neutron) have their own tools which handle the subtle differences in versioning / encoding / whatever to interact with the chain.
We should make the choice of tool used under-the-hood to be configurable.
Implementation
Our wasmd
"client" code is contained in cosmwasm/packages/wasmd-library
. We can rename this package to something generalized, and introduce some sort of input field which is passed to the std::process:Command
initializer:
https://github.com/informalsystems/cycles-quartz/blob/e7cd6b1151eed017892bc45dee3af9f3f8ae93f9/cosmwasm/packages/wasmd-client/src/lib.rs#L86
A quick survey of neutrond / osmosisd should be done to see if there are any breaking differences between the APIs of these CLIs.
Acceptance Criteria
-
dev
runs flawlessly on a Neutron target.