From 34ecd73dfc94022a13d58921f5231f6610f5e434 Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Mon, 14 Oct 2024 18:19:27 -0700 Subject: [PATCH 1/7] adding page --- website/next-env.d.ts | 2 +- website/pages/en/_meta.js | 1 + website/pages/en/subgraphs.mdx | 42 ++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 website/pages/en/subgraphs.mdx diff --git a/website/next-env.d.ts b/website/next-env.d.ts index a4a7b3f5cfa2..4f11a03dc6cc 100644 --- a/website/next-env.d.ts +++ b/website/next-env.d.ts @@ -2,4 +2,4 @@ /// // NOTE: This file should not be edited -// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information. +// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/website/pages/en/_meta.js b/website/pages/en/_meta.js index 89bf6fc4709c..504a9e0a9263 100644 --- a/website/pages/en/_meta.js +++ b/website/pages/en/_meta.js @@ -18,6 +18,7 @@ export default { title: 'Subgraphs', }, 'quick-start': '', + subgraphs: '', developing: 'Developing', deploying: 'Deploying', publishing: 'Publishing', diff --git a/website/pages/en/subgraphs.mdx b/website/pages/en/subgraphs.mdx new file mode 100644 index 000000000000..a3698e6c0d21 --- /dev/null +++ b/website/pages/en/subgraphs.mdx @@ -0,0 +1,42 @@ +--- +title: Subgraphs +--- + +## What is a Subgraph? + +A custom, open API that extracts data from a blockchain, processes it, and stores it so it can be easily queried via GraphQL. + +### Subgraphs Capabilities + +- Developers can build, deploy, and publish subgraphs to The Graph Network. + - To get started, check out the subgraph developer [Quick Start](quick-start/). +- 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 (e.g. `mapping.ts` in this guide) + +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) From 8d54bf00f33d55498ab37f050eb303d53d68428f Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Mon, 14 Oct 2024 18:27:35 -0700 Subject: [PATCH 2/7] edits --- website/pages/en/subgraphs.mdx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/website/pages/en/subgraphs.mdx b/website/pages/en/subgraphs.mdx index a3698e6c0d21..aaf4442b0dcb 100644 --- a/website/pages/en/subgraphs.mdx +++ b/website/pages/en/subgraphs.mdx @@ -8,10 +8,9 @@ A custom, open API that extracts data from a blockchain, processes it, and store ### Subgraphs Capabilities -- Developers can build, deploy, and publish subgraphs to The Graph Network. - - To get started, check out the subgraph developer [Quick Start](quick-start/). -- 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). +- **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 From 93836630094bbbfe096e94164a57037d0c364d34 Mon Sep 17 00:00:00 2001 From: Idalith <126833353+idalithb@users.noreply.github.com> Date: Mon, 14 Oct 2024 18:32:26 -0700 Subject: [PATCH 3/7] Update subgraphs.mdx --- website/pages/en/subgraphs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/en/subgraphs.mdx b/website/pages/en/subgraphs.mdx index aaf4442b0dcb..944d5e5591ff 100644 --- a/website/pages/en/subgraphs.mdx +++ b/website/pages/en/subgraphs.mdx @@ -6,7 +6,7 @@ title: Subgraphs A custom, open API that extracts data from a blockchain, processes it, and stores it so it can be easily queried via GraphQL. -### Subgraphs Capabilities +### 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/). From e6946c00ba5e1b86f8e91ab976a882612c72c191 Mon Sep 17 00:00:00 2001 From: Idalith <126833353+idalithb@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:12:02 -0700 Subject: [PATCH 4/7] Update website/pages/en/subgraphs.mdx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Benoît Rouleau --- website/pages/en/subgraphs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/en/subgraphs.mdx b/website/pages/en/subgraphs.mdx index 944d5e5591ff..cdb269270f55 100644 --- a/website/pages/en/subgraphs.mdx +++ b/website/pages/en/subgraphs.mdx @@ -4,7 +4,7 @@ title: Subgraphs ## What is a Subgraph? -A custom, open API that extracts data from a blockchain, processes it, and stores it so it can be easily queried via GraphQL. +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 From 8b689fc564bf5c989bdd65cc5da00480a21efca5 Mon Sep 17 00:00:00 2001 From: Idalith <126833353+idalithb@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:12:13 -0700 Subject: [PATCH 5/7] Update website/pages/en/subgraphs.mdx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Benoît Rouleau --- website/pages/en/subgraphs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/en/subgraphs.mdx b/website/pages/en/subgraphs.mdx index cdb269270f55..27b452211477 100644 --- a/website/pages/en/subgraphs.mdx +++ b/website/pages/en/subgraphs.mdx @@ -22,7 +22,7 @@ The **subgraph definition** consists of the following files: - `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 (e.g. `mapping.ts` in this guide) +- `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/). From 116826388354907aee83dd8c001a73f151f605a1 Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Tue, 15 Oct 2024 12:32:08 -0700 Subject: [PATCH 6/7] adding page to all lang --- website/pages/ar/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/cs/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/de/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/es/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/fr/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/ha/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/hi/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/it/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/ja/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/ko/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/mr/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/nl/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/pl/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/pt/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/ro/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/ru/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/sv/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/tr/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/uk/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/ur/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/vi/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/yo/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ website/pages/zh/subgraphs.mdx | 41 ++++++++++++++++++++++++++++++++++ 23 files changed, 943 insertions(+) create mode 100644 website/pages/ar/subgraphs.mdx create mode 100644 website/pages/cs/subgraphs.mdx create mode 100644 website/pages/de/subgraphs.mdx create mode 100644 website/pages/es/subgraphs.mdx create mode 100644 website/pages/fr/subgraphs.mdx create mode 100644 website/pages/ha/subgraphs.mdx create mode 100644 website/pages/hi/subgraphs.mdx create mode 100644 website/pages/it/subgraphs.mdx create mode 100644 website/pages/ja/subgraphs.mdx create mode 100644 website/pages/ko/subgraphs.mdx create mode 100644 website/pages/mr/subgraphs.mdx create mode 100644 website/pages/nl/subgraphs.mdx create mode 100644 website/pages/pl/subgraphs.mdx create mode 100644 website/pages/pt/subgraphs.mdx create mode 100644 website/pages/ro/subgraphs.mdx create mode 100644 website/pages/ru/subgraphs.mdx create mode 100644 website/pages/sv/subgraphs.mdx create mode 100644 website/pages/tr/subgraphs.mdx create mode 100644 website/pages/uk/subgraphs.mdx create mode 100644 website/pages/ur/subgraphs.mdx create mode 100644 website/pages/vi/subgraphs.mdx create mode 100644 website/pages/yo/subgraphs.mdx create mode 100644 website/pages/zh/subgraphs.mdx diff --git a/website/pages/ar/subgraphs.mdx b/website/pages/ar/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/ar/subgraphs.mdx @@ -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) diff --git a/website/pages/cs/subgraphs.mdx b/website/pages/cs/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/cs/subgraphs.mdx @@ -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) diff --git a/website/pages/de/subgraphs.mdx b/website/pages/de/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/de/subgraphs.mdx @@ -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) diff --git a/website/pages/es/subgraphs.mdx b/website/pages/es/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/es/subgraphs.mdx @@ -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) diff --git a/website/pages/fr/subgraphs.mdx b/website/pages/fr/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/fr/subgraphs.mdx @@ -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) diff --git a/website/pages/ha/subgraphs.mdx b/website/pages/ha/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/ha/subgraphs.mdx @@ -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) diff --git a/website/pages/hi/subgraphs.mdx b/website/pages/hi/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/hi/subgraphs.mdx @@ -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) diff --git a/website/pages/it/subgraphs.mdx b/website/pages/it/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/it/subgraphs.mdx @@ -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) diff --git a/website/pages/ja/subgraphs.mdx b/website/pages/ja/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/ja/subgraphs.mdx @@ -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) diff --git a/website/pages/ko/subgraphs.mdx b/website/pages/ko/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/ko/subgraphs.mdx @@ -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) diff --git a/website/pages/mr/subgraphs.mdx b/website/pages/mr/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/mr/subgraphs.mdx @@ -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) diff --git a/website/pages/nl/subgraphs.mdx b/website/pages/nl/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/nl/subgraphs.mdx @@ -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) diff --git a/website/pages/pl/subgraphs.mdx b/website/pages/pl/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/pl/subgraphs.mdx @@ -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) diff --git a/website/pages/pt/subgraphs.mdx b/website/pages/pt/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/pt/subgraphs.mdx @@ -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) diff --git a/website/pages/ro/subgraphs.mdx b/website/pages/ro/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/ro/subgraphs.mdx @@ -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) diff --git a/website/pages/ru/subgraphs.mdx b/website/pages/ru/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/ru/subgraphs.mdx @@ -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) diff --git a/website/pages/sv/subgraphs.mdx b/website/pages/sv/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/sv/subgraphs.mdx @@ -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) diff --git a/website/pages/tr/subgraphs.mdx b/website/pages/tr/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/tr/subgraphs.mdx @@ -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) diff --git a/website/pages/uk/subgraphs.mdx b/website/pages/uk/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/uk/subgraphs.mdx @@ -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) diff --git a/website/pages/ur/subgraphs.mdx b/website/pages/ur/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/ur/subgraphs.mdx @@ -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) diff --git a/website/pages/vi/subgraphs.mdx b/website/pages/vi/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/vi/subgraphs.mdx @@ -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) diff --git a/website/pages/yo/subgraphs.mdx b/website/pages/yo/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/yo/subgraphs.mdx @@ -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) diff --git a/website/pages/zh/subgraphs.mdx b/website/pages/zh/subgraphs.mdx new file mode 100644 index 000000000000..27b452211477 --- /dev/null +++ b/website/pages/zh/subgraphs.mdx @@ -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) From 96f6a665b409c81823b6a388ef3a14e8abd3a3eb Mon Sep 17 00:00:00 2001 From: Idalith <126833353+idalithb@users.noreply.github.com> Date: Tue, 15 Oct 2024 14:50:11 -0700 Subject: [PATCH 7/7] Update website/pages/en/subgraphs.mdx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Benoît Rouleau --- website/pages/en/subgraphs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/en/subgraphs.mdx b/website/pages/en/subgraphs.mdx index 27b452211477..698de7622d41 100644 --- a/website/pages/en/subgraphs.mdx +++ b/website/pages/en/subgraphs.mdx @@ -24,7 +24,7 @@ The **subgraph definition** consists of the following files: - `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/). +To learn more about each subgraph component, check out [creating a subgraph](/developing/creating-a-subgraph/). ## Subgraph Development