Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
227 commits
Select commit Hold shift + click to select a range
f032af9
New translations graphcast.mdx (Spanish)
benface Apr 27, 2023
d04166c
New translations subgraph-studio-faqs.mdx (Chinese Simplified)
benface Apr 28, 2023
295808c
New translations creating-a-subgraph.mdx (Russian)
benface Apr 28, 2023
a3fe731
New translations developer-faqs.mdx (Chinese Simplified)
benface Apr 28, 2023
49a06b1
New translations graphql-api.mdx (Russian)
benface Apr 28, 2023
e647449
New translations graphql-api.mdx (Chinese Simplified)
benface Apr 28, 2023
1509a6e
New translations querying-the-hosted-service.mdx (Chinese Simplified)
benface Apr 28, 2023
d05c90d
New translations tokenomics.mdx (Chinese Simplified)
benface Apr 28, 2023
666eb57
New translations operating-graph-node.mdx (Chinese Simplified)
benface Apr 28, 2023
a0ab76a
New translations near.mdx (Japanese)
benface Apr 29, 2023
663a195
New translations subgraph-studio-faqs.mdx (Japanese)
benface Apr 29, 2023
d255755
New translations creating-a-subgraph.mdx (Japanese)
benface Apr 29, 2023
5c7569e
New translations developer-faqs.mdx (Japanese)
benface Apr 29, 2023
832e550
New translations subgraph-uncrashable.mdx (Japanese)
benface Apr 29, 2023
b8ee647
New translations transferring-subgraph-ownership.mdx (Japanese)
benface Apr 29, 2023
007b8e9
New translations explorer.mdx (French)
benface Apr 29, 2023
dbca748
New translations explorer.mdx (Spanish)
benface Apr 29, 2023
260a064
New translations explorer.mdx (Arabic)
benface Apr 29, 2023
715d380
New translations explorer.mdx (German)
benface Apr 29, 2023
415614b
New translations explorer.mdx (Italian)
benface Apr 29, 2023
66352f6
New translations explorer.mdx (Japanese)
benface Apr 29, 2023
1de9b8b
New translations explorer.mdx (Korean)
benface Apr 29, 2023
7c0ae59
New translations explorer.mdx (Dutch)
benface Apr 29, 2023
5bc11d9
New translations explorer.mdx (Polish)
benface Apr 29, 2023
1817312
New translations explorer.mdx (Portuguese)
benface Apr 29, 2023
a39d606
New translations explorer.mdx (Russian)
benface Apr 29, 2023
8179532
New translations explorer.mdx (Swedish)
benface Apr 29, 2023
80cc587
New translations explorer.mdx (Turkish)
benface Apr 29, 2023
d503dfc
New translations explorer.mdx (Ukrainian)
benface Apr 29, 2023
0ac41f9
New translations explorer.mdx (Chinese Simplified)
benface Apr 29, 2023
a58788b
New translations explorer.mdx (Urdu (Pakistan))
benface Apr 29, 2023
9207b41
New translations explorer.mdx (Vietnamese)
benface Apr 29, 2023
167cffd
New translations explorer.mdx (Marathi)
benface Apr 29, 2023
2578d6e
New translations explorer.mdx (Hindi)
benface Apr 29, 2023
84f2539
New translations graphql-api.mdx (Japanese)
benface Apr 29, 2023
abeb771
New translations developing.mdx (Japanese)
benface Apr 29, 2023
ec8c11a
New translations glossary.mdx (French)
benface Apr 29, 2023
cc47141
New translations glossary.mdx (Spanish)
benface Apr 29, 2023
0531378
New translations glossary.mdx (Arabic)
benface Apr 29, 2023
9788533
New translations glossary.mdx (German)
benface Apr 29, 2023
ad4bfce
New translations glossary.mdx (Italian)
benface Apr 29, 2023
6e9c0c8
New translations glossary.mdx (Japanese)
benface Apr 29, 2023
8007338
New translations glossary.mdx (Korean)
benface Apr 29, 2023
a4007ad
New translations glossary.mdx (Dutch)
benface Apr 29, 2023
dbdbaf0
New translations glossary.mdx (Polish)
benface Apr 29, 2023
cfba8fe
New translations glossary.mdx (Portuguese)
benface Apr 29, 2023
6e5b4a9
New translations glossary.mdx (Russian)
benface Apr 29, 2023
b3033c5
New translations glossary.mdx (Swedish)
benface Apr 29, 2023
e41df11
New translations glossary.mdx (Turkish)
benface Apr 29, 2023
78634c5
New translations glossary.mdx (Ukrainian)
benface Apr 29, 2023
6382b64
New translations glossary.mdx (Chinese Simplified)
benface Apr 29, 2023
7a97a24
New translations glossary.mdx (Urdu (Pakistan))
benface Apr 29, 2023
e6abe0c
New translations glossary.mdx (Vietnamese)
benface Apr 29, 2023
710ee35
New translations glossary.mdx (Marathi)
benface Apr 29, 2023
3ede1c1
New translations glossary.mdx (Hindi)
benface Apr 29, 2023
2341fc7
New translations creating-a-subgraph.mdx (Urdu (Pakistan))
benface Apr 30, 2023
255ff72
New translations publishing-a-subgraph.mdx (Japanese)
benface Apr 30, 2023
13e5405
New translations graphql-api.mdx (Urdu (Pakistan))
benface Apr 30, 2023
5ef4a3e
New translations tokenomics.mdx (Japanese)
benface Apr 30, 2023
93af655
New translations operating-graph-node.mdx (Japanese)
benface Apr 30, 2023
ba292bd
New translations graphql-validations-migration-guide.mdx (Japanese)
benface Apr 30, 2023
770afc3
New translations near.mdx (Russian)
benface May 1, 2023
216db7a
New translations creating-a-subgraph.mdx (Spanish)
benface May 1, 2023
54cf41b
New translations explorer.mdx (Chinese Simplified)
benface May 1, 2023
b2ec0bb
New translations graphql-api.mdx (Spanish)
benface May 1, 2023
44323d0
New translations graphql-api.mdx (Portuguese)
benface May 1, 2023
caf9888
New translations graphql-api.mdx (Chinese Simplified)
benface May 1, 2023
b0dc5ec
New translations operating-graph-node.mdx (Portuguese)
benface May 1, 2023
ab283de
New translations tokenomics.mdx (Russian)
benface May 1, 2023
3452597
New translations quick-start.mdx (Chinese Simplified)
benface May 2, 2023
d7f3909
New translations deprecating-a-subgraph.mdx (Chinese Simplified)
benface May 2, 2023
c802a54
New translations benefits.mdx (Chinese Simplified)
benface May 2, 2023
f40e8af
New translations base-testnet.mdx (Chinese Simplified)
benface May 2, 2023
63cc750
New translations tokenomics.mdx (Russian)
benface May 2, 2023
df5873d
New translations [[...slug]].mdx (French)
benface May 2, 2023
55813df
New translations [[...slug]].mdx (Spanish)
benface May 2, 2023
e35e467
New translations [[...slug]].mdx (Arabic)
benface May 2, 2023
05fe282
New translations [[...slug]].mdx (German)
benface May 2, 2023
4ab37ff
New translations [[...slug]].mdx (Italian)
benface May 2, 2023
7da3522
New translations [[...slug]].mdx (Japanese)
benface May 2, 2023
a75f6f8
New translations [[...slug]].mdx (Korean)
benface May 2, 2023
d6a286a
New translations [[...slug]].mdx (Dutch)
benface May 2, 2023
179033e
New translations [[...slug]].mdx (Polish)
benface May 2, 2023
07539dd
New translations [[...slug]].mdx (Portuguese)
benface May 2, 2023
20a7c67
New translations [[...slug]].mdx (Russian)
benface May 2, 2023
00e6a48
New translations [[...slug]].mdx (Swedish)
benface May 2, 2023
afb3bd2
New translations [[...slug]].mdx (Turkish)
benface May 2, 2023
3521aed
New translations [[...slug]].mdx (Ukrainian)
benface May 2, 2023
01fda9f
New translations [[...slug]].mdx (Chinese Simplified)
benface May 2, 2023
705d777
New translations [[...slug]].mdx (Urdu (Pakistan))
benface May 2, 2023
cc49a78
New translations [[...slug]].mdx (Vietnamese)
benface May 2, 2023
647b634
New translations [[...slug]].mdx (Marathi)
benface May 2, 2023
c301f09
New translations [[...slug]].mdx (Hindi)
benface May 2, 2023
28b17f1
New translations [[...slug]].mdx (French)
benface May 3, 2023
bbbb04f
New translations [[...slug]].mdx (Spanish)
benface May 3, 2023
e9643bd
New translations [[...slug]].mdx (Arabic)
benface May 3, 2023
ef52fa3
New translations [[...slug]].mdx (German)
benface May 3, 2023
85ec90f
New translations [[...slug]].mdx (Italian)
benface May 3, 2023
46ab02c
New translations [[...slug]].mdx (Japanese)
benface May 3, 2023
6534f91
New translations [[...slug]].mdx (Korean)
benface May 3, 2023
19968e2
New translations [[...slug]].mdx (Dutch)
benface May 3, 2023
f80fc69
New translations [[...slug]].mdx (Polish)
benface May 3, 2023
1d558e2
New translations [[...slug]].mdx (Portuguese)
benface May 3, 2023
2a5641d
New translations [[...slug]].mdx (Russian)
benface May 3, 2023
a17a520
New translations [[...slug]].mdx (Swedish)
benface May 3, 2023
81c39ca
New translations [[...slug]].mdx (Turkish)
benface May 3, 2023
7cd126d
New translations [[...slug]].mdx (Ukrainian)
benface May 3, 2023
4e8ae4e
New translations [[...slug]].mdx (Chinese Simplified)
benface May 3, 2023
bdc7a40
New translations [[...slug]].mdx (Urdu (Pakistan))
benface May 3, 2023
60184b9
New translations [[...slug]].mdx (Vietnamese)
benface May 3, 2023
bb14d15
New translations [[...slug]].mdx (Marathi)
benface May 3, 2023
bffa5b1
New translations [[...slug]].mdx (Hindi)
benface May 3, 2023
f2ccccb
New translations subgraph-debug-forking.mdx (Hindi)
benface May 5, 2023
da925ab
New translations deploying-a-subgraph-to-hosted.mdx (Hindi)
benface May 5, 2023
4712773
New translations subgraph-studio.mdx (Hindi)
benface May 5, 2023
93ec200
New translations assemblyscript-api.mdx (Hindi)
benface May 5, 2023
b57c011
New translations creating-a-subgraph.mdx (Hindi)
benface May 5, 2023
b8efba5
New translations unit-testing-framework.mdx (Hindi)
benface May 5, 2023
5566e33
New translations delegating.mdx (Hindi)
benface May 5, 2023
95ace81
New translations indexing.mdx (Hindi)
benface May 5, 2023
f6f662a
New translations graphql-api.mdx (Hindi)
benface May 5, 2023
baaa9f7
New translations assemblyscript-migration-guide.mdx (Hindi)
benface May 5, 2023
cbc4e72
New translations benefits.mdx (Hindi)
benface May 5, 2023
1ff8391
New translations network-transition-faq.mdx (Hindi)
benface May 5, 2023
bc997de
New translations operating-graph-node.mdx (Hindi)
benface May 5, 2023
0be3568
New translations base-testnet.mdx (Hindi)
benface May 5, 2023
6e668eb
New translations mips-faqs.mdx (Hindi)
benface May 5, 2023
a2e91d6
New translations graphcast.mdx (Hindi)
benface May 5, 2023
40635f4
New translations graphql-validations-migration-guide.mdx (Hindi)
benface May 5, 2023
2dd3750
New translations cosmos.mdx (French)
benface May 5, 2023
ff02f0f
New translations cosmos.mdx (Spanish)
benface May 5, 2023
be97073
New translations cosmos.mdx (Arabic)
benface May 5, 2023
9e55e12
New translations cosmos.mdx (German)
benface May 5, 2023
acd0473
New translations cosmos.mdx (Italian)
benface May 5, 2023
98f8f3f
New translations cosmos.mdx (Japanese)
benface May 5, 2023
9b955b6
New translations cosmos.mdx (Korean)
benface May 5, 2023
277d1c8
New translations cosmos.mdx (Dutch)
benface May 5, 2023
6fa6e9f
New translations cosmos.mdx (Polish)
benface May 5, 2023
bdf6cab
New translations cosmos.mdx (Portuguese)
benface May 5, 2023
582140a
New translations cosmos.mdx (Russian)
benface May 5, 2023
b2eba62
New translations cosmos.mdx (Swedish)
benface May 5, 2023
f106467
New translations cosmos.mdx (Turkish)
benface May 5, 2023
e75dd29
New translations cosmos.mdx (Ukrainian)
benface May 5, 2023
39be739
New translations cosmos.mdx (Chinese Simplified)
benface May 5, 2023
396f5f5
New translations cosmos.mdx (Urdu (Pakistan))
benface May 5, 2023
392e77f
New translations cosmos.mdx (Vietnamese)
benface May 5, 2023
eb112b5
New translations cosmos.mdx (Marathi)
benface May 5, 2023
73913e3
New translations cosmos.mdx (Hindi)
benface May 5, 2023
c1fade3
New translations arweave.mdx (French)
benface May 5, 2023
f92c7cf
New translations arweave.mdx (Spanish)
benface May 5, 2023
b198b75
New translations arweave.mdx (Arabic)
benface May 5, 2023
7ab9a12
New translations arweave.mdx (German)
benface May 5, 2023
aef2f5a
New translations arweave.mdx (Italian)
benface May 5, 2023
96d8d46
New translations arweave.mdx (Japanese)
benface May 5, 2023
cc4f04b
New translations arweave.mdx (Korean)
benface May 5, 2023
2a7faed
New translations arweave.mdx (Dutch)
benface May 5, 2023
c9afe1e
New translations arweave.mdx (Polish)
benface May 5, 2023
262f46f
New translations arweave.mdx (Portuguese)
benface May 5, 2023
16862da
New translations arweave.mdx (Russian)
benface May 5, 2023
a8cf392
New translations arweave.mdx (Swedish)
benface May 5, 2023
fda6f3b
New translations arweave.mdx (Turkish)
benface May 5, 2023
76307d1
New translations arweave.mdx (Ukrainian)
benface May 5, 2023
57ed3ee
New translations arweave.mdx (Chinese Simplified)
benface May 5, 2023
1983bfb
New translations arweave.mdx (Urdu (Pakistan))
benface May 5, 2023
91493c6
New translations arweave.mdx (Vietnamese)
benface May 5, 2023
67bcce7
New translations arweave.mdx (Marathi)
benface May 5, 2023
8098726
New translations arweave.mdx (Hindi)
benface May 5, 2023
700ce97
New translations near.mdx (French)
benface May 5, 2023
1747c81
New translations near.mdx (Spanish)
benface May 5, 2023
77fbeda
New translations near.mdx (Arabic)
benface May 5, 2023
69f39fe
New translations near.mdx (German)
benface May 5, 2023
4e40ce6
New translations near.mdx (Italian)
benface May 5, 2023
bab0aad
New translations near.mdx (Japanese)
benface May 5, 2023
f1f6dbb
New translations near.mdx (Korean)
benface May 5, 2023
9a481ba
New translations near.mdx (Dutch)
benface May 5, 2023
5f38476
New translations near.mdx (Polish)
benface May 5, 2023
6aee13b
New translations near.mdx (Portuguese)
benface May 5, 2023
f6482e9
New translations near.mdx (Russian)
benface May 5, 2023
446dfdd
New translations near.mdx (Swedish)
benface May 5, 2023
eecded1
New translations near.mdx (Turkish)
benface May 5, 2023
862d09c
New translations near.mdx (Ukrainian)
benface May 5, 2023
66f6baf
New translations near.mdx (Chinese Simplified)
benface May 5, 2023
f45debd
New translations near.mdx (Urdu (Pakistan))
benface May 5, 2023
f3b0e2e
New translations near.mdx (Vietnamese)
benface May 5, 2023
f64dc6e
New translations near.mdx (Marathi)
benface May 5, 2023
0f79968
New translations near.mdx (Hindi)
benface May 5, 2023
6f6cedb
New translations subgraph-debug-forking.mdx (French)
benface May 5, 2023
e8e12eb
New translations subgraph-debug-forking.mdx (Spanish)
benface May 5, 2023
ac109d8
New translations subgraph-debug-forking.mdx (Arabic)
benface May 5, 2023
bd0d371
New translations subgraph-debug-forking.mdx (German)
benface May 5, 2023
2189640
New translations subgraph-debug-forking.mdx (Italian)
benface May 5, 2023
544919d
New translations subgraph-debug-forking.mdx (Japanese)
benface May 5, 2023
7c15ff3
New translations subgraph-debug-forking.mdx (Korean)
benface May 5, 2023
765b38b
New translations subgraph-debug-forking.mdx (Dutch)
benface May 5, 2023
3aa36fd
New translations subgraph-debug-forking.mdx (Polish)
benface May 5, 2023
a5a5afe
New translations subgraph-debug-forking.mdx (Portuguese)
benface May 5, 2023
c81c6cf
New translations subgraph-debug-forking.mdx (Russian)
benface May 5, 2023
1dffd8e
New translations subgraph-debug-forking.mdx (Swedish)
benface May 5, 2023
77f0b7c
New translations subgraph-debug-forking.mdx (Turkish)
benface May 5, 2023
a7c5e99
New translations subgraph-debug-forking.mdx (Ukrainian)
benface May 5, 2023
80e0773
New translations subgraph-debug-forking.mdx (Chinese Simplified)
benface May 5, 2023
b5ae79f
New translations subgraph-debug-forking.mdx (Urdu (Pakistan))
benface May 5, 2023
7bb26fb
New translations subgraph-debug-forking.mdx (Vietnamese)
benface May 5, 2023
c45b4c4
New translations subgraph-debug-forking.mdx (Marathi)
benface May 5, 2023
df302e5
New translations subgraph-debug-forking.mdx (Hindi)
benface May 5, 2023
dbd6b00
New translations creating-a-subgraph.mdx (French)
benface May 5, 2023
7276187
New translations creating-a-subgraph.mdx (Spanish)
benface May 5, 2023
7e48928
New translations creating-a-subgraph.mdx (Arabic)
benface May 5, 2023
9a4c2db
New translations creating-a-subgraph.mdx (German)
benface May 5, 2023
ad3740e
New translations creating-a-subgraph.mdx (Italian)
benface May 5, 2023
e50e118
New translations creating-a-subgraph.mdx (Japanese)
benface May 5, 2023
6398e54
New translations creating-a-subgraph.mdx (Korean)
benface May 5, 2023
6584d8e
New translations creating-a-subgraph.mdx (Dutch)
benface May 5, 2023
c98fcb9
New translations creating-a-subgraph.mdx (Polish)
benface May 5, 2023
0ac4592
New translations creating-a-subgraph.mdx (Portuguese)
benface May 5, 2023
a4f1a2a
New translations creating-a-subgraph.mdx (Russian)
benface May 5, 2023
7b0f9e0
New translations creating-a-subgraph.mdx (Swedish)
benface May 5, 2023
2311e3c
New translations creating-a-subgraph.mdx (Turkish)
benface May 5, 2023
1449865
New translations creating-a-subgraph.mdx (Ukrainian)
benface May 5, 2023
c261724
New translations creating-a-subgraph.mdx (Chinese Simplified)
benface May 5, 2023
641cecf
New translations creating-a-subgraph.mdx (Urdu (Pakistan))
benface May 5, 2023
afbfc54
New translations creating-a-subgraph.mdx (Vietnamese)
benface May 5, 2023
761c7f3
New translations creating-a-subgraph.mdx (Marathi)
benface May 5, 2023
354548b
New translations creating-a-subgraph.mdx (Hindi)
benface May 5, 2023
937e6e0
New translations quick-start.mdx (Spanish)
benface May 6, 2023
77084cd
New translations base-testnet.mdx (Spanish)
benface May 6, 2023
6274c72
New translations tokenomics.mdx (Russian)
benface May 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/pages/ar/cookbook/arweave.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ The GraphQL endpoint for Arweave subgraphs is determined by the schema definitio

