Difference between revisions of "The Graph"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[wikipedia:The Graph]] is a decentralized [[indexing protocol]] for querying data from blockchains and networks. Through the use of [[subgraphs]] (open API's) indexers make data available for subgraph customers.
+
[[wikipedia:The Graph]] is a decentralized [[indexing protocol]] for querying data from blockchains and networks. Through the use of [[subgraphs]] (open API's) indexers make data available for [[subgraph]] customers.
 
* https://thegraph.com/en/
 
* https://thegraph.com/en/
 +
* https://github.com/graphprotocol
 +
* <code>[[graphprotocol/graph-node]]</code>
 +
* <code>[[yarn global add @graphprotocol/graph-cli]]</code>
  
  
 
As of December 2022, there were 618 active [[subgraphs]] on the mainnet, up 25% from the 3rd quarter and 292 active indexers up 33%. The number of staked tokens was 2.9 billion [[GRT]] staked which represents ~39% of the circulating supply. Revenue for the 4th quarter from usage fees and indexing rewards was ~79 million GRT.
 
As of December 2022, there were 618 active [[subgraphs]] on the mainnet, up 25% from the 3rd quarter and 292 active indexers up 33%. The number of staked tokens was 2.9 billion [[GRT]] staked which represents ~39% of the circulating supply. Revenue for the 4th quarter from usage fees and indexing rewards was ~79 million GRT.
  
* Installation: <code>[[yarn global add @graphprotocol/graph-cli]]</code>
+
* Installation:
 +
** CLI: <code>[[yarn global add @graphprotocol/graph-cli]]</code>
  
  
  [[cargo run]] -p [[graph-node]] --release -- \
+
  [[cargo run -p graph-node]] --release -- \
 
  --postgres-url postgresql://postgres:yourPassword@localhost:5432/graph-node \
 
  --postgres-url postgresql://postgres:yourPassword@localhost:5432/graph-node \
 
  [[--ethereum-rpc]] [[fuji]]:[https://api.avax-test.network/ext/bc/C/rpc](https://api.avax-test.network[[/ext/bc/C/rpc]]) \
 
  [[--ethereum-rpc]] [[fuji]]:[https://api.avax-test.network/ext/bc/C/rpc](https://api.avax-test.network[[/ext/bc/C/rpc]]) \
  --ipfs https://ipfs.network.thegraph.com
+
  [[--ipfs]] https://ipfs.network.thegraph.com
  
 
== Related ==
 
== Related ==
Line 19: Line 23:
 
* [[InterPlanetary File System (IPFS)]]
 
* [[InterPlanetary File System (IPFS)]]
 
* [[EIP-1898]]
 
* [[EIP-1898]]
* [[Docker Hub: graphprotocol/graph-node]]
+
* [[Docker Hub]]: <code>[[Docker Hub: graphprotocol/graph-node|graphprotocol/graph-node]]</code>
 +
* [[Graph Protocol]]
  
 
== See also ==
 
== See also ==

Latest revision as of 12:47, 20 July 2023

wikipedia:The Graph is a decentralized indexing protocol for querying data from blockchains and networks. Through the use of subgraphs (open API's) indexers make data available for subgraph customers.


As of December 2022, there were 618 active subgraphs on the mainnet, up 25% from the 3rd quarter and 292 active indexers up 33%. The number of staked tokens was 2.9 billion GRT staked which represents ~39% of the circulating supply. Revenue for the 4th quarter from usage fees and indexing rewards was ~79 million GRT.


cargo run -p graph-node --release -- \
--postgres-url postgresql://postgres:yourPassword@localhost:5432/graph-node \
--ethereum-rpc fuji:[1](https://api.avax-test.network/ext/bc/C/rpc) \
--ipfs https://ipfs.network.thegraph.com

Related[edit]

See also[edit]

Advertising: