Skip to content

State Channels payment channels managers for paid attestations on The Graph.

License

Notifications You must be signed in to change notification settings

isoosiss7/graph-payments

 
 

Repository files navigation

StateChannels / The Graph

In this repository, you will find three main components and some testing infrastructure:

@graphprotocol/statechannels-contracts

Contains the "Attestation App", the State Channels app that services payments. Payments made by the gateway are conditional on the indexer correctly signing an attestation.

@graphprotocol/payments

Contains two main components,

  1. ChannelManager: Used to manage the creation and closing of AttestationApp channels
  2. PaymentManager: Used to create "payments" and submit "receipts" in "running" AttestationApp channels

@graphprotocol/receipts

Contains one component, the ReceiptManager. This component serves two purposes:

  1. Inputs state channel messages into the wallet that were generated by the ChannelManager
  2. Creates "receipts" for payments.

About

State Channels payment channels managers for paid attestations on The Graph.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 91.7%
  • Solidity 6.1%
  • JavaScript 1.4%
  • Shell 0.8%