safe-tools-subgraph
v1.0.54
Published
This project includes the subgraph necessary to generate a GraphQL based query system for the safe tools project.
Downloads
49
Readme
@cardstack/cardpay-subgraph
This project includes the subgraph necessary to generate a GraphQL based query system for the safe tools project.
The subgraph is hosted at:
- goerli: https://thegraph.com/hosted-service/subgraph/cardstack/safe-tools-goerli
- polygon: https://thegraph.com/hosted-service/subgraph/cardstack/safe-tools-polygon
- mainnet: https://thegraph.com/hosted-service/subgraph/cardstack/safe-tools-mainnet
Currently we are indexing safes that users provision using the safe tools interface. We're saving the account's address, safe address, and the scheduled payment module address and keep track of their ownership. This data is used by the safe tools for creating scheduled payments.
Building and deploying
yarn build --network <NETWORK>
yarn deploy:<NETWORK> --access-token <TOKEN>
⚠️ Deploying polygon network
Since matic network renamed to polygon, there is an inconsistency with the naming. Please use the following commands to deploy the polygon subgraph:
yarn graph build --network matic
yarn deploy:polygon --access-token <TOKEN>
.