Skip to content

Commit 23f4c46

Browse files
idalithbbenface
andauthored
Adding Subgraphs Page (#795)
* adding page * adding page to all lang --------- Co-authored-by: Benoît Rouleau <[email protected]>
1 parent c572f67 commit 23f4c46

26 files changed

+986
-1
lines changed

website/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
5+
// see https://nextjs.org/docs/basic-features/typescript for more information.

website/pages/ar/subgraphs.mdx

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Subgraphs
3+
---
4+
5+
## What is a Subgraph?
6+
7+
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.
8+
9+
### Subgraph Capabilities
10+
11+
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3.
12+
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/).
13+
- **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).
14+
15+
## Inside a Subgraph
16+
17+
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.
18+
19+
The **subgraph definition** consists of the following files:
20+
21+
- `subgraph.yaml`: Contains the subgraph manifest
22+
23+
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL
24+
25+
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema
26+
27+
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/).
28+
29+
## Subgraph Development
30+
31+
1. [Create a subgraph](/developing/creating-a-subgraph/)
32+
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/)
33+
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio)
34+
4. [Publish a subgraph](/publishing/publishing-a-subgraph/)
35+
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph)
36+
37+
## Subgraph Lifecycle
38+
39+
Here is a general overview of a subgraph’s lifecycle:
40+
41+
![Subgraph Lifecycle](/img/subgraph-lifecycle.png)

website/pages/cs/subgraphs.mdx

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Subgraphs
3+
---
4+
5+
## What is a Subgraph?
6+
7+
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.
8+
9+
### Subgraph Capabilities
10+
11+
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3.
12+
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/).
13+
- **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).
14+
15+
## Inside a Subgraph
16+
17+
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.
18+
19+
The **subgraph definition** consists of the following files:
20+
21+
- `subgraph.yaml`: Contains the subgraph manifest
22+
23+
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL
24+
25+
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema
26+
27+
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/).
28+
29+
## Subgraph Development
30+
31+
1. [Create a subgraph](/developing/creating-a-subgraph/)
32+
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/)
33+
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio)
34+
4. [Publish a subgraph](/publishing/publishing-a-subgraph/)
35+
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph)
36+
37+
## Subgraph Lifecycle
38+
39+
Here is a general overview of a subgraph’s lifecycle:
40+
41+
![Subgraph Lifecycle](/img/subgraph-lifecycle.png)

website/pages/de/subgraphs.mdx

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Subgraphs
3+
---
4+
5+
## What is a Subgraph?
6+
7+
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.
8+
9+
### Subgraph Capabilities
10+
11+
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3.
12+
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/).
13+
- **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).
14+
15+
## Inside a Subgraph
16+
17+
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.
18+
19+
The **subgraph definition** consists of the following files:
20+
21+
- `subgraph.yaml`: Contains the subgraph manifest
22+
23+
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL
24+
25+
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema
26+
27+
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/).
28+
29+
## Subgraph Development
30+
31+
1. [Create a subgraph](/developing/creating-a-subgraph/)
32+
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/)
33+
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio)
34+
4. [Publish a subgraph](/publishing/publishing-a-subgraph/)
35+
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph)
36+
37+
## Subgraph Lifecycle
38+
39+
Here is a general overview of a subgraph’s lifecycle:
40+
41+
![Subgraph Lifecycle](/img/subgraph-lifecycle.png)

website/pages/en/_meta.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export default {
1818
title: 'Subgraphs',
1919
},
2020
'quick-start': '',
21+
subgraphs: '',
2122
developing: 'Developing',
2223
deploying: 'Deploying',
2324
publishing: 'Publishing',

website/pages/en/subgraphs.mdx

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Subgraphs
3+
---
4+
5+
## What is a Subgraph?
6+
7+
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.
8+
9+
### Subgraph Capabilities
10+
11+
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3.
12+
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/).
13+
- **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).
14+
15+
## Inside a Subgraph
16+
17+
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.
18+
19+
The **subgraph definition** consists of the following files:
20+
21+
- `subgraph.yaml`: Contains the subgraph manifest
22+
23+
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL
24+
25+
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema
26+
27+
To learn more about each subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/).
28+
29+
## Subgraph Development
30+
31+
1. [Create a subgraph](/developing/creating-a-subgraph/)
32+
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/)
33+
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio)
34+
4. [Publish a subgraph](/publishing/publishing-a-subgraph/)
35+
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph)
36+
37+
## Subgraph Lifecycle
38+
39+
Here is a general overview of a subgraph’s lifecycle:
40+
41+
![Subgraph Lifecycle](/img/subgraph-lifecycle.png)

