No Packages, Mate

    @tharsis/proto
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.20 • Public • Published

    Proto

    Protobuf files used to generate cosmos/evmos transactions.

    Convert protobuf to Eth Transaction

    Example on how to convert protobuf message -> ethereum tx here

    Local generation

    Requirements:

    • brew install protoc
    • npm install -g protoc-gen-ts

    To generate the protobuf files on linux instead of OSX, remove the empty string after sed -i ''

    ./scripts/get_proto_files.sh
    ./scripts/create_proto_files.sh
    ./scripts/remove_grpc.sh
    ./scripts/remove_unused_dependencies.sh

    Note

    The lib @grpc/grpc-js was not included in the package.json, and all the services were manually removed from the autogenerated proto files to avoid having that dependency. This lib is just a tool to create the transactions, not to interact with a GRPC server, if you need the complete proto file you can locally run ./scripts/get_proto_files.sh and ./scripts/create_proto_files.sh

    Keywords

    none

    Install

    npm i @tharsis/proto

    DownloadsWeekly Downloads

    236

    Version

    0.1.20

    License

    MIT

    Unpacked Size

    9 MB

    Total Files

    711

    Last publish

    Collaborators

    • hanchon
    • tharsis-admin