-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding page * adding page to all lang --------- Co-authored-by: Benoît Rouleau <[email protected]>
- Loading branch information
Showing
26 changed files
with
986 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: Subgraphs | ||
--- | ||
|
||
## What is a Subgraph? | ||
|
||
A subgraph is a custom, open API that extracts data from a blockchain, processes it, and stores it so it can be easily queried via GraphQL. | ||
|
||
### Subgraph Capabilities | ||
|
||
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3. | ||
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/). | ||
- **Index & Query:** Once a subgraph is indexed, anyone can query it. Explore and query all subgraphs published to the network in [Graph Explorer](https://thegraph.com/explorer). | ||
|
||
## Inside a Subgraph | ||
|
||
The subgraph manifest, `subgraph.yaml`, defines the smart contracts & network your subgraph will index, the events from these contracts to pay attention to, and how to map event data to entities that Graph Node stores and allows to query. | ||
|
||
The **subgraph definition** consists of the following files: | ||
|
||
- `subgraph.yaml`: Contains the subgraph manifest | ||
|
||
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL | ||
|
||
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema | ||
|
||
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/). | ||
|
||
## Subgraph Development | ||
|
||
1. [Create a subgraph](/developing/creating-a-subgraph/) | ||
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/) | ||
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio) | ||
4. [Publish a subgraph](/publishing/publishing-a-subgraph/) | ||
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph) | ||
|
||
## Subgraph Lifecycle | ||
|
||
Here is a general overview of a subgraph’s lifecycle: | ||
|
||
![Subgraph Lifecycle](/img/subgraph-lifecycle.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: Subgraphs | ||
--- | ||
|
||
## What is a Subgraph? | ||
|
||
A subgraph is a custom, open API that extracts data from a blockchain, processes it, and stores it so it can be easily queried via GraphQL. | ||
|
||
### Subgraph Capabilities | ||
|
||
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3. | ||
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/). | ||
- **Index & Query:** Once a subgraph is indexed, anyone can query it. Explore and query all subgraphs published to the network in [Graph Explorer](https://thegraph.com/explorer). | ||
|
||
## Inside a Subgraph | ||
|
||
The subgraph manifest, `subgraph.yaml`, defines the smart contracts & network your subgraph will index, the events from these contracts to pay attention to, and how to map event data to entities that Graph Node stores and allows to query. | ||
|
||
The **subgraph definition** consists of the following files: | ||
|
||
- `subgraph.yaml`: Contains the subgraph manifest | ||
|
||
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL | ||
|
||
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema | ||
|
||
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/). | ||
|
||
## Subgraph Development | ||
|
||
1. [Create a subgraph](/developing/creating-a-subgraph/) | ||
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/) | ||
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio) | ||
4. [Publish a subgraph](/publishing/publishing-a-subgraph/) | ||
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph) | ||
|
||
## Subgraph Lifecycle | ||
|
||
Here is a general overview of a subgraph’s lifecycle: | ||
|
||
![Subgraph Lifecycle](/img/subgraph-lifecycle.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: Subgraphs | ||
--- | ||
|
||
## What is a Subgraph? | ||
|
||
A subgraph is a custom, open API that extracts data from a blockchain, processes it, and stores it so it can be easily queried via GraphQL. | ||
|
||
### Subgraph Capabilities | ||
|
||
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3. | ||
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/). | ||
- **Index & Query:** Once a subgraph is indexed, anyone can query it. Explore and query all subgraphs published to the network in [Graph Explorer](https://thegraph.com/explorer). | ||
|
||
## Inside a Subgraph | ||
|
||
The subgraph manifest, `subgraph.yaml`, defines the smart contracts & network your subgraph will index, the events from these contracts to pay attention to, and how to map event data to entities that Graph Node stores and allows to query. | ||
|
||
The **subgraph definition** consists of the following files: | ||
|
||
- `subgraph.yaml`: Contains the subgraph manifest | ||
|
||
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL | ||
|
||
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema | ||
|
||
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/). | ||
|
||
## Subgraph Development | ||
|
||
1. [Create a subgraph](/developing/creating-a-subgraph/) | ||
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/) | ||
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio) | ||
4. [Publish a subgraph](/publishing/publishing-a-subgraph/) | ||
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph) | ||
|
||
## Subgraph Lifecycle | ||
|
||
Here is a general overview of a subgraph’s lifecycle: | ||
|
||
![Subgraph Lifecycle](/img/subgraph-lifecycle.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: Subgraphs | ||
--- | ||
|
||
## What is a Subgraph? | ||
|
||
A subgraph is a custom, open API that extracts data from a blockchain, processes it, and stores it so it can be easily queried via GraphQL. | ||
|
||
### Subgraph Capabilities | ||
|
||
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3. | ||
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/). | ||
- **Index & Query:** Once a subgraph is indexed, anyone can query it. Explore and query all subgraphs published to the network in [Graph Explorer](https://thegraph.com/explorer). | ||
|
||
## Inside a Subgraph | ||
|
||
The subgraph manifest, `subgraph.yaml`, defines the smart contracts & network your subgraph will index, the events from these contracts to pay attention to, and how to map event data to entities that Graph Node stores and allows to query. | ||
|
||
The **subgraph definition** consists of the following files: | ||
|
||
- `subgraph.yaml`: Contains the subgraph manifest | ||
|
||
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL | ||
|
||
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema | ||
|
||
To learn more about each subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/). | ||
|
||
## Subgraph Development | ||
|
||
1. [Create a subgraph](/developing/creating-a-subgraph/) | ||
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/) | ||
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio) | ||
4. [Publish a subgraph](/publishing/publishing-a-subgraph/) | ||
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph) | ||
|
||
## Subgraph Lifecycle | ||
|
||
Here is a general overview of a subgraph’s lifecycle: | ||
|
||
![Subgraph Lifecycle](/img/subgraph-lifecycle.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: Subgraphs | ||
--- | ||
|
||
## What is a Subgraph? | ||
|
||
A subgraph is a custom, open API that extracts data from a blockchain, processes it, and stores it so it can be easily queried via GraphQL. | ||
|
||
### Subgraph Capabilities | ||
|
||
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3. | ||
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/). | ||
- **Index & Query:** Once a subgraph is indexed, anyone can query it. Explore and query all subgraphs published to the network in [Graph Explorer](https://thegraph.com/explorer). | ||
|
||
## Inside a Subgraph | ||
|
||
The subgraph manifest, `subgraph.yaml`, defines the smart contracts & network your subgraph will index, the events from these contracts to pay attention to, and how to map event data to entities that Graph Node stores and allows to query. | ||
|
||
The **subgraph definition** consists of the following files: | ||
|
||
- `subgraph.yaml`: Contains the subgraph manifest | ||
|
||
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL | ||
|
||
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema | ||
|
||
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/). | ||
|
||
## Subgraph Development | ||
|
||
1. [Create a subgraph](/developing/creating-a-subgraph/) | ||
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/) | ||
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio) | ||
4. [Publish a subgraph](/publishing/publishing-a-subgraph/) | ||
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph) | ||
|
||
## Subgraph Lifecycle | ||
|
||
Here is a general overview of a subgraph’s lifecycle: | ||
|
||
![Subgraph Lifecycle](/img/subgraph-lifecycle.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: Subgraphs | ||
--- | ||
|
||
## What is a Subgraph? | ||
|
||
A subgraph is a custom, open API that extracts data from a blockchain, processes it, and stores it so it can be easily queried via GraphQL. | ||
|
||
### Subgraph Capabilities | ||
|
||
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3. | ||
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/). | ||
- **Index & Query:** Once a subgraph is indexed, anyone can query it. Explore and query all subgraphs published to the network in [Graph Explorer](https://thegraph.com/explorer). | ||
|
||
## Inside a Subgraph | ||
|
||
The subgraph manifest, `subgraph.yaml`, defines the smart contracts & network your subgraph will index, the events from these contracts to pay attention to, and how to map event data to entities that Graph Node stores and allows to query. | ||
|
||
The **subgraph definition** consists of the following files: | ||
|
||
- `subgraph.yaml`: Contains the subgraph manifest | ||
|
||
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL | ||
|
||
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema | ||
|
||
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/). | ||
|
||
## Subgraph Development | ||
|
||
1. [Create a subgraph](/developing/creating-a-subgraph/) | ||
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/) | ||
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio) | ||
4. [Publish a subgraph](/publishing/publishing-a-subgraph/) | ||
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph) | ||
|
||
## Subgraph Lifecycle | ||
|
||
Here is a general overview of a subgraph’s lifecycle: | ||
|
||
![Subgraph Lifecycle](/img/subgraph-lifecycle.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: Subgraphs | ||
--- | ||
|
||
## What is a Subgraph? | ||
|
||
A subgraph is a custom, open API that extracts data from a blockchain, processes it, and stores it so it can be easily queried via GraphQL. | ||
|
||
### Subgraph Capabilities | ||
|
||
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3. | ||
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/). | ||
- **Index & Query:** Once a subgraph is indexed, anyone can query it. Explore and query all subgraphs published to the network in [Graph Explorer](https://thegraph.com/explorer). | ||
|
||
## Inside a Subgraph | ||
|
||
The subgraph manifest, `subgraph.yaml`, defines the smart contracts & network your subgraph will index, the events from these contracts to pay attention to, and how to map event data to entities that Graph Node stores and allows to query. | ||
|
||
The **subgraph definition** consists of the following files: | ||
|
||
- `subgraph.yaml`: Contains the subgraph manifest | ||
|
||
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL | ||
|
||
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema | ||
|
||
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/). | ||
|
||
## Subgraph Development | ||
|
||
1. [Create a subgraph](/developing/creating-a-subgraph/) | ||
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/) | ||
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio) | ||
4. [Publish a subgraph](/publishing/publishing-a-subgraph/) | ||
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph) | ||
|
||
## Subgraph Lifecycle | ||
|
||
Here is a general overview of a subgraph’s lifecycle: | ||
|
||
![Subgraph Lifecycle](/img/subgraph-lifecycle.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: Subgraphs | ||
--- | ||
|
||
## What is a Subgraph? | ||
|
||
A subgraph is a custom, open API that extracts data from a blockchain, processes it, and stores it so it can be easily queried via GraphQL. | ||
|
||
### Subgraph Capabilities | ||
|
||
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3. | ||
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/). | ||
- **Index & Query:** Once a subgraph is indexed, anyone can query it. Explore and query all subgraphs published to the network in [Graph Explorer](https://thegraph.com/explorer). | ||
|
||
## Inside a Subgraph | ||
|
||
The subgraph manifest, `subgraph.yaml`, defines the smart contracts & network your subgraph will index, the events from these contracts to pay attention to, and how to map event data to entities that Graph Node stores and allows to query. | ||
|
||
The **subgraph definition** consists of the following files: | ||
|
||
- `subgraph.yaml`: Contains the subgraph manifest | ||
|
||
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL | ||
|
||
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema | ||
|
||
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/). | ||
|
||
## Subgraph Development | ||
|
||
1. [Create a subgraph](/developing/creating-a-subgraph/) | ||
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/) | ||
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio) | ||
4. [Publish a subgraph](/publishing/publishing-a-subgraph/) | ||
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph) | ||
|
||
## Subgraph Lifecycle | ||
|
||
Here is a general overview of a subgraph’s lifecycle: | ||
|
||
![Subgraph Lifecycle](/img/subgraph-lifecycle.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: Subgraphs | ||
--- | ||
|
||
## What is a Subgraph? | ||
|
||
A subgraph is a custom, open API that extracts data from a blockchain, processes it, and stores it so it can be easily queried via GraphQL. | ||
|
||
### Subgraph Capabilities | ||
|
||
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3. | ||
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/). | ||
- **Index & Query:** Once a subgraph is indexed, anyone can query it. Explore and query all subgraphs published to the network in [Graph Explorer](https://thegraph.com/explorer). | ||
|
||
## Inside a Subgraph | ||
|
||
The subgraph manifest, `subgraph.yaml`, defines the smart contracts & network your subgraph will index, the events from these contracts to pay attention to, and how to map event data to entities that Graph Node stores and allows to query. | ||
|
||
The **subgraph definition** consists of the following files: | ||
|
||
- `subgraph.yaml`: Contains the subgraph manifest | ||
|
||
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL | ||
|
||
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema | ||
|
||
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/). | ||
|
||
## Subgraph Development | ||
|
||
1. [Create a subgraph](/developing/creating-a-subgraph/) | ||
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/) | ||
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio) | ||
4. [Publish a subgraph](/publishing/publishing-a-subgraph/) | ||
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph) | ||
|
||
## Subgraph Lifecycle | ||
|
||
Here is a general overview of a subgraph’s lifecycle: | ||
|
||
![Subgraph Lifecycle](/img/subgraph-lifecycle.png) |
Oops, something went wrong.