0.0.2 • Published 3 years ago
@graphprotocol/payments v0.0.2
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,
ChannelManager
: Used to manage the creation and closing of AttestationApp channelsPaymentManager
: Used to create "payments" and submit "receipts" in "running" AttestationApp channels
@graphprotocol/receipts
Contains one component, the ReceiptManager
. This component serves two purposes:
- Inputs state channel messages into the wallet that were generated by the
ChannelManager
- Creates "receipts" for payments.