Skip to content

Commit

Permalink
Document what common-ts includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis committed Dec 21, 2020
1 parent e2ab2e5 commit 32144d8
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions packages/common-ts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,42 @@

**NOTE: THIS PROJECT IS BETA SOFTWARE.**

## Documentation

`@graphprotocol/common-ts` is a TypeScript utility library for The Graph. It
currently provides the following functionality:

- Type-safe contract bindings to interact with The Graph Network on mainnet
and rinkeby.

- Create query response attestations using
[EIP-712](https://eips.ethereum.org/EIPS/eip-712).

- A GraphQL client to query The Graph Network network subgraph

- Graph Token (GRT) formatting and parsing.

- Validation and type-safe handling of subgraph deployment IDs.

- Type-safe and normalized Ethereum addresses.

Convenience features:

- Security ehancement for [Express](https://expressjs.com/) web servers.

- An easy-to-configure logger based on [pino](https://getpino.io/) with
support for asynchronous logging and [Sentry](https://sentry.io) error
reporting.

- A consistent way of connecting to [Postgres](https://www.postgresql.org/)
using [Sequelize](https://sequelize.org/).

- Easy-to-use [Prometheus](https://prometheus.io/) metrics client and server.

- Eventuals: Asynchronously resolved, observable values that only emit values
if they have changed. These are convenient to monitor, for instance, Graph
Network data and only perform an action if it has changed.

## Copyright

Copyright © 2020 The Graph Foundation.
Expand Down

0 comments on commit 32144d8

Please sign in to comment.