3

uniswap中那个地方会用到这个subgraph呢?

 3 years ago
source link: https://learnblockchain.cn/question/1765
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
uniswap中那个地方会用到这个subgraph呢? | 登链社区 | 技术问答

uniswap中那个地方会用到这个subgraph呢?

我看到其他复制 uniswap 的项目也都复制了这个 subgraphuniswap-sdk,我自己部署的时候也没改这部分也是可以运行的,uniswap 中那个地方用到这个 subgraph 呢?那如果我想把 uniswap 复制到火币的 heco 公链或者币安智能链上需要改动那些地方呢?谢谢

xixi 2021-01-14 09:13

The subgraph provides a snapshot of the current state of Uniswap and also tracks historical data. It is currently used to power uniswap.info. It is not intended to be used as a data source for structuring transactions (contracts should be referenced directly for the most reliable live data).

我查的 uniswap 的官方的文档是 subgraph 只用于 uniswap.info ,那意思是我不用 uniswap.info 的话,在其他公链上就可以不用部署 subgraph 了吗?

  • 2021-01-14 14:35

谢谢 还有一个问题就是这样的话如果我想在火币的heco链上部署uniswap的话,需要改动那些地方啊?

  • 2021-01-14 16:45

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK