# injective-std **BETA VERSION:** The bindings are currently tracking an unofficial release of Injective. Injective's proto-generated types and helpers built using [Buf](https://github.com/bufbuild/buf). Enables interaction with both custom and standard modules. ## Supported Version - Injective-Core@74af4ec3eceea1e7a59e2ae57fe848ae02d2f34f ## Build Instructions **Pre-requisites:** [Buf 1.17.0](https://github.com/bufbuild/buf) In order to generate an individual proto file run: ```shell buf generate [/path/to/injective-core] --template [/path/to/buf.gen.yaml] --output [output-path] --path [/path/to/module/proto] ``` Follow by: ```shell buf build [/path/to/injective-core] --as-file-descriptor-set -o [/tmp/path/injective/descriptor_injective.bin] --path [/path/to/module/proto] ``` Example `buf.gen.yaml` file: ```yaml plugins: - plugin: buf.build/community/neoeinstein-prost out: . opt: - extern_path=.google.protobuf.Timestamp=crate::shim::Timestamp - extern_path=.google.protobuf.Duration=crate::shim::Duration - extern_path=.google.protobuf.Any=crate::shim::Any ``` ### Examples Lets try to create the bindings for First create a directory with the dependencies as below: ```bash ├── README.md └── dependencies    ├── cosmos-sdk    ├── injective-core    └── wasmd ``` Next generate the proto: ```shell buf generate /Users/wandlitz/go/src/github.com/osmosis-labs/osmosis-rust/packages/proto-build-injective/../../dependencies/injective-core/proto --template /Users/wandlitz/go/src/github.com/osmosis-labs/osmosis-rust/packages/proto-build-injective/buf.gen.yaml --output ./tmp/tmp-protobuf/injective --path /Users/wandlitz/go/src/github.com/osmosis-labs/osmosis-rust/packages/proto-build-injective/../../dependencies/injective-core/proto/injective/auction ``` ```shell buf build /Users/wandlitz/go/src/github.com/osmosis-labs/osmosis-rust/packages/proto-build-injective/../../dependencies/injective-core/proto --path /Users/wandlitz/go/src/github.com/osmosis-labs/osmosis-rust/packages/proto-build-injective/../../dependencies/injective-core/proto/injective/auction ```