TheGraph:多个区块链的一个图节点?

问题描述

来自 TheGraph

graph-node 可以从区块链获取数据。

来自https://github.com/graphprotocol/graph-node/blob/master/docs/getting-started.md

cargo run -p graph-node --release -- \
  --postgres-url postgresql://<USERNAME><:PASSWORD>@localhost:5432/<POSTGRES_DB_NAME> \
  --ethereum-rpc <ETHEREUM_NETWORK_NAME>:https://mainnet.infura.io \
  --ipfs 127.0.0.1:5001 \
  --debug

所以用 --ethereum-rpc mainnet:https://mainnet.infura.io 运行

但是如何将一个 graph-node 连接到多个区块链,例如一个以太坊主网和一个以太坊测试网?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)