Here is an example subgraph for reference:

- [Example subgraph for Arweave](https://github.com/graphprotocol/example-subgraphs/tree/main/arweave/blocks-transactions)
- [Example subgraph for Arweave](https://github.com/graphprotocol/graph-tooling/tree/main/examples/arweave-blocks-transactions)

## الأسئلة الشائعة

Expand Down
10 changes: 5 additions & 5 deletions website/pages/ar/cookbook/cosmos.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ You can find the full list of types for the Cosmos integration [here](https://gi

It's important to note that Cosmos messages are chain-specific and they are passed to a subgraph in the form of a serialized [Protocol Buffers](https://developers.google.com/protocol-buffers/) payload. As a result, the message data needs to be decoded in a mapping function before it can be processed.

An example of how to decode message data in a subgraph can be found [here](https://github.com/graphprotocol/example-subgraphs/blob/main/cosmos/validator-delegations/src/decoding.ts).
An example of how to decode message data in a subgraph can be found [here](https://github.com/graphprotocol/graph-tooling/blob/main/examples/cosmos-validator-delegations/src/decoding.ts).

## Creating and building a Cosmos subgraph

Expand Down Expand Up @@ -250,10 +250,10 @@ Osmosis mainnet is `osmosis-1`. Osmosis current testnet is `osmo-test-4`.

فيما يلي بعض الأمثلة على الـ subgraphs للرجوع إليها:

[Block Filtering Example](https://github.com/graphprotocol/example-subgraphs/tree/main/cosmos/block-filtering)
[Block Filtering Example](https://github.com/graphprotocol/graph-tooling/tree/main/examples/cosmos-block-filtering)

[Validator Rewards Example](https://github.com/graphprotocol/example-subgraphs/tree/main/cosmos/validator-rewards)
[Validator Rewards Example](https://github.com/graphprotocol/graph-tooling/tree/main/examples/cosmos-validator-rewards)

[Validator Delegations Example](https://github.com/graphprotocol/example-subgraphs/tree/main/cosmos/validator-delegations)
[Validator Delegations Example](https://github.com/graphprotocol/graph-tooling/tree/main/examples/cosmos-validator-delegations)

[Osmosis Token Swaps Example](https://github.com/graphprotocol/example-subgraphs/tree/main/cosmos/osmosis-token-swaps)
[Osmosis Token Swaps Example](https://github.com/graphprotocol/graph-tooling/tree/main/examples/cosmos-osmosis-token-swaps)
12 changes: 6 additions & 6 deletions website/pages/ar/cookbook/near.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ title: بناء Subgraphs على NEAR

`graphprotocol/graph-ts@` هي مكتبة لأنواع خاصة بـ subgraph.

تطوير NEAR subgraph يتطلب `graph-cli` بإصدار أعلى من `0.23.0` و `graph-ts` بإصدار أعلى من `0.23.0`.
تطوير NEAR subgraph يتطلب `graph-cli` بإصدار أعلى من ` 0.23.0 ` و `graph-ts` بإصدار أعلى من ` 0.23.0 `.

> Building a NEAR subgraph is very similar to building a subgraph that indexes Ethereum.

هناك ثلاثة جوانب لتعريف الـ subgraph:

**subgraph.yaml:** الـ subgraph manifest ، وتحديد مصادر البيانات ذات الأهمية ، وكيف يجب أن تتم معالجتها.علما أن NEAR هو `نوع` جديد لمصدر البيانات.
**subgraph.yaml:** الـ subgraph manifest ، وتحديد مصادر البيانات ذات الأهمية ، وكيف يجب أن تتم معالجتها.علما أن NEAR هو ` نوع ` جديد لمصدر البيانات.

**schema.graphql:** a schema file that defines what data is stored for your subgraph, and how to query it via GraphQL. The requirements for NEAR subgraphs are covered by [the existing documentation](/developing/creating-a-subgraph#the-graphql-schema).

Expand Down Expand Up @@ -73,7 +73,7 @@ dataSources:
```

- NEAR subgraphs يقدم `نوعا ` جديدا من مصدر بيانات (`near`)
- يجب أن يتوافق الـ `network` مع شبكة على Graph Node المضيفة. في الخدمة المستضافة ، الشبكة الرئيسية لـ NEAR هي `near-mainnet` ، وشبكة NEAR's testnet هي `near-testnet`
- يجب أن يتوافق الـ `network` مع شبكة على Graph Node المضيفة. في الخدمة المستضافة ، الشبكة الرئيسية لـ NEAR هي ` near-mainnet ` ، وشبكة NEAR's testnet هي ` near-testnet `
- NEAR data sources introduce an optional `source.account` field, which is a human-readable ID corresponding to a [NEAR account](https://docs.near.org/docs/concepts/account). This can be an account or a sub-account.
- NEAR data sources introduce an alternative optional `source.accounts` field, which contains optional suffixes and prefixes. At least prefix or suffix must be specified, they will match the any account starting or ending with the list of values respectively. The example below would match: `[app|good].*[morning.near|morning.testnet]`. If only a list of prefixes or suffixes is necessary the other field can be omitted.

Expand Down Expand Up @@ -165,7 +165,7 @@ class ReceiptWithOutcome {
These types are passed to block & receipt handlers:

- معالجات الكتلة ستتلقى`Block`
- معالجات الاستلام ستتلقى`ReceiptWithOutcome`
- معالجات الاستلام ستتلقى` ReceiptWithOutcome `

Otherwise, the rest of the [AssemblyScript API](/developing/assemblyscript-api) is available to NEAR subgraph developers during mapping execution.

Expand Down Expand Up @@ -235,9 +235,9 @@ The GraphQL endpoint for NEAR subgraphs is determined by the schema definition,

فيما يلي بعض الأمثلة على الـ subgraphs للرجوع إليها:

[NEAR Blocks](https://github.com/graphprotocol/example-subgraphs/tree/main/near/blocks-example)
[NEAR Blocks](https://github.com/graphprotocol/graph-tooling/tree/main/examples/near-blocks)

[NEAR Receipts](https://github.com/graphprotocol/example-subgraphs/tree/main/near/receipts-example)
[NEAR Receipts](https://github.com/graphprotocol/graph-tooling/tree/main/examples/near-receipts)

## الأسئلة الشائعة

Expand Down
10 changes: 5 additions & 5 deletions website/pages/ar/cookbook/subgraph-debug-forking.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ title: Quick and Easy Subgraph Debugging Using Forks

عندما تنشر subgraph إلى Graph node بعيدة للقيام بالفهرسة ويفشل عند الكتلة _ X _ ، فإن الخبر الجيد هو أن Graph node ستظل تقدم استعلامات GraphQL باستخدام مخزنها(store)، والذي تمت مزامنته للكتلة(block) _ X _. هذا عظيم! هذا يعني أنه يمكننا الاستفادة من هذا المخزن "المحدث" لإصلاح الأخطاء التي تظهر عند فهرسة الكتلة _ X _.

باختصار ، سنقوم _ بتفريع (fork) الـ subgraph الفاشل _ من Graph node بعيدة والتي تضمن فهرسة الـ subgraph للكتلة _ X _ وذلك من أجل توفير الـ subgraph المنشور محليًا والذي يتم تصحيحه عندالكتلة*X* مع عرض محدث لحالة الفهرسة.
باختصار ، سنقوم _ بتفريع (fork) الـ subgraph الفاشل _ من Graph node بعيدة والتي تضمن فهرسة الـ subgraph للكتلة * X * وذلك من أجل توفير الـ subgraph المنشور محليًا والذي يتم تصحيحه عندالكتلة_X_ مع عرض محدث لحالة الفهرسة.

## من فضلك ، أرني بعض الأكواد!

To stay focused on subgraph debugging, let's keep things simple and run along with the [example-subgraph](https://github.com/graphprotocol/example-subgraphs/tree/main/ethereum/gravatar) indexing the Ethereum Gravity smart contract.
To stay focused on subgraph debugging, let's keep things simple and run along with the [example-subgraph](https://github.com/graphprotocol/graph-tooling/tree/main/examples/ethereum-gravatar) indexing the Ethereum Gravity smart contract.

فيما يلي المعالجات المعرفة لفهرسة `Gravatar` ، بدون أخطاء على الإطلاق:

Expand Down Expand Up @@ -69,14 +69,14 @@ Oops, how unfortunate, when I deploy my perfect looking subgraph to the [Hosted

وأنا أجيب:

1. `fork-base` هو عنوان URL "الأساسي" ،فمثلا عند إلحاق _subgraph id_ ، يكون عنوان URL الناتج (`<fork-base>/<subgraph-id>`) هو GraphQL endpoint صالح لمخزن الـ subgraph.
1. ` fork-base ` هو عنوان URL "الأساسي" ،فمثلا عند إلحاق _subgraph id_ ، يكون عنوان URL الناتج (`<fork-base>/<subgraph-id>`) هو GraphQL endpoint صالح لمخزن الـ subgraph.
2. الـتفريع سهل ، فلا داعي للقلق:

```bash
$ graph deploy <subgraph-name> --debug-fork <subgraph-id> --ipfs http://localhost:5001 --node http://localhost:8020
```

أيضًا ، لا تنس تعيين حقل `dataSources.source.startBlock` في subgraph manifest لرقم الكتلة(block) التي بها المشكلة، حتى تتمكن من تخطي فهرسة الكتل الغير ضرورية والاستفادة من التفريع!
أيضًا ، لا تنس تعيين حقل ` dataSources.source.startBlock ` في subgraph manifest لرقم الكتلة(block) التي بها المشكلة، حتى تتمكن من تخطي فهرسة الكتل الغير ضرورية والاستفادة من التفريع!

لذلك ، هذا ما أفعله:

Expand All @@ -90,7 +90,7 @@ $ cargo run -p graph-node --release -- \
--fork-base https://api.thegraph.com/subgraphs/id/
```

1. بعد فحص دقيق ، لاحظت أن هناك عدم تطابق في تمثيلات الـ `id` المستخدمة عند فهرسة `Gravatar` في المعالجين الخاصين بي. بينما `handleNewGravatar` يحول (`event.params.id.toHex()`) إلى سداسي ، `handleUpdatedGravatar` يستخدم int32 (`event.params.id.toI32()`) مما يجعل `handleUpdatedGravatar` قلقا من "Gravatar not found!". أنا أجعلهم كلاهما يحولان `id` إلى سداسي.
1. بعد فحص دقيق ، لاحظت أن هناك عدم تطابق في تمثيلات الـ ` id ` المستخدمة عند فهرسة ` Gravatar ` في المعالجين الخاصين بي. بينما ` handleNewGravatar ` يحول (`event.params.id.toHex()`) إلى سداسي ، `handleUpdatedGravatar` يستخدم int32 (`event.params.id.toI32()`) مما يجعل ` handleUpdatedGravatar ` قلقا من "Gravatar not found!". أنا أجعلهم كلاهما يحولان ` id ` إلى سداسي.
2. بعد إجراء التغييرات ، قمت بنشر الـ subgraph الخاص بي على Graph node المحلية **_وتفريع الـsubgraph الفاشل_** وضبط `dataSources.source.startBlock` إلى `6190343` في `subgraph.yaml`:

```bash
Expand Down
22 changes: 11 additions & 11 deletions website/pages/ar/developing/creating-a-subgraph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Subgraph manifest `subgraph.yaml` تحدد العقود الذكية لفهار
```yaml
specVersion: 0.0.4
description: Gravatar for Ethereum
repository: https://github.com/graphprotocol/example-subgraphs
repository: https://github.com/graphprotocol/graph-tooling
schema:
file: ./schema.graphql
dataSources:
Expand Down Expand Up @@ -236,14 +236,14 @@ For some entity types the `id` is constructed from the id's of two other entitie

We support the following scalars in our GraphQL API:

| النوع | الوصف |
| --- | --- |
| `Bytes` | مصفوفة Byte ، ممثلة كسلسلة سداسية عشرية. يشيع استخدامها في Ethereum hashes وعناوينه. |
| `String` | Scalar for `string` values. Null characters are not supported and are automatically removed. |
| `Boolean` | Scalar for `boolean` values. |
| `Int` | The GraphQL spec defines `Int` to have a size of 32 bytes. |
| `BigInt` | Large integers. Used for Ethereum's `uint32`, `int64`, `uint64`, ..., `uint256` types. Note: Everything below `uint32`, such as `int32`, `uint24` or `int8` is represented as `i32`. |
| `BigDecimal` | `BigDecimal` High precision decimals represented as a significand and an exponent. The exponent range is from −6143 to +6144. Rounded to 34 significant digits. |
| النوع | الوصف |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Bytes` | مصفوفة Byte ، ممثلة كسلسلة سداسية عشرية. يشيع استخدامها في Ethereum hashes وعناوينه. |
| `String` | Scalar for `string` values. Null characters are not supported and are automatically removed. |
| `Boolean` | Scalar for `boolean` values. |
| `Int` | The GraphQL spec defines `Int` to have a size of 32 bytes. |
| `BigInt` | Large integers. Used for Ethereum's `uint32`, `int64`, `uint64`, ..., `uint256` types. Note: Everything below `uint32`, such as `int32`, `uint24` or `int8` is represented as `i32`. |
| `BigDecimal` | `BigDecimal` High precision decimals represented as a significand and an exponent. The exponent range is from −6143 to +6144. Rounded to 34 significant digits. |

#### Enums

Expand Down Expand Up @@ -646,7 +646,7 @@ export function handleNewExchange(event: NewExchange): void {
```

> **ملاحظة:** مصدر البيانات الجديد سيعالج فقط الاستدعاءات والأحداث للكتلة التي تم إنشاؤها فيه وجميع الكتل التالية ، ولكنه لن يعالج البيانات التاريخية ، أي البيانات الموجودة في الكتل السابقة.
>
>
> إذا كانت الكتل السابقة تحتوي على بيانات ذات صلة بمصدر البيانات الجديد ، فمن الأفضل فهرسة تلك البيانات من خلال قراءة الحالة الحالية للعقد وإنشاء كيانات تمثل تلك الحالة في وقت إنشاء مصدر البيانات الجديد.

### سياق مصدر البيانات
Expand Down Expand Up @@ -703,7 +703,7 @@ dataSources:
```

> **ملاحظة:** يمكن البحث عن كتلة إنشاء العقد بسرعة على Etherscan:
>
>
> 1. ابحث عن العقد بإدخال عنوانه في شريط البحث.
> 2. انقر فوق hash إجراء الإنشاء في قسم `Contract Creator`.
> 3. قم بتحميل صفحة تفاصيل الإجراء(transaction) حيث ستجد كتلة البدء لذلك العقد.
Expand Down
2 changes: 2 additions & 0 deletions website/pages/ar/glossary.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ title: Glossary

- **GraphQL**: A query language for APIs and a runtime for fulfilling those queries with your existing data. The Graph uses GraphQL to query subgraphs.

- **Endpoint**: A URL that can be used to query a subgraph. The testing endpoint for Subgraph Studio is `https://api.studio.thegraph.com/query/<ID>/<SUBGRAPH_NAME>/<VERSION>` and the Graph Explorer endpoint is `https://gateway.thegraph.com/api/<API_KEY>/subgraphs/id/<SUBGRAPH_ID>`. The Graph Explorer endpoint is used to query subgraphs on The Graph's decentralized network.

- **Subgraph**: A custom API built on blockchain data that can be queried using [GraphQL](https://graphql.org/). Developers can build, deploy and publish subgraphs to The Graph's decentralized network. Then, Indexers can begin indexing subgraphs to make them available to be queried by subgraph consumers.

- **Hosted Service**: A temporary scaffold service for building and querying subgraphs as The Graph's decentralized network is maturing its cost of service, quality of service, and developer experience.
Expand Down
2 changes: 1 addition & 1 deletion website/pages/ar/network/explorer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ If you want to learn more about the Curator role, you can do so by visiting the
- كمية ال GRT التي يمتلكونها حاليا في البروتوكول
- تاريخ آخر تفويض لهم

If you want to learn more about how to become a Delegator, look no further! All you have to do is to head over to the [official documentation](/network/delegating) or [The Graph Academy](https://docs.thegraph.academy/network/delegators).
If you want to learn more about how to become a Delegator, look no further! All you have to do is to head over to the [official documentation](/network/delegating) or [The Graph Academy](https://docs.thegraph.academy/official-docs/delegator/choosing-indexers).

## Network

Expand Down
66 changes: 66 additions & 0 deletions website/pages/ar/substreams/[[...slug]].mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
import { visit } from 'unist-util-visit'
import { RemoteContent } from 'nextra/data'
import { buildDynamicMDX } from 'nextra/remote'
import { listFiles } from './_meta.js'
import { getPageMap } from '@/components/get-page-map'

export async function getStaticPaths() {
const files = await listFiles()
return {
fallback: false,
paths: files.map((filePath) => ({
params: {
slug: filePath.replace(/\.mdx?/, '').split('/'),
},
})),
}
}
export async function getStaticProps({ params: { slug = ['README'] } }) {
const baseURL = 'https://raw.githubusercontent.com/streamingfast/substreams/develop/docs/'
const paths = slug.join('/')
let response = await fetch(`${baseURL}${paths}.md`)
if (response.status === 404 && paths !== 'README') {
response = await fetch(`${baseURL}${paths}/README.md`)
}
const data = await response.text()
const mdx = await buildDynamicMDX(data, {
mdxOptions: {
format: 'md',
remarkPlugins: [
() => (tree, _file, done) => {
const GITBOOK_CALLOUT_REGEX = /{%.*?%}/
visit(tree, 'paragraph', (node) => {
for (const child of node.children) {
if (child.value) {
child.value = child.value.replace(GITBOOK_CALLOUT_REGEX, '')
}
}
})
visit(tree, 'link', (node) => {
if (node.url.startsWith('./')) {
node.url = node.url.slice(2)
}
if (node.url.startsWith('/')) {
// (foo)[/foo/bar]
node.url = node.url.replace('/', '/substreams/')
} else if (!node.url.includes('/') && node.url.endsWith('.md')) {
// (foo)[foo.md]
node.url = [...slug.slice(0, -1), node.url].join('/')
}
})
done()
},
],
},
codeHighlight: false,
})
return {
props: {
...mdx,
__nextra_pageMap: await getPageMap('en'),
hideLocaleSwitcher: true,
},
}
}

<RemoteContent />
2 changes: 1 addition & 1 deletion website/pages/de/cookbook/arweave.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ The GraphQL endpoint for Arweave subgraphs is determined by the schema definitio

Here is an example subgraph for reference:

- [Example subgraph for Arweave](https://github.com/graphprotocol/example-subgraphs/tree/main/arweave/blocks-transactions)
- [Example subgraph for Arweave](https://github.com/graphprotocol/graph-tooling/tree/main/examples/arweave-blocks-transactions)

## FAQ

Expand Down
Loading