0.2.0 • Published 1 year ago

@farcaster/protobufs v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@farcaster/protobufs

Specifications for API's and data formats used in Hubble, including both Farcaster protocol types and Hubble specific types.

SchemaType DescriptionDocs
MessageTypes for Farcaster deltasdocs
RPCTypes for gRPC APIs exposed by Hubsdocs
GossipTypes for gossiping data between Hubs
IdRegistryEventTypes for representing on-chain activity
NameRegistryEventTypes for representing on-chain activity
HubStateTypes for for maintaining internal state

Getting Started

Generate Bindings

Coming soon

Generate Docs

Documentation of gRPC endpoints is done manually, but protoc can be used to generate Message docs:

  1. Install protoc
  2. Download latest protoc-gen-doc binary from the repo and place in this folder
  3. On OS X, you may need to remove the binary from quaratine with xattr -d com.apple.quarantine protoc-gen-doc
  4. Run protoc --plugin=protoc-gen-doc=./protoc-gen-doc --doc_out=. --doc_opt=markdown,message.md src/schemas/message.proto

The output should be merged with the existing documentation by hand because it makes some errors like not correctly documenting oneOf. It also organizes items alphabetically which makes it harder to parse.

0.1.10

1 year ago

0.1.11

1 year ago

0.2.0

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.9

1 year ago

0.1.6

1 year ago

0.1.4

1 year ago

0.1.5

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago