Skip to content

okx-subgraph/xlayer-subgraph-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xlayer-subgraph-example

Quick start

This guide will show you how to quickly initialize, create, and deploy your subgraph with Xlayer's Subgraph service. By deploying the subgraph, you can explore the subgraph GraphQL API by issuing queries and viewing the schema.

The Xlayer testnet currently provides a beta version of the Subgraph Hosted Service. To deploy a subgraph on this service, please send your application to [email protected] and include the following information:

Information Sample
Name of project Xlayer Test Project
Official website (if any) https://github.com/xlayertestproject
Github (if any)
Type of project DeFi,GameFi,NFT...
Introduction to project xlayertestproject is an AMM swap
Uses of the Subgraph service Query business data and present it to users
Special requirements for Subgraph services (e.g., QPS, please specify if any) QPS > 100
Way of contacting you (please provide Telegram/Discord contact information.) @x1testproject
Expected subgraph name xlayertestproject-statistics-v1

Here's an example to help you get started with the Xlayer Graph. For more development details, please refer to https://github.com/okx-subgraph/xlayer-subgraph-example/tree/main/docs.

We will notify you once the subgraph is successfully deployed, and you can check your subgraph data at the following links:

Query URL: https://www.okx.com/api/v1/x1-testnet/index/subgraphs/name/<Subgraph_name>
Query Playground: https://www.okx.com/api/v1/x1-testnet/index/subgraphs/name/<Subgraph_name>/graphql
Please replace <Subgraph_name> in the examples with your own subgraph name.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published