BETA VERSION:
The bindings are currently tracking an unofficial release of Injective.
Injective's proto-generated types and helpers built using Buf. Enables interaction with both custom and standard modules.
Pre-requisites:
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]
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