Skip to content

Commit

Permalink
Merge pull request #63 from originalworks/introduce-ow-registry-subgraph
Browse files Browse the repository at this point in the history
Introduce ow registry subgraph
  • Loading branch information
cezary-stroczynski authored Oct 7, 2024
2 parents 65db6e7 + 129bd99 commit 3c5fb38
Show file tree
Hide file tree
Showing 9 changed files with 6,344 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docker/graph-node-config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[store]
[store.primary]
connection = "postgresql://graph-node:let-me-in@postgres-graph/graph-node"
pool_size = 10


[chains]
ingestor = "block_ingestor_node"
[chains.kurtosis]
shard = "primary"
provider = [
{ label = "kurtosis", url = "http://172.17.0.1:32769", features = [
] },
]


[deployment]
[[deployment.rule]]
indexers = ["index_node_0"]
36 changes: 36 additions & 0 deletions docker/run-local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
services:
ipfs:
image: ipfs/kubo:latest
ports:
- "5001:5001"

graph-node:
image: graphprotocol/graph-node:v0.33.0
ports:
- "8000:8000"
- "8001:8001"
- "8020:8020"
- "8030:8030"
- "8040:8040"
depends_on:
- ipfs
- postgres-graph
environment:
node_id: index_node_0
ipfs: "ipfs:5001"
GRAPH_NODE_CONFIG: /etc/graph-node/graph-node-config.toml
RUST_LOG: info
GRAPH_LOG: debug
RUST_LOG_STYLE: always
GRAPH_ALLOW_NON_DETERMINISTIC_IPFS: 1
volumes:
- .:/etc/graph-node:ro

postgres-graph:
image: postgres
command: ["postgres", "-cshared_preload_libraries=pg_stat_statements"]
environment:
POSTGRES_USER: graph-node
POSTGRES_PASSWORD: let-me-in
POSTGRES_DB: graph-node
POSTGRES_INITDB_ARGS: "-E UTF8 --locale=C"
3 changes: 3 additions & 0 deletions ow-registry-subgraph/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/node_modules/
/build/
/src/types/
251 changes: 251 additions & 0 deletions ow-registry-subgraph/abis/DdexSequencer.json

Large diffs are not rendered by default.

Loading

0 comments on commit 3c5fb38

Please sign in to comment.