Skip to content

Latest commit

 

History

History

scribe

Scribe

The scribe is a rpc client that can assert the same data is coming from a range of rpcs.

./scribe backfill --config /path/to/config: Backfills to the current block and then stops ./scribe server --config /path/to/config: starts the server

Directory Structure

scribe
├── backfill: Used to fetch logs, receipts, and transactions to store in the database
├── cmd: The command line interface functions for running the Scribe and GraphQL server
├── config: Configuration files for the Scribe
├── db: The database schema and functions for interacting with the database
├── graphql: GraphQL implementation for the Scribe's recorded data
│   ├── client: The client interface for the GraphQL server
│   └── server: The server implementation for GraphQL
│       └── graph: The server's models, resolvers, and schemas
├── internal: Internal packages for the Scribe
└── node: The new block listener that calls backfill

Regenerating protobuf definitions:

make generate