lens
is your lens to view the Cosmos . lens
packs all the best practices in golang cosmos client developemnet into one place and provides a simple and easy to use APIs provided by standard Cosmos chains. The cmd
package implementes the lens
command line tool while the client
package contains all the building blocks to build your own, complex, feature rich, Cosmos client in go.
Intended use cases:
- Trading Bots
- Server side query integrations for alerting or other automation
- Indexers and search engines
This is the start of ideas around how to implement the cosmos client libraries in a seperate repo
- Switch
lens
from usingvar config *Config
as a global variable to alens.Config
struct pulled outcontext
in a similar manner to the way the SDK works. This should allow for generic reuse of thecmd
package to quickly build a new client. with standard functionality. - How to instantiate and use the GRPC golang client? This is not not currently obvious.
- Currently we are depending on the sdk keyring libs. This is fine for now but eventually the goal is to support our own keyring implemenation that is specifically for
lens
- Biggest TODO: is transaction generation and signing