đQuickstart
Learn how to deploy your subgraph using Airstack Managed Graph Node to the DEGEN L3 chain.
Airstack enables Degenchain developers to deploy subgraphs to Airstack's Managed Graph Node.
This is currently offered for free during an initial learning period
An Airstack API key is required but usage of your Degenchain subgraph will not be rated towards Airstack API credits
Following the learning period there may be some charges to cover our costs of providing this service and for especially high volume usage.
Prerequisites
Your subgraph code. If you don't have one, feel free to clone Airstack's
user-contract-interactions
subgraph repo for a starter.
Step 1: Create Subgraph
First, create the subgraph that you want to deploy in the Airstack Graph Node indexer by providing your Airstack API key and the name for your subgraph:
Step 2: Deploy Subgraph
Once the subgraph is successfully created, deploy the subgraph by using the following command:
Once you subgraph is deployed, you can check on the Subgraph Dashboard to confirm if the deployment is successful.
Step 3: Query The Deployed Subgraph
And when it is successfully deployed you can try to query data from the GraphQL API from the deployed subgraph:
If you are using Airstack subgraph repository, you can test the GraphQL API by setting the query field to: --data '{"query":"{\n _meta {\n block {\n number\n }\n }\n}"}'
Alternatively, you can also test your subgraph by making GraphQL queries from platforms such as Postman by using the following API information:
Developer Support
If you have any questions or need help regarding deploying your subgraph to the Airstack Graph Node, please join our Airstack's Telegram group.
More Resources
Last updated