Socket
Socket
Sign inDemoInstall

bitbadgesjs-proto

Package Overview
Dependencies
Maintainers
1
Versions
337
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitbadgesjs-proto

Protobuf files for BitBadges.


Version published
Weekly downloads
8
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 25 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc