#protobuf #injective #update #protocols #parser #messages #protobug

injective-protobuf

Protobug parsing for Injective Protocol

3 releases

0.2.2 Dec 28, 2023
0.2.1 Nov 9, 2023
0.2.0 Aug 21, 2023

#2828 in Magic Beans

Download history 80/week @ 2024-01-08 74/week @ 2024-01-15 262/week @ 2024-01-22 356/week @ 2024-01-29 135/week @ 2024-02-05 336/week @ 2024-02-12 178/week @ 2024-02-19 219/week @ 2024-02-26 143/week @ 2024-03-04 173/week @ 2024-03-11 195/week @ 2024-03-18 180/week @ 2024-03-25 199/week @ 2024-04-01 57/week @ 2024-04-08 130/week @ 2024-04-15

566 downloads per month
Used in 2 crates (via cosmos-grpc-client)

Apache-2.0

1.5MB
32K SLoC

injective-protobuf

Rust protobuf files generation for Injective messages.

Prerequisites

Usage

  • ./scripts/protoexport.sh

    Downloads / Updates Injective and Cosmos SDK protobuf files under ./proto and ./third_party/proto/, using buf.

  • cargo build

    Generates the Rust protobuf files under ./src/proto.

Maintenance

  • The specific version / tag of the Injective and Cosmos SDK proto files should be indicated in the protoexport.sh file.

This is something that must be checked as part of each major release, and the sdk-go and cosmos-sdk reference updated accordingly.

Dependencies

~5.5–7.5MB
~157K SLoC