This package contains an extensible plugin system for the Cosmos-SDK. The plugin system leverages the hashicorp/go-plugin system. This system is designed to work over RPC.
Although the go-plugin
is built to work over RPC, it is currently only designed to work over a local network.
For an overview of supported features by the go-plugin
system, please see https://github.com/hashicorp/go-plugin. The go-plugin
documentation is located here. You can also directly visit any of the links below:
To expose plugins to the plugin system, you will need to:
- Implement the gRPC message protocol service of the plugin
- Build the plugin binary
- Export it
Read the plugin documentation in the Streaming Plugins section for examples on how to build a plugin.
List of support streaming plugins