Skip to content

Commit 3170852

Browse files
committed
New translations quick-start.mdx (Russian)
1 parent 66ec761 commit 3170852

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

website/src/pages/ru/subgraphs/quick-start.mdx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Learn how to easily build, publish and query a [Subgraph](/subgraphs/developing/
77
## Предварительные требования
88

99
- Криптовалютный кошелек
10-
- A smart contract address on a [supported network](/supported-networks/)
11-
- [Node.js](https://nodejs.org/) installed
12-
- A package manager of your choice (`npm`, `yarn` or `pnpm`)
10+
- Адрес смарт-контракта в [поддерживаемой сети](/supported-networks/)
11+
- [Node.js](https://nodejs.org/) установлен
12+
- Менеджер пакетов на Ваш выбор (`npm`, `yarn` или `pnpm`)
1313

14-
## How to Build a Subgraph
14+
## Как создать субграф
1515

1616
### 1. Create a Subgraph in Subgraph Studio
1717

1818
Перейдите в [Subgraph Studio](https://thegraph.com/studio/) и подключите свой кошелек.
1919

2020
Subgraph Studio lets you create, manage, deploy, and publish Subgraphs, as well as create and manage API keys.
2121

22-
Click "Create a Subgraph". It is recommended to name the Subgraph in Title Case: "Subgraph Name Chain Name".
22+
Нажмите "Создать субграф". Рекомендуется называть субграф с использованием Заглавного регистра: "Subgraph Name Chain Name".
2323

2424
### 2. Установка Graph CLI
2525

@@ -49,24 +49,24 @@ The following command initializes your Subgraph from an existing contract:
4949
graph init
5050
```
5151

52-
If your contract is verified on the respective blockscanner where it is deployed (such as [Etherscan](https://etherscan.io/)), then the ABI will automatically be created in the CLI.
52+
Если Ваш контракт верифицирован на соответствующем блоксканере, где он развернут (например, [Etherscan](https://etherscan.io/)), то ABI будет автоматически создан в CLI.
5353

5454
When you initialize your Subgraph, the CLI will ask you for the following information:
5555

5656
- **Protocol**: Choose the protocol your Subgraph will be indexing data from.
5757
- **Subgraph slug**: Create a name for your Subgraph. Your Subgraph slug is an identifier for your Subgraph.
5858
- **Directory**: Choose a directory to create your Subgraph in.
5959
- **Ethereum network** (optional): You may need to specify which EVM-compatible network your Subgraph will be indexing data from.
60-
- **Contract address**: Locate the smart contract address you’d like to query data from.
61-
- **ABI**: If the ABI is not auto-populated, you will need to input it manually as a JSON file.
60+
- **Адрес контракта**: Найдите адрес смарт-контракта, из которого Вы хотите запрашивать данные.
61+
- **ABI**: Если ABI не заполнен автоматически, Вам придется ввести его вручную в формате JSON.
6262
- **Start Block**: You should input the start block to optimize Subgraph indexing of blockchain data. Locate the start block by finding the block where your contract was deployed.
63-
- **Contract Name**: Input the name of your contract.
63+
- **Имя контракта**: Введите имя Вашего контракта.
6464
- **Index contract events as entities**: It is suggested that you set this to true, as it will automatically add mappings to your Subgraph for every emitted event.
65-
- **Add another contract** (optional): You can add another contract.
65+
- **Добавление еще одного контракта (опционально)**: Вы можете добавить еще один контракт.
6666

6767
See the following screenshot for an example for what to expect when initializing your Subgraph:
6868

69-
![Subgraph command](/img/CLI-Example.png)
69+
![Команда субграфа](/img/CLI-Example.png)
7070

7171
### 4. Edit your Subgraph
7272

@@ -82,7 +82,7 @@ For a detailed breakdown on how to write your Subgraph, check out [Creating a Su
8282

8383
### 5. Deploy your Subgraph
8484

85-
> Remember, deploying is not the same as publishing.
85+
> Помните, развертывание — это не то же самое, что публикация.
8686
8787
When you **deploy** a Subgraph, you push it to [Subgraph Studio](https://thegraph.com/studio/), where you can test, stage and review it. A deployed Subgraph's indexing is performed by the [Upgrade Indexer](https://thegraph.com/blog/upgrade-indexer/), which is a single Indexer owned and operated by Edge & Node, rather than by the many decentralized Indexers in The Graph Network. A **deployed** Subgraph is free to use, rate-limited, not visible to the public, and meant to be used for development, staging, and testing purposes.
8888

@@ -107,7 +107,7 @@ graph deploy <SUBGRAPH_SLUG>
107107
```
108108
````
109109

110-
The CLI will ask for a version label. It's strongly recommended to use [semantic versioning](https://semver.org/), e.g. `0.0.1`.
110+
CLI запросит метку версии. Настоятельно рекомендуется использовать [семантическую версию](https://semver.org/), например, `0.0.1`.
111111

112112
### 6. Review your Subgraph
113113

@@ -150,20 +150,20 @@ As of version 0.73.0, you can also publish your Subgraph with the Graph CLI.
150150
graph codegen && graph build
151151
```
152152
153-
Then,
153+
Затем,
154154
155155
```sh
156156
graph publish
157157
```
158158
````
159159

160-
3. A window will open, allowing you to connect your wallet, add metadata, and deploy your finalized Subgraph to a network of your choice.
160+
3. Откроется окно, где Вы сможете подключить свой кошелек, добавить метаданные и развернуть финализированный субграф в выбранной Вами сети.
161161

162162
![cli-ui](/img/cli-ui.png)
163163

164-
To customize your deployment, see [Publishing a Subgraph](/subgraphs/developing/publishing/publishing-a-subgraph/).
164+
Чтобы настроить ваше развертывание, смотрите раздел [Публикация субграфа](/subgraphs/developing/publishing/publishing-a-subgraph/).
165165

166-
#### Adding signal to your Subgraph
166+
#### Добавление сигнала к Вашему субграфу
167167

168168
1. To attract Indexers to query your Subgraph, you should add GRT curation signal to it.
169169

@@ -173,11 +173,11 @@ To customize your deployment, see [Publishing a Subgraph](/subgraphs/developing/
173173

174174
- It’s recommended to curate at least 3,000 GRT to attract 3 Indexers. Check reward eligibility based on Subgraph feature usage and supported networks.
175175

176-
To learn more about curation, read [Curating](/resources/roles/curating/).
176+
Чтобы узнать больше о кураторстве, прочитайте статью [Курирование](/resources/roles/curating/).
177177

178178
To save on gas costs, you can curate your Subgraph in the same transaction you publish it by selecting this option:
179179

180-
![Subgraph publish](/img/studio-publish-modal.png)
180+
![Публикация субграфа](/img/studio-publish-modal.png)
181181

182182
### 8. Query your Subgraph
183183

0 commit comments

Comments
 (0)