website/pages/es/subgraphs.mdx

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Subgraphs
3+
---
4+
5+
## What is a Subgraph?
6+
7+
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.
8+
9+
### Subgraph Capabilities
10+
11+
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3.
12+
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/).
13+
- **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).
14+
15+
## Inside a Subgraph
16+
17+
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.
18+
19+
The **subgraph definition** consists of the following files:
20+
21+
- `subgraph.yaml`: Contains the subgraph manifest
22+
23+
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL
24+
25+
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema
26+
27+
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/).
28+
29+
## Subgraph Development
30+
31+
1. [Create a subgraph](/developing/creating-a-subgraph/)
32+
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/)
33+
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio)
34+
4. [Publish a subgraph](/publishing/publishing-a-subgraph/)
35+
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph)
36+
37+
## Subgraph Lifecycle
38+
39+
Here is a general overview of a subgraph’s lifecycle:
40+
41+
![Subgraph Lifecycle](/img/subgraph-lifecycle.png)

website/pages/fr/subgraphs.mdx

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Subgraphs
3+
---
4+
5+
## What is a Subgraph?
6+
7+
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.
8+
9+
### Subgraph Capabilities
10+
11+
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3.
12+
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/).
13+
- **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).
14+
15+
## Inside a Subgraph
16+
17+
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.
18+
19+
The **subgraph definition** consists of the following files:
20+
21+
- `subgraph.yaml`: Contains the subgraph manifest
22+
23+
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL
24+
25+
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema
26+
27+
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/).
28+
29+
## Subgraph Development
30+
31+
1. [Create a subgraph](/developing/creating-a-subgraph/)
32+
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/)
33+
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio)
34+
4. [Publish a subgraph](/publishing/publishing-a-subgraph/)
35+
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph)
36+
37+
## Subgraph Lifecycle
38+
39+
Here is a general overview of a subgraph’s lifecycle:
40+
41+
![Subgraph Lifecycle](/img/subgraph-lifecycle.png)

website/pages/ha/subgraphs.mdx

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Subgraphs
3+
---
4+
5+
## What is a Subgraph?
6+
7+
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.
8+
9+
### Subgraph Capabilities
10+
11+
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3.
12+
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/).
13+
- **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).
14+
15+
## Inside a Subgraph
16+
17+
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.
18+
19+
The **subgraph definition** consists of the following files:
20+
21+
- `subgraph.yaml`: Contains the subgraph manifest
22+
23+
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL
24+
25+
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema
26+
27+
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/).
28+
29+
## Subgraph Development
30+
31+
1. [Create a subgraph](/developing/creating-a-subgraph/)
32+
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/)
33+
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio)
34+
4. [Publish a subgraph](/publishing/publishing-a-subgraph/)
35+
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph)
36+
37+
## Subgraph Lifecycle
38+
39+
Here is a general overview of a subgraph’s lifecycle:
40+
41+
![Subgraph Lifecycle](/img/subgraph-lifecycle.png)

website/pages/hi/subgraphs.mdx

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Subgraphs
3+
---
4+
5+
## What is a Subgraph?
6+
7+
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.
8+
9+
### Subgraph Capabilities
10+
11+
- **Access Data:** Subgraphs enable the querying and indexing of blockchain data for web3.
12+
- **Build:** Developers can build, deploy, and publish subgraphs to The Graph Network. To get started, check out the subgraph developer [Quick Start](quick-start/).
13+
- **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).
14+
15+
## Inside a Subgraph
16+
17+
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.
18+
19+
The **subgraph definition** consists of the following files:
20+
21+
- `subgraph.yaml`: Contains the subgraph manifest
22+
23+
- `schema.graphql`: A GraphQL schema defining the data stored for your subgraph and how to query it via GraphQL
24+
25+
- `mapping.ts`: [AssemblyScript Mappings](https://github.com/AssemblyScript/assemblyscript) code that translates event data into entities defined in your schema
26+
27+
To learn more about each of subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/).
28+
29+
## Subgraph Development
30+
31+
1. [Create a subgraph](/developing/creating-a-subgraph/)
32+
2. [Deploy a subgraph](/deploying/deploying-a-subgraph-to-studio/)
33+
3. [Test a subgraph](/deploying/subgraph-studio/#testing-your-subgraph-in-subgraph-studio)
34+
4. [Publish a subgraph](/publishing/publishing-a-subgraph/)
35+
5. [Signal on a subgraph](/publishing/publishing-a-subgraph/#adding-signal-to-your-subgraph)
36+
37+
## Subgraph Lifecycle
38+
39+
Here is a general overview of a subgraph’s lifecycle:
40+
41+
![Subgraph Lifecycle](/img/subgraph-lifecycle.png)

0 commit comments

Comments
 (0)