statechannels / graph-payments

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StateChannels / The Graph circleci

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.

License:MIT License


Languages

Language:TypeScript 91.7%Language:Solidity 5.9%Language:JavaScript 1.3%Language:Shell 1.